POST api/Booking/Cargo/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": "4a75525e-13dd-4d78-b4ca-5993cb334cea",
"Consolidation_ID": "08f79caf-e9f5-4217-81f7-f895bb9e6ba1",
"Release_ID": "246c1e8f-7fe6-4822-9567-27190905cc8a",
"PickupAndDelivery_ID": "b303b7ee-b1ab-4445-a7c0-d2efe643c7fd",
"WR_ID": "16b7edef-e185-4fb5-8ac9-84da42eb6431",
"Booking_Id": "1ff75ca9-f1ef-4be8-b42b-8d2354a73df5",
"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": [
"8f06d719-ba44-451d-a217-821363b1b1a2",
"3b10ff5c-d8c4-4082-a7fe-346368aec366"
],
"RepackAttachments": [
{
"Attachment_ID": "b414afc8-baaa-4b80-927b-6f2c0aa951d4",
"FileName": "sample string 2",
"Description": "sample string 3",
"FileExtension": "sample string 4",
"FileSize": 5,
"ContentType": "sample string 6",
"FilePath": "sample string 7"
},
{
"Attachment_ID": "b414afc8-baaa-4b80-927b-6f2c0aa951d4",
"FileName": "sample string 2",
"Description": "sample string 3",
"FileExtension": "sample string 4",
"FileSize": 5,
"ContentType": "sample string 6",
"FilePath": "sample string 7"
}
],
"PackageImages": [
{
"ImageId": "1fe6b0ba-e3e4-474e-89a7-696814f85359",
"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": "1fe6b0ba-e3e4-474e-89a7-696814f85359",
"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": "8fe6ad70-59e3-480b-892c-72a899a723e3",
"RowId": "16d81efe-c1d3-4507-b18e-7fe6a4b9fe89",
"PositionId": "6e6d15e8-cab2-438e-ad53-2e8984d350e8"
}
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>8fe6ad70-59e3-480b-892c-72a899a723e3</AreaId>
<Booking_Id>1ff75ca9-f1ef-4be8-b42b-8d2354a73df5</Booking_Id>
<Consolidation_ID>08f79caf-e9f5-4217-81f7-f895bb9e6ba1</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>1fe6b0ba-e3e4-474e-89a7-696814f85359</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>1fe6b0ba-e3e4-474e-89a7-696814f85359</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>8f06d719-ba44-451d-a217-821363b1b1a2</d2p1:guid>
<d2p1:guid>3b10ff5c-d8c4-4082-a7fe-346368aec366</d2p1:guid>
</Package_IDs>
<PickupAndDelivery_ID>b303b7ee-b1ab-4445-a7c0-d2efe643c7fd</PickupAndDelivery_ID>
<PositionId>6e6d15e8-cab2-438e-ad53-2e8984d350e8</PositionId>
<Release_ID>246c1e8f-7fe6-4822-9567-27190905cc8a</Release_ID>
<RepackAttachments>
<RepackAttachmentModel>
<Attachment_ID>b414afc8-baaa-4b80-927b-6f2c0aa951d4</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>b414afc8-baaa-4b80-927b-6f2c0aa951d4</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>16d81efe-c1d3-4507-b18e-7fe6a4b9fe89</RowId>
<SealNo1>sample string 14</SealNo1>
<SealNo2>sample string 15</SealNo2>
<Shipment_ID>4a75525e-13dd-4d78-b4ca-5993cb334cea</Shipment_ID>
<Status_ID>16</Status_ID>
<WR_ID>16b7edef-e185-4fb5-8ac9-84da42eb6431</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":"4a75525e-13dd-4d78-b4ca-5993cb334cea","Consolidation_ID":"08f79caf-e9f5-4217-81f7-f895bb9e6ba1","Release_ID":"246c1e8f-7fe6-4822-9567-27190905cc8a","PickupAndDelivery_ID":"b303b7ee-b1ab-4445-a7c0-d2efe643c7fd","WR_ID":"16b7edef-e185-4fb5-8ac9-84da42eb6431","Booking_Id":"1ff75ca9-f1ef-4be8-b42b-8d2354a73df5","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":["8f06d719-ba44-451d-a217-821363b1b1a2","3b10ff5c-d8c4-4082-a7fe-346368aec366"],"RepackAttachments":[{"Attachment_ID":"b414afc8-baaa-4b80-927b-6f2c0aa951d4","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"},{"Attachment_ID":"b414afc8-baaa-4b80-927b-6f2c0aa951d4","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"}],"PackageImages":[{"ImageId":"1fe6b0ba-e3e4-474e-89a7-696814f85359","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":"1fe6b0ba-e3e4-474e-89a7-696814f85359","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":"8fe6ad70-59e3-480b-892c-72a899a723e3","RowId":"16d81efe-c1d3-4507-b18e-7fe6a4b9fe89","PositionId":"6e6d15e8-cab2-438e-ad53-2e8984d350e8"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.