| GET,OPTIONS | /v1/routeplan/propertybook |
|---|
export class RoutePlanPropertyRow
{
public AgreementID: number;
public Name: string;
public Zip: string;
public Area: string;
public DurationMin: number;
public Frequency: string;
public ServiceType: string;
public Acreage: string;
public Dow: number;
public constructor(init?: Partial<RoutePlanPropertyRow>) { (Object as any).assign(this, init); }
}
export class RoutePlanPropertyBookResponse
{
public Rows: RoutePlanPropertyRow[] = [];
public ResponseStatus: ResponseStatus;
public constructor(init?: Partial<RoutePlanPropertyBookResponse>) { (Object as any).assign(this, init); }
}
export class RoutePlanPropertyBookRequest
{
public constructor(init?: Partial<RoutePlanPropertyBookRequest>) { (Object as any).assign(this, init); }
}
TypeScript RoutePlanPropertyBookRequest DTOs
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.
GET /v1/routeplan/propertybook HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}
}
}