POST api/WRPackages/Repack/Save
Request Information
URI Parameters
None.
Body Parameters
RepackInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Shipment_ID | globally unique identifier |
None. |
|
| Consolidation_ID | globally unique identifier |
None. |
|
| Release_ID | globally unique identifier |
None. |
|
| PickupAndDelivery_ID | globally unique identifier |
None. |
|
| WR_ID | globally unique identifier |
None. |
|
| Booking_Id | globally unique identifier |
None. |
|
| ContainerType_ID | integer |
None. |
|
| Length | string |
None. |
|
| Width | string |
None. |
|
| Height | string |
None. |
|
| Weight | string |
None. |
|
| Description | string |
None. |
|
| ContainerNumber | string |
None. |
|
| SealNo1 | string |
None. |
|
| SealNo2 | string |
None. |
|
| Package_IDs | Collection of globally unique identifier |
None. |
|
| RepackAttachments | Collection of RepackAttachmentModel |
None. |
|
| PackageImages | Collection of GetPackageImage |
None. |
|
| Status_ID | integer |
None. |
|
| Location | string |
None. |
|
| AreaId | globally unique identifier |
None. |
|
| RowId | globally unique identifier |
None. |
|
| PositionId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Shipment_ID": "7db6a2ed-955b-4344-9438-4985f74587e3",
"Consolidation_ID": "70f99247-3ee6-47c7-9df6-3bb7e38b1a82",
"Release_ID": "86a67494-2f67-43a8-a38d-da841639ba80",
"PickupAndDelivery_ID": "25600448-42b1-4380-a4a8-c12af4c2e3e2",
"WR_ID": "ad54bf3d-d6ce-422e-9644-b4cc6f11e0ea",
"Booking_Id": "83fa65d9-5c35-4afc-8d6d-37c6255b4625",
"ContainerType_ID": 7,
"Length": "sample string 8",
"Width": "sample string 9",
"Height": "sample string 10",
"Weight": "sample string 11",
"Description": "sample string 12",
"ContainerNumber": "sample string 13",
"SealNo1": "sample string 14",
"SealNo2": "sample string 15",
"Package_IDs": [
"fa8ab955-8673-42b4-823e-9f68fdb8ef04",
"2df2d367-2bcc-4881-a9e8-7fe200f3d86d"
],
"RepackAttachments": [
{
"Attachment_ID": "47b298ef-602b-4b1e-93dc-c32ec6ada278",
"FileName": "sample string 2",
"Description": "sample string 3",
"FileExtension": "sample string 4",
"FileSize": 5,
"ContentType": "sample string 6",
"FilePath": "sample string 7"
},
{
"Attachment_ID": "47b298ef-602b-4b1e-93dc-c32ec6ada278",
"FileName": "sample string 2",
"Description": "sample string 3",
"FileExtension": "sample string 4",
"FileSize": 5,
"ContentType": "sample string 6",
"FilePath": "sample string 7"
}
],
"PackageImages": [
{
"ImageId": "bad791e5-a4ad-4ef8-9ec8-e5b86adbec4f",
"ImagePath": "sample string 2",
"SmallImagePath": "sample string 3",
"MediumImagePath": "sample string 4",
"ImageType": 1,
"Sequence": 5,
"FileSize": 6,
"FileName": "sample string 7",
"FileExtension": "sample string 8",
"ContentType": "sample string 9"
},
{
"ImageId": "bad791e5-a4ad-4ef8-9ec8-e5b86adbec4f",
"ImagePath": "sample string 2",
"SmallImagePath": "sample string 3",
"MediumImagePath": "sample string 4",
"ImageType": 1,
"Sequence": 5,
"FileSize": 6,
"FileName": "sample string 7",
"FileExtension": "sample string 8",
"ContentType": "sample string 9"
}
],
"Status_ID": 16,
"Location": "sample string 17",
"AreaId": "817f0151-3c36-4e3e-9823-0d6ff8919e7a",
"RowId": "0bddbc05-85a3-4440-a3ab-e85a88ec322f",
"PositionId": "3bdc1807-e04c-45c8-8df1-6bee71f8ac61"
}
application/xml, text/xml
Sample:
<RepackInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<AreaId>817f0151-3c36-4e3e-9823-0d6ff8919e7a</AreaId>
<Booking_Id>83fa65d9-5c35-4afc-8d6d-37c6255b4625</Booking_Id>
<Consolidation_ID>70f99247-3ee6-47c7-9df6-3bb7e38b1a82</Consolidation_ID>
<ContainerNumber>sample string 13</ContainerNumber>
<ContainerType_ID>7</ContainerType_ID>
<Description>sample string 12</Description>
<Height>sample string 10</Height>
<Length>sample string 8</Length>
<Location>sample string 17</Location>
<PackageImages xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS">
<d2p1:GetPackageImage>
<d2p1:ContentType>sample string 9</d2p1:ContentType>
<d2p1:FileExtension>sample string 8</d2p1:FileExtension>
<d2p1:FileName>sample string 7</d2p1:FileName>
<d2p1:FileSize>6</d2p1:FileSize>
<d2p1:ImageId>bad791e5-a4ad-4ef8-9ec8-e5b86adbec4f</d2p1:ImageId>
<d2p1:ImagePath>sample string 2</d2p1:ImagePath>
<d2p1:ImageType>Capture</d2p1:ImageType>
<d2p1:MediumImagePath>sample string 4</d2p1:MediumImagePath>
<d2p1:Sequence>5</d2p1:Sequence>
<d2p1:SmallImagePath>sample string 3</d2p1:SmallImagePath>
</d2p1:GetPackageImage>
<d2p1:GetPackageImage>
<d2p1:ContentType>sample string 9</d2p1:ContentType>
<d2p1:FileExtension>sample string 8</d2p1:FileExtension>
<d2p1:FileName>sample string 7</d2p1:FileName>
<d2p1:FileSize>6</d2p1:FileSize>
<d2p1:ImageId>bad791e5-a4ad-4ef8-9ec8-e5b86adbec4f</d2p1:ImageId>
<d2p1:ImagePath>sample string 2</d2p1:ImagePath>
<d2p1:ImageType>Capture</d2p1:ImageType>
<d2p1:MediumImagePath>sample string 4</d2p1:MediumImagePath>
<d2p1:Sequence>5</d2p1:Sequence>
<d2p1:SmallImagePath>sample string 3</d2p1:SmallImagePath>
</d2p1:GetPackageImage>
</PackageImages>
<Package_IDs xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>fa8ab955-8673-42b4-823e-9f68fdb8ef04</d2p1:guid>
<d2p1:guid>2df2d367-2bcc-4881-a9e8-7fe200f3d86d</d2p1:guid>
</Package_IDs>
<PickupAndDelivery_ID>25600448-42b1-4380-a4a8-c12af4c2e3e2</PickupAndDelivery_ID>
<PositionId>3bdc1807-e04c-45c8-8df1-6bee71f8ac61</PositionId>
<Release_ID>86a67494-2f67-43a8-a38d-da841639ba80</Release_ID>
<RepackAttachments>
<RepackAttachmentModel>
<Attachment_ID>47b298ef-602b-4b1e-93dc-c32ec6ada278</Attachment_ID>
<ContentType>sample string 6</ContentType>
<Description>sample string 3</Description>
<FileExtension>sample string 4</FileExtension>
<FileName>sample string 2</FileName>
<FilePath>sample string 7</FilePath>
<FileSize>5</FileSize>
</RepackAttachmentModel>
<RepackAttachmentModel>
<Attachment_ID>47b298ef-602b-4b1e-93dc-c32ec6ada278</Attachment_ID>
<ContentType>sample string 6</ContentType>
<Description>sample string 3</Description>
<FileExtension>sample string 4</FileExtension>
<FileName>sample string 2</FileName>
<FilePath>sample string 7</FilePath>
<FileSize>5</FileSize>
</RepackAttachmentModel>
</RepackAttachments>
<RowId>0bddbc05-85a3-4440-a3ab-e85a88ec322f</RowId>
<SealNo1>sample string 14</SealNo1>
<SealNo2>sample string 15</SealNo2>
<Shipment_ID>7db6a2ed-955b-4344-9438-4985f74587e3</Shipment_ID>
<Status_ID>16</Status_ID>
<WR_ID>ad54bf3d-d6ce-422e-9644-b4cc6f11e0ea</WR_ID>
<Weight>sample string 11</Weight>
<Width>sample string 9</Width>
</RepackInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Shipment_ID":"7db6a2ed-955b-4344-9438-4985f74587e3","Consolidation_ID":"70f99247-3ee6-47c7-9df6-3bb7e38b1a82","Release_ID":"86a67494-2f67-43a8-a38d-da841639ba80","PickupAndDelivery_ID":"25600448-42b1-4380-a4a8-c12af4c2e3e2","WR_ID":"ad54bf3d-d6ce-422e-9644-b4cc6f11e0ea","Booking_Id":"83fa65d9-5c35-4afc-8d6d-37c6255b4625","ContainerType_ID":7,"Length":"sample string 8","Width":"sample string 9","Height":"sample string 10","Weight":"sample string 11","Description":"sample string 12","ContainerNumber":"sample string 13","SealNo1":"sample string 14","SealNo2":"sample string 15","Package_IDs":["fa8ab955-8673-42b4-823e-9f68fdb8ef04","2df2d367-2bcc-4881-a9e8-7fe200f3d86d"],"RepackAttachments":[{"Attachment_ID":"47b298ef-602b-4b1e-93dc-c32ec6ada278","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"},{"Attachment_ID":"47b298ef-602b-4b1e-93dc-c32ec6ada278","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"}],"PackageImages":[{"ImageId":"bad791e5-a4ad-4ef8-9ec8-e5b86adbec4f","ImagePath":"sample string 2","SmallImagePath":"sample string 3","MediumImagePath":"sample string 4","ImageType":1,"Sequence":5,"FileSize":6,"FileName":"sample string 7","FileExtension":"sample string 8","ContentType":"sample string 9"},{"ImageId":"bad791e5-a4ad-4ef8-9ec8-e5b86adbec4f","ImagePath":"sample string 2","SmallImagePath":"sample string 3","MediumImagePath":"sample string 4","ImageType":1,"Sequence":5,"FileSize":6,"FileName":"sample string 7","FileExtension":"sample string 8","ContentType":"sample string 9"}],"Status_ID":16,"Location":"sample string 17","AreaId":"817f0151-3c36-4e3e-9823-0d6ff8919e7a","RowId":"0bddbc05-85a3-4440-a3ab-e85a88ec322f","PositionId":"3bdc1807-e04c-45c8-8df1-6bee71f8ac61"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.