POST api/CargoRelease/Cargo/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": "38debe0f-fec6-40e5-99e3-2e8986ed58eb",
"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": [
"1e5cd923-723c-4f8b-89c8-8ab9ef458ebf",
"df0c6b84-131c-45da-84bd-1f6ceab7bc60"
],
"PackagesToRemove": [
"7da3e21c-a787-4b7b-bf8e-dfff8f82d113",
"96e9b9c9-c17f-470b-8e04-f37630541022"
],
"TaskId": 1,
"Status_ID": 13,
"Location": "sample string 14",
"AreaId": "caf1d3dd-cd5e-4827-809c-7045c8423cb9",
"RowId": "1f0bf973-7e64-4d39-a221-d16a8ca85f93",
"PositionId": "a446563f-9326-41e3-92b9-70405ed51d11",
"PackageImages": [
{
"ImageId": "c3182c89-1b97-4d60-8ab3-0b8c4a9fcc6c",
"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": "c3182c89-1b97-4d60-8ab3-0b8c4a9fcc6c",
"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>caf1d3dd-cd5e-4827-809c-7045c8423cb9</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>c3182c89-1b97-4d60-8ab3-0b8c4a9fcc6c</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>c3182c89-1b97-4d60-8ab3-0b8c4a9fcc6c</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>1e5cd923-723c-4f8b-89c8-8ab9ef458ebf</d2p1:guid>
<d2p1:guid>df0c6b84-131c-45da-84bd-1f6ceab7bc60</d2p1:guid>
</PackagesToAdd>
<PackagesToRemove xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>7da3e21c-a787-4b7b-bf8e-dfff8f82d113</d2p1:guid>
<d2p1:guid>96e9b9c9-c17f-470b-8e04-f37630541022</d2p1:guid>
</PackagesToRemove>
<PositionId>a446563f-9326-41e3-92b9-70405ed51d11</PositionId>
<Repack_ID>38debe0f-fec6-40e5-99e3-2e8986ed58eb</Repack_ID>
<RowId>1f0bf973-7e64-4d39-a221-d16a8ca85f93</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":"38debe0f-fec6-40e5-99e3-2e8986ed58eb","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":["1e5cd923-723c-4f8b-89c8-8ab9ef458ebf","df0c6b84-131c-45da-84bd-1f6ceab7bc60"],"PackagesToRemove":["7da3e21c-a787-4b7b-bf8e-dfff8f82d113","96e9b9c9-c17f-470b-8e04-f37630541022"],"TaskId":1,"Status_ID":13,"Location":"sample string 14","AreaId":"caf1d3dd-cd5e-4827-809c-7045c8423cb9","RowId":"1f0bf973-7e64-4d39-a221-d16a8ca85f93","PositionId":"a446563f-9326-41e3-92b9-70405ed51d11","PackageImages":[{"ImageId":"c3182c89-1b97-4d60-8ab3-0b8c4a9fcc6c","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":"c3182c89-1b97-4d60-8ab3-0b8c4a9fcc6c","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.