POST api/Shipments/Packages/Repack/Edit
Request Information
URI Parameters
None.
Body Parameters
EditRepackInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Repack_ID | globally unique identifier |
None. |
|
| ContainerType_ID | integer |
None. |
|
| Associations | 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. |
|
| IsAddToRepack | boolean |
None. |
|
| PackagesToAdd | Collection of globally unique identifier |
None. |
|
| PackagesToRemove | Collection of globally unique identifier |
None. |
|
| TaskId | integer |
None. |
|
| Status_ID | integer |
None. |
|
| Location | string |
None. |
|
| AreaId | globally unique identifier |
None. |
|
| RowId | globally unique identifier |
None. |
|
| PositionId | globally unique identifier |
None. |
|
| PackageImages | Collection of GetPackageImage |
None. |
Request Formats
application/json, text/json
Sample:
{
"Repack_ID": "5914e791-46d8-4980-8b58-4ebc4316be91",
"ContainerType_ID": 2,
"Associations": 3,
"Length": "sample string 4",
"Width": "sample string 5",
"Height": "sample string 6",
"Weight": "sample string 7",
"Description": "sample string 8",
"ContainerNumber": "sample string 9",
"SealNo1": "sample string 10",
"SealNo2": "sample string 11",
"IsAddToRepack": true,
"PackagesToAdd": [
"e5f8ddc8-fa6f-4531-8a7e-1031b3b6b8a4",
"fecec7f9-5344-467f-bdf1-c3277655d93b"
],
"PackagesToRemove": [
"b66369cf-73b7-4176-9f0c-3ef806be1cc3",
"25f13520-81d9-48e1-80d0-8541b4fe75d7"
],
"TaskId": 1,
"Status_ID": 13,
"Location": "sample string 14",
"AreaId": "43400043-c2a1-4e27-b16f-c2305e0a0d25",
"RowId": "43b92ec4-fe9b-4053-b8f4-57e9a6334fe6",
"PositionId": "36bc171e-45b0-4dc1-b759-b8f9c12b2126",
"PackageImages": [
{
"ImageId": "b6f32557-79e6-4858-af93-9afedb50f36c",
"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": "b6f32557-79e6-4858-af93-9afedb50f36c",
"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"
}
]
}
application/xml, text/xml
Sample:
<EditRepackInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<AreaId>43400043-c2a1-4e27-b16f-c2305e0a0d25</AreaId>
<Associations>3</Associations>
<ContainerNumber>sample string 9</ContainerNumber>
<ContainerType_ID>2</ContainerType_ID>
<Description>sample string 8</Description>
<Height>sample string 6</Height>
<IsAddToRepack>true</IsAddToRepack>
<Length>sample string 4</Length>
<Location>sample string 14</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>b6f32557-79e6-4858-af93-9afedb50f36c</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>b6f32557-79e6-4858-af93-9afedb50f36c</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>
<PackagesToAdd xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e5f8ddc8-fa6f-4531-8a7e-1031b3b6b8a4</d2p1:guid>
<d2p1:guid>fecec7f9-5344-467f-bdf1-c3277655d93b</d2p1:guid>
</PackagesToAdd>
<PackagesToRemove xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b66369cf-73b7-4176-9f0c-3ef806be1cc3</d2p1:guid>
<d2p1:guid>25f13520-81d9-48e1-80d0-8541b4fe75d7</d2p1:guid>
</PackagesToRemove>
<PositionId>36bc171e-45b0-4dc1-b759-b8f9c12b2126</PositionId>
<Repack_ID>5914e791-46d8-4980-8b58-4ebc4316be91</Repack_ID>
<RowId>43b92ec4-fe9b-4053-b8f4-57e9a6334fe6</RowId>
<SealNo1>sample string 10</SealNo1>
<SealNo2>sample string 11</SealNo2>
<Status_ID>13</Status_ID>
<TaskId>1</TaskId>
<Weight>sample string 7</Weight>
<Width>sample string 5</Width>
</EditRepackInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Repack_ID":"5914e791-46d8-4980-8b58-4ebc4316be91","ContainerType_ID":2,"Associations":3,"Length":"sample string 4","Width":"sample string 5","Height":"sample string 6","Weight":"sample string 7","Description":"sample string 8","ContainerNumber":"sample string 9","SealNo1":"sample string 10","SealNo2":"sample string 11","IsAddToRepack":true,"PackagesToAdd":["e5f8ddc8-fa6f-4531-8a7e-1031b3b6b8a4","fecec7f9-5344-467f-bdf1-c3277655d93b"],"PackagesToRemove":["b66369cf-73b7-4176-9f0c-3ef806be1cc3","25f13520-81d9-48e1-80d0-8541b4fe75d7"],"TaskId":1,"Status_ID":13,"Location":"sample string 14","AreaId":"43400043-c2a1-4e27-b16f-c2305e0a0d25","RowId":"43b92ec4-fe9b-4053-b8f4-57e9a6334fe6","PositionId":"36bc171e-45b0-4dc1-b759-b8f9c12b2126","PackageImages":[{"ImageId":"b6f32557-79e6-4858-af93-9afedb50f36c","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":"b6f32557-79e6-4858-af93-9afedb50f36c","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"}]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.