| GET,OPTIONS | /v1/routeplan/propertybook |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class RoutePlanPropertyBookRequest
{
}
open class RoutePlanPropertyBookResponse
{
open var Rows:ArrayList<RoutePlanPropertyRow> = ArrayList<RoutePlanPropertyRow>()
open var ResponseStatus:ResponseStatus? = null
}
open class RoutePlanPropertyRow
{
open var AgreementID:Int? = null
open var Name:String? = null
open var Zip:String? = null
open var Area:String? = null
open var DurationMin:Int? = null
open var Frequency:String? = null
open var ServiceType:String? = null
open var Acreage:String? = null
open var Dow:Int? = null
}
Kotlin RoutePlanPropertyBookRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/routeplan/propertybook HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Rows":[{"AgreementID":0,"Name":"String","Zip":"String","Area":"String","DurationMin":0,"Frequency":"String","ServiceType":"String","Acreage":"String","Dow":0}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}