| GET,OPTIONS | /v1/routeplan/crews |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class RoutePlanCrewsRequest
{
}
open class RoutePlanCrewsResponse
{
open var Crews:ArrayList<RoutePlanCrew> = ArrayList<RoutePlanCrew>()
open var ResponseStatus:ResponseStatus? = null
}
open class RoutePlanCrew
{
open var CrewID:Int? = null
open var CrewName:String? = null
open var CrewColor:String? = null
open var HomeZip:String? = null
open var YardLat:Double? = null
open var YardLng:Double? = null
open var DailyCapacityMin:Int? = null
open var WeeklyCapacityMin:Int? = null
open var Specialist:Boolean? = null
}
Kotlin RoutePlanCrewsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/routeplan/crews HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Crews":[{"CrewID":0,"CrewName":"String","CrewColor":"String","HomeZip":"String","YardLat":0,"YardLng":0,"DailyCapacityMin":0,"WeeklyCapacityMin":0,"Specialist":false}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}