POST api/Centers/CreateFedExShippingLabel
Request Information
URI Parameters
None.
Body Parameters
CreateShippingLabelFedexRequest
| Name | Description | Type | Additional Information |
|---|---|---|---|
| ServiceType | string |
None. |
|
| LabelStockType | string |
None. |
|
| Units | string |
None. |
|
| Weight | decimal number |
None. |
|
| PackagingType | string |
None. |
|
| UserName | string |
None. |
|
| LocaleId | integer |
None. |
|
| ShippingLabelItemIDs | Collection of integer |
None. |
|
| ShippingLabelWarehouseCount | integer |
None. |
|
| ShippingLabelOrderNumber | string |
None. |
|
| ShippingLabelFormat | string |
None. |
|
| ShippingLabelPluginId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ServiceType": "sample string 1",
"LabelStockType": "sample string 2",
"Units": "sample string 3",
"Weight": 4.1,
"PackagingType": "sample string 5",
"UserName": "sample string 6",
"LocaleId": 7,
"ShippingLabelItemIDs": [
1,
2
],
"ShippingLabelWarehouseCount": 1,
"ShippingLabelOrderNumber": "sample string 8",
"ShippingLabelFormat": "sample string 9",
"ShippingLabelPluginId": 10
}
application/xml, text/xml
Sample:
<CreateShippingLabelFedexRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models.API.Centers">
<LabelStockType>sample string 2</LabelStockType>
<LocaleId>7</LocaleId>
<PackagingType>sample string 5</PackagingType>
<ServiceType>sample string 1</ServiceType>
<ShippingLabelFormat>sample string 9</ShippingLabelFormat>
<ShippingLabelItemIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ShippingLabelItemIDs>
<ShippingLabelOrderNumber>sample string 8</ShippingLabelOrderNumber>
<ShippingLabelPluginId>10</ShippingLabelPluginId>
<ShippingLabelWarehouseCount>1</ShippingLabelWarehouseCount>
<Units>sample string 3</Units>
<UserName>sample string 6</UserName>
<Weight>4.1</Weight>
</CreateShippingLabelFedexRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
| Name | Description | Type | Additional Information |
|---|---|---|---|
| ResponseCode | APIResponseCodes |
None. |
|
| Message | string |
None. |
|
| IsSuccess | boolean |
None. |
|
| ShippingLabelUrl | string |
None. |
|
| ErrorMessage | string |
None. |
|
| SuccessMessage | string |
None. |
|
| CorrelationId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 0,
"Message": "sample string 1",
"IsSuccess": true,
"ShippingLabelUrl": "sample string 3",
"ErrorMessage": "sample string 4",
"SuccessMessage": "sample string 5",
"CorrelationId": "sample string 6"
}
application/xml, text/xml
Sample:
<CreateShippingLabelResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models.API.Centers"> <CorrelationId>sample string 6</CorrelationId> <ErrorMessage>sample string 4</ErrorMessage> <IsSuccess>true</IsSuccess> <Message>sample string 1</Message> <ResponseCode>Success</ResponseCode> <ShippingLabelUrl>sample string 3</ShippingLabelUrl> <SuccessMessage>sample string 5</SuccessMessage> </CreateShippingLabelResponse>