Field Squared API Services

<back to all web services

TsList

Returns a list of all time series objects based on an input set of owning id's and other input parameters.
Start, End and ModifiedSince properties all use the UTC date time format = YYYY-MM-DDTHH:MM:SSZ

The following routes are available for this service:
POST/{Workspace}/TsList
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    /**
    * Returns a list of all time series objects based on an input set of owning id's and other input parameters. Start, End and ModifiedSince properties all use the UTC date time format = YYYY-MM-DDTHH:MM:SSZ 
    */
    public static class TsList
    {
        public String Workspace = null;
        public ArrayList<String> Items = null;
        public String Start = null;
        public String End = null;
        public String ModifiedSince = null;
        public String SeriesType = null;
        
        public String getWorkspace() { return Workspace; }
        public TsList setWorkspace(String value) { this.Workspace = value; return this; }
        public ArrayList<String> getItems() { return Items; }
        public TsList setItems(ArrayList<String> value) { this.Items = value; return this; }
        public String getStart() { return Start; }
        public TsList setStart(String value) { this.Start = value; return this; }
        public String getEnd() { return End; }
        public TsList setEnd(String value) { this.End = value; return this; }
        public String getModifiedSince() { return ModifiedSince; }
        public TsList setModifiedSince(String value) { this.ModifiedSince = value; return this; }
        public String getSeriesType() { return SeriesType; }
        public TsList setSeriesType(String value) { this.SeriesType = value; return this; }
    }

}

Java TsList DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /{Workspace}/TsList HTTP/1.1 
Host: dev.fieldsquared.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Workspace: String,
	Items: 
	[
		String
	],
	Start: String,
	End: String,
	ModifiedSince: String,
	SeriesType: String
}