POST api/Sticker/Post
Request Information
URI Parameters
None.
Body Parameters
WayBillStickerFourMEightDtoName | Description | Type | Additional information |
---|---|---|---|
WayBillNumber | Object |
None. |
|
Pickupdate | Object |
None. |
|
Refno | Object |
None. |
|
Origin | Object |
None. |
|
Destination | Object |
None. |
|
Weight | Object |
None. |
|
Pieces | Object |
None. |
|
Declarevalue | Object |
None. |
|
COD | Object |
None. |
|
GoodDesc | Object |
None. |
|
Shipper | Object |
None. |
|
ShipperTel | Object |
None. |
|
ShipperMobile | Object |
None. |
|
ShipperAddress | Object |
None. |
|
ShipperCity | Object |
None. |
|
ShipperCountry | Object |
None. |
|
Recipient | Object |
None. |
|
RecipientTel | Object |
None. |
|
RecipientMobile | Object |
None. |
|
RecipientAddress | Object |
None. |
|
RecipientCity | Object |
None. |
|
RecipientCountry | Object |
None. |
|
StickerSize | StickerSize |
None. |
|
PickupPoint | string |
None. |
|
CODCharge | decimal number |
None. |
|
Currency | string |
None. |
|
NoofLabels | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "WayBillNumber": {}, "Pickupdate": {}, "Refno": {}, "Origin": {}, "Destination": {}, "Weight": {}, "Pieces": {}, "Declarevalue": {}, "COD": {}, "GoodDesc": {}, "Shipper": {}, "ShipperTel": {}, "ShipperMobile": {}, "ShipperAddress": {}, "ShipperCity": {}, "ShipperCountry": {}, "Recipient": {}, "RecipientTel": {}, "RecipientMobile": {}, "RecipientAddress": {}, "RecipientCity": {}, "RecipientCountry": {}, "StickerSize": 1, "PickupPoint": "sample string 23", "CODCharge": 24.1, "Currency": "sample string 25", "NoofLabels": 26 }
application/xml, text/xml
Sample:
<WayBillStickerFourMEightDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StickerAPI.Models"> <COD /> <CODCharge>24.1</CODCharge> <Currency>sample string 25</Currency> <Declarevalue /> <Destination /> <GoodDesc /> <NoofLabels>26</NoofLabels> <Origin /> <PickupPoint>sample string 23</PickupPoint> <Pickupdate /> <Pieces /> <Recipient /> <RecipientAddress /> <RecipientCity /> <RecipientCountry /> <RecipientMobile /> <RecipientTel /> <Refno /> <Shipper /> <ShipperAddress /> <ShipperCity /> <ShipperCountry /> <ShipperMobile /> <ShipperTel /> <StickerSize>FourMEightInches</StickerSize> <WayBillNumber /> <Weight /> </WayBillStickerFourMEightDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StickerResultListName | Description | Type | Additional information |
---|---|---|---|
stickerResults | Collection of StickerResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "stickerResults": [ { "fileContent": "QEA=", "barcodeLabel": "sample string 1" }, { "fileContent": "QEA=", "barcodeLabel": "sample string 1" } ] }
application/xml, text/xml
Sample:
<StickerResultList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StickerAPI.Models"> <stickerResults> <StickerResult> <barcodeLabel>sample string 1</barcodeLabel> <fileContent>QEA=</fileContent> </StickerResult> <StickerResult> <barcodeLabel>sample string 1</barcodeLabel> <fileContent>QEA=</fileContent> </StickerResult> </stickerResults> </StickerResultList>