GET api/Shipper/PrintLabel/{auth}/{ShipmentGUID}
Use this method to print a label
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
auth |
Unique authorization identifier |
string |
Required |
ShipmentGUID |
Unique shipment identifier |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
FileResponseName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful |
Set to true if method was successful |
boolean |
None. |
ErrorMessage |
The error message if method call was not successful |
string |
None. |
ContentType |
The content type of the file |
string |
None. |
FileName |
The file name of the file |
string |
None. |
FileData |
The file data |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2", "ContentType": "sample string 3", "FileName": "sample string 4", "FileData": "sample string 5" }
application/xml, text/xml
Sample:
<FileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models.Shipper"> <ContentType>sample string 3</ContentType> <ErrorMessage>sample string 2</ErrorMessage> <FileData>sample string 5</FileData> <FileName>sample string 4</FileName> <IsSuccessful>true</IsSuccessful> </FileResponse>