POST api/CargoRelease/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": "0f8d5362-19cc-4e7c-bbc6-e7174acb07da",
"Consolidation_ID": "323c08a1-c836-4a46-8462-9949434e9a34",
"Release_ID": "e473e452-ccbe-45fe-964b-1079c5a62f9a",
"PickupAndDelivery_ID": "23d04615-d305-4200-a600-29b37af53e57",
"WR_ID": "aead670e-2edc-4f88-8c7e-5c891e7b8694",
"Booking_Id": "960d7afe-5cca-4941-b37f-e26d6d0d0775",
"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": [
"234afd1e-a7fa-4539-89fe-8d617850eaa5",
"65c14a22-87e7-4b92-b302-39f23631fdc2"
],
"RepackAttachments": [
{
"Attachment_ID": "5f172e05-9e51-462d-9197-3503f5fa761f",
"FileName": "sample string 2",
"Description": "sample string 3",
"FileExtension": "sample string 4",
"FileSize": 5,
"ContentType": "sample string 6",
"FilePath": "sample string 7"
},
{
"Attachment_ID": "5f172e05-9e51-462d-9197-3503f5fa761f",
"FileName": "sample string 2",
"Description": "sample string 3",
"FileExtension": "sample string 4",
"FileSize": 5,
"ContentType": "sample string 6",
"FilePath": "sample string 7"
}
],
"PackageImages": [
{
"ImageId": "5a3c36f4-efdb-4ce7-bb6d-7e8a0c37b06b",
"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": "5a3c36f4-efdb-4ce7-bb6d-7e8a0c37b06b",
"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": "6ef9662d-57a3-47f4-abeb-818f4f3cc93c",
"RowId": "df46a826-a5e4-4765-bd2e-dcff33d629f4",
"PositionId": "9603aabc-4c4e-4908-99ea-ff2fccb4fd76"
}
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>6ef9662d-57a3-47f4-abeb-818f4f3cc93c</AreaId>
<Booking_Id>960d7afe-5cca-4941-b37f-e26d6d0d0775</Booking_Id>
<Consolidation_ID>323c08a1-c836-4a46-8462-9949434e9a34</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>5a3c36f4-efdb-4ce7-bb6d-7e8a0c37b06b</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>5a3c36f4-efdb-4ce7-bb6d-7e8a0c37b06b</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>234afd1e-a7fa-4539-89fe-8d617850eaa5</d2p1:guid>
<d2p1:guid>65c14a22-87e7-4b92-b302-39f23631fdc2</d2p1:guid>
</Package_IDs>
<PickupAndDelivery_ID>23d04615-d305-4200-a600-29b37af53e57</PickupAndDelivery_ID>
<PositionId>9603aabc-4c4e-4908-99ea-ff2fccb4fd76</PositionId>
<Release_ID>e473e452-ccbe-45fe-964b-1079c5a62f9a</Release_ID>
<RepackAttachments>
<RepackAttachmentModel>
<Attachment_ID>5f172e05-9e51-462d-9197-3503f5fa761f</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>5f172e05-9e51-462d-9197-3503f5fa761f</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>df46a826-a5e4-4765-bd2e-dcff33d629f4</RowId>
<SealNo1>sample string 14</SealNo1>
<SealNo2>sample string 15</SealNo2>
<Shipment_ID>0f8d5362-19cc-4e7c-bbc6-e7174acb07da</Shipment_ID>
<Status_ID>16</Status_ID>
<WR_ID>aead670e-2edc-4f88-8c7e-5c891e7b8694</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":"0f8d5362-19cc-4e7c-bbc6-e7174acb07da","Consolidation_ID":"323c08a1-c836-4a46-8462-9949434e9a34","Release_ID":"e473e452-ccbe-45fe-964b-1079c5a62f9a","PickupAndDelivery_ID":"23d04615-d305-4200-a600-29b37af53e57","WR_ID":"aead670e-2edc-4f88-8c7e-5c891e7b8694","Booking_Id":"960d7afe-5cca-4941-b37f-e26d6d0d0775","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":["234afd1e-a7fa-4539-89fe-8d617850eaa5","65c14a22-87e7-4b92-b302-39f23631fdc2"],"RepackAttachments":[{"Attachment_ID":"5f172e05-9e51-462d-9197-3503f5fa761f","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"},{"Attachment_ID":"5f172e05-9e51-462d-9197-3503f5fa761f","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"}],"PackageImages":[{"ImageId":"5a3c36f4-efdb-4ce7-bb6d-7e8a0c37b06b","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":"5a3c36f4-efdb-4ce7-bb6d-7e8a0c37b06b","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":"6ef9662d-57a3-47f4-abeb-818f4f3cc93c","RowId":"df46a826-a5e4-4765-bd2e-dcff33d629f4","PositionId":"9603aabc-4c4e-4908-99ea-ff2fccb4fd76"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.