| GET | /proofofdelivery | Get a pdf of the ePOD generated for an order after completion. |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports WebService.ClientServiceModel
Imports WebService.ClientServiceModel.Base
Namespace Global
Namespace WebService.ClientServiceModel
Public Partial Class GetProofOfDelivery
Inherits ApiServiceRequest
Implements ILogRequest
'''<Summary>
'''The ID of the order
'''</Summary>
<ApiMember(Description:="The ID of the order")>
Public Overridable Property OrderId As Guid
'''<Summary>
'''The 1F waybill for the order
'''</Summary>
<ApiMember(Description:="The 1F waybill for the order")>
Public Overridable Property Waybill As String
End Class
End Namespace
Namespace WebService.ClientServiceModel.Base
Public Partial Class ApiServiceRequest
Implements IServiceRequest
Implements IHasApiKey
'''<Summary>
'''The API Key required for authentication
'''</Summary>
<ApiMember(DataType:="string", Description:="The API Key required for authentication", IsRequired:=true)>
Public Overridable Property ApiKey As String
End Class
End Namespace
End Namespace
VB.NET GetProofOfDelivery 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 /proofofdelivery HTTP/1.1 Host: 1fetch.api.client.prod.86degrees.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}