| GET,OPTIONS | /v1/records/logistics/pickups |
|---|
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 PickupsRequest
End Class
Public Partial Class PickupsResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property Pickups As List(Of RecordsPickupDto) = New List(Of RecordsPickupDto)
End Class
Public Partial Class RecordsPickupDto
Public Overridable Property PickupId As Integer
Public Overridable Property PickupKey As String
Public Overridable Property VendorName As String
Public Overridable Property VendorCert As String
Public Overridable Property Status As String
Public Overridable Property WfLabel As String
Public Overridable Property RunLabel As String
Public Overridable Property ManifestJson As String
Public Overridable Property QuoteJson As String
Public Overridable Property WindowLabel As String
Public Overridable Property VendorCertRef As String
Public Overridable Property LogJson As String
End Class
End Namespace
End Namespace
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/records/logistics/pickups HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Pickups":[{"PickupId":0,"PickupKey":"String","VendorName":"String","VendorCert":"String","Status":"String","WfLabel":"String","RunLabel":"String","ManifestJson":"String","QuoteJson":"String","WindowLabel":"String","VendorCertRef":"String","LogJson":"String"}]}