POST api/Bag/Update
Request Information
URI Parameters
None.
Body Parameters
BagUpdateParmsName | Description | Type | Additional information |
---|---|---|---|
auth | string |
None. |
|
BagGUID | string |
None. |
|
BagIdentifier | string |
None. |
|
BagTypeID | integer |
None. |
|
PackagingType | string |
None. |
|
Weight | decimal number |
None. |
|
DimWeight | decimal number |
None. |
|
WeightUOM | string |
None. |
|
Length | integer |
None. |
|
Width | integer |
None. |
|
Height | integer |
None. |
|
SizeUOM | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "auth": "sample string 1", "BagGUID": "sample string 2", "BagIdentifier": "sample string 3", "BagTypeID": 4, "PackagingType": "sample string 5", "Weight": 6.0, "DimWeight": 1.0, "WeightUOM": "sample string 7", "Length": 1, "Width": 1, "Height": 1, "SizeUOM": "sample string 8" }
application/xml, text/xml
Sample:
<BagUpdateParms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <BagGUID>sample string 2</BagGUID> <BagIdentifier>sample string 3</BagIdentifier> <BagTypeID>4</BagTypeID> <DimWeight>1</DimWeight> <Height>1</Height> <Length>1</Length> <PackagingType>sample string 5</PackagingType> <SizeUOM>sample string 8</SizeUOM> <Weight>6</Weight> <WeightUOM>sample string 7</WeightUOM> <Width>1</Width> <auth>sample string 1</auth> </BagUpdateParms>
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>