Field Squared API Services

<back to all web services

AppendRouteRequest

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


open class AppendRouteRequest
{
    var Workspace:String? = null
    var UserId:String? = null
    var Date:String? = null
    var TaskIds:ArrayList<String> = ArrayList<String>()
    var StartTime:Int? = null
    var RoundStartTimes:Int? = null
    var TransitionTime:Int? = null
    var DebugRequestTime:String? = null
}

Kotlin AppendRouteRequest DTOs

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

HTTP + CSV

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

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

{"Workspace":"String","UserId":"String","Date":"String","TaskIds":["String"],"StartTime":0,"RoundStartTimes":0,"TransitionTime":0,"DebugRequestTime":"String"}