Trendsic Platform Service

<back to all web services

RoutePlanPropertyBookRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/routeplan/propertybook
"use strict";
export class RoutePlanPropertyRow {
    /** @param {{AgreementID?:number,Name?:string,Zip?:string,Area?:string,DurationMin?:number,Frequency?:string,ServiceType?:string,Acreage?:string,Dow?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    AgreementID;
    /** @type {string} */
    Name;
    /** @type {string} */
    Zip;
    /** @type {string} */
    Area;
    /** @type {number} */
    DurationMin;
    /** @type {string} */
    Frequency;
    /** @type {string} */
    ServiceType;
    /** @type {string} */
    Acreage;
    /** @type {number} */
    Dow;
}
export class RoutePlanPropertyBookResponse {
    /** @param {{Rows?:RoutePlanPropertyRow[],ResponseStatus?:ResponseStatus}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {RoutePlanPropertyRow[]} */
    Rows = [];
    /** @type {ResponseStatus} */
    ResponseStatus;
}
export class RoutePlanPropertyBookRequest {
    constructor(init) { Object.assign(this, init) }
}

JavaScript RoutePlanPropertyBookRequest DTOs

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

HTTP + 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
		}
	}
}