POST api/CommercialInvoiceItem/Create
Request Information
URI Parameters
None.
Body Parameters
CommericalItemCreateParmName | Description | Type | Additional information |
---|---|---|---|
auth | string |
None. |
|
ShipmentGUID | string |
None. |
|
Description | string |
None. |
|
Quantity | integer |
None. |
|
UnitPrice | decimal number |
None. |
|
CurrencyID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "auth": "sample string 1", "ShipmentGUID": "sample string 2", "Description": "sample string 3", "Quantity": 4, "UnitPrice": 5.0, "CurrencyID": "sample string 6" }
application/xml, text/xml
Sample:
<CommericalItemCreateParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <CurrencyID>sample string 6</CurrencyID> <Description>sample string 3</Description> <Quantity>4</Quantity> <ShipmentGUID>sample string 2</ShipmentGUID> <UnitPrice>5</UnitPrice> <auth>sample string 1</auth> </CommericalItemCreateParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBaseName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </ResponseBase>