| GET,OPTIONS | /v1/routeplan/propertybook |
|---|
import Foundation
import ServiceStack
public class RoutePlanPropertyBookRequest : Codable
{
required public init(){}
}
public class RoutePlanPropertyBookResponse : Codable
{
public var rows:[RoutePlanPropertyRow] = []
public var responseStatus:ResponseStatus
required public init(){}
}
public class RoutePlanPropertyRow : Codable
{
public var agreementID:Int
public var name:String
public var zip:String
public var area:String
public var durationMin:Int
public var frequency:String
public var serviceType:String
public var acreage:String
public var dow:Int
required public init(){}
}
Swift RoutePlanPropertyBookRequest 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/propertybook HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}}}