POST api/Cost/Order/Update
Request Information
URI Parameters
None.
Body Parameters
UpdateCostOrderParm| Name | Description | Type | Additional information |
|---|---|---|---|
| auth | string |
None. |
|
| CostKey | string |
None. |
|
| CostTypeID | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Amount | decimal number |
None. |
|
| TaxAmount | decimal number |
None. |
|
| CurrencyID | string |
None. |
|
| GLAccountNumber | string |
None. |
|
| LockFlag | boolean |
None. |
|
| VendorID | integer |
None. |
|
| CarrierID | integer |
None. |
|
| CourierID | integer |
None. |
|
| DueAgentOrCarrier | string |
None. |
|
| PrintAmount | decimal number |
None. |
|
| ReconcileNote | string |
None. |
|
| InterCompany | boolean |
None. |
|
| IntercompanyOfficeID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"auth": "sample string 1",
"CostKey": "sample string 2",
"CostTypeID": 3,
"Name": "sample string 4",
"Description": "sample string 5",
"Amount": 6.0,
"TaxAmount": 7.0,
"CurrencyID": "sample string 8",
"GLAccountNumber": "sample string 9",
"LockFlag": true,
"VendorID": 1,
"CarrierID": 1,
"CourierID": 1,
"DueAgentOrCarrier": "sample string 11",
"PrintAmount": 12.0,
"ReconcileNote": "sample string 13",
"InterCompany": true,
"IntercompanyOfficeID": 1
}
application/xml, text/xml
Sample:
<UpdateCostOrderParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <Amount>6</Amount> <CarrierID>1</CarrierID> <CostKey>sample string 2</CostKey> <CostTypeID>3</CostTypeID> <CourierID>1</CourierID> <CurrencyID>sample string 8</CurrencyID> <Description>sample string 5</Description> <DueAgentOrCarrier>sample string 11</DueAgentOrCarrier> <GLAccountNumber>sample string 9</GLAccountNumber> <InterCompany>true</InterCompany> <IntercompanyOfficeID>1</IntercompanyOfficeID> <LockFlag>true</LockFlag> <Name>sample string 4</Name> <PrintAmount>12</PrintAmount> <ReconcileNote>sample string 13</ReconcileNote> <TaxAmount>7</TaxAmount> <VendorID>1</VendorID> <auth>sample string 1</auth> </UpdateCostOrderParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBase| Name | 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>