POST api/CommercialInvoiceItem/Update

Request Information

URI Parameters

None.

Body Parameters

CommercialItemUpdateParm
NameDescriptionTypeAdditional information
auth

string

None.

CommercialItemGUID

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",
  "CommercialItemGUID": "sample string 2",
  "Description": "sample string 3",
  "Quantity": 4,
  "UnitPrice": 5.0,
  "CurrencyID": "sample string 6"
}

application/xml, text/xml

Sample:
<CommercialItemUpdateParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <CommercialItemGUID>sample string 2</CommercialItemGUID>
  <CurrencyID>sample string 6</CurrencyID>
  <Description>sample string 3</Description>
  <Quantity>4</Quantity>
  <UnitPrice>5</UnitPrice>
  <auth>sample string 1</auth>
</CommercialItemUpdateParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional 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>