POST api/audPackage/updatePackages

Request Information

URI Parameters

None.

Body Parameters

PackageUpdatePack
NameDescriptionTypeAdditional information
PackageID

integer

None.

ShipperID

globally unique identifier

None.

ShipperName

string

None.

FulfillmentCenterID

globally unique identifier

None.

WarehouseCode

string

None.

WarehouseName

string

None.

PackageIDs

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PackageID": 1,
  "ShipperID": "521983de-de4a-4569-a34b-ee711d7cc781",
  "ShipperName": "sample string 3",
  "FulfillmentCenterID": "7969e38f-d605-4d80-ae82-5936b65deea1",
  "WarehouseCode": "sample string 5",
  "WarehouseName": "sample string 6",
  "PackageIDs": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<PackageUpdatePack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <FulfillmentCenterID>7969e38f-d605-4d80-ae82-5936b65deea1</FulfillmentCenterID>
  <PackageID>1</PackageID>
  <PackageIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </PackageIDs>
  <ShipperID>521983de-de4a-4569-a34b-ee711d7cc781</ShipperID>
  <ShipperName>sample string 3</ShipperName>
  <WarehouseCode>sample string 5</WarehouseCode>
  <WarehouseName>sample string 6</WarehouseName>
</PackageUpdatePack>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PackageUpdatePack'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>