1Fetch Client API

<back to all web services

GetProofOfDelivery

The following routes are available for this service:
GET/proofofdeliveryGet 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 .other suffix or ?format=other

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{}