| GET,OPTIONS | /v1/routeplan/propertybook |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal
Namespace Global
Namespace CRM.AgencyPlatform.API.Internal
Public Partial Class RoutePlanPropertyBookRequest
End Class
Public Partial Class RoutePlanPropertyBookResponse
Public Overridable Property Rows As List(Of RoutePlanPropertyRow) = New List(Of RoutePlanPropertyRow)
Public Overridable Property ResponseStatus As ResponseStatus
End Class
Public Partial Class RoutePlanPropertyRow
Public Overridable Property AgreementID As Integer
Public Overridable Property Name As String
Public Overridable Property Zip As String
Public Overridable Property Area As String
Public Overridable Property DurationMin As Integer
Public Overridable Property Frequency As String
Public Overridable Property ServiceType As String
Public Overridable Property Acreage As String
Public Overridable Property Dow As Integer
End Class
End Namespace
End Namespace
VB.NET 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
}
}
}