| POST | /{Workspace}/TsList |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Field2Office.API.Model.TimeSeries
Namespace Global
Namespace Field2Office.API.Model.TimeSeries
'''<Summary>
'''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
'''</Summary>
Public Partial Class TsList
Public Sub New()
Items = New List(Of String)
End Sub
Public Overridable Property Workspace As String
Public Overridable Property Items As List(Of String)
Public Overridable Property Start As String
Public Overridable Property [End] As String
Public Overridable Property ModifiedSince As String
Public Overridable Property SeriesType As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}