POST api/Cost/Manifest/Create
Request Information
URI Parameters
None.
Body Parameters
CreateCostManifestParm| Name | Description | Type | Additional information |
|---|---|---|---|
| auth | string |
None. |
|
| ManifestGUID | string |
None. |
|
| CostTypeID | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Amount | decimal number |
None. |
|
| TaxAmount | decimal number |
None. |
|
| PrintAmount | decimal number |
None. |
|
| DueAgentOrCarrier | string |
None. |
|
| CurrencyID | string |
None. |
|
| EditStatus | string |
None. |
|
| LockFlag | boolean |
None. |
|
| CourierID | integer |
None. |
|
| CarrierID | integer |
None. |
|
| VendorID | integer |
None. |
|
| GLAccountNumber | string |
None. |
|
| IncludeOnMawb | boolean |
None. |
|
| PrepaidOrCollect | string |
None. |
|
| TactWeight | decimal number |
None. |
|
| TactRate | decimal number |
None. |
|
| MawbType | string |
None. |
|
| CIMPChargeCode | string |
None. |
|
| SpotWeight | decimal number |
None. |
|
| SpotRate | decimal number |
None. |
|
| CarrierAccountID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"auth": "sample string 1",
"ManifestGUID": "sample string 2",
"CostTypeID": 3,
"Name": "sample string 4",
"Description": "sample string 5",
"Amount": 6.0,
"TaxAmount": 7.0,
"PrintAmount": 8.0,
"DueAgentOrCarrier": "sample string 9",
"CurrencyID": "sample string 10",
"EditStatus": "sample string 11",
"LockFlag": true,
"CourierID": 1,
"CarrierID": 1,
"VendorID": 1,
"GLAccountNumber": "sample string 13",
"IncludeOnMawb": true,
"PrepaidOrCollect": "sample string 15",
"TactWeight": 1.0,
"TactRate": 1.0,
"MawbType": "sample string 16",
"CIMPChargeCode": "sample string 17",
"SpotWeight": 1.0,
"SpotRate": 1.0,
"CarrierAccountID": 1
}
application/xml, text/xml
Sample:
<CreateCostManifestParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <Amount>6</Amount> <CIMPChargeCode>sample string 17</CIMPChargeCode> <CarrierAccountID>1</CarrierAccountID> <CarrierID>1</CarrierID> <CostTypeID>3</CostTypeID> <CourierID>1</CourierID> <CurrencyID>sample string 10</CurrencyID> <Description>sample string 5</Description> <DueAgentOrCarrier>sample string 9</DueAgentOrCarrier> <EditStatus>sample string 11</EditStatus> <GLAccountNumber>sample string 13</GLAccountNumber> <IncludeOnMawb>true</IncludeOnMawb> <LockFlag>true</LockFlag> <ManifestGUID>sample string 2</ManifestGUID> <MawbType>sample string 16</MawbType> <Name>sample string 4</Name> <PrepaidOrCollect>sample string 15</PrepaidOrCollect> <PrintAmount>8</PrintAmount> <SpotRate>1</SpotRate> <SpotWeight>1</SpotWeight> <TactRate>1</TactRate> <TactWeight>1</TactWeight> <TaxAmount>7</TaxAmount> <VendorID>1</VendorID> <auth>sample string 1</auth> </CreateCostManifestParm>
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>