POST api/Consolidation/Cargo/Repack/Save

Request Information

URI Parameters

None.

Body Parameters

RepackInputModel
NameDescriptionTypeAdditional information
Shipment_ID

globally unique identifier

None.

Consolidation_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.

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": "952c4405-7b64-442d-919d-5d339fabd36b",
  "Consolidation_ID": "f44d477b-f200-41bc-9552-789127cd0c3c",
  "ContainerType_ID": 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",
  "Package_IDs": [
    "72805e4e-b91c-4739-a3f4-d36e9f2e5b01",
    "6c81ac59-bccb-4523-90b0-337ad9db2145"
  ],
  "RepackAttachments": [
    {
      "Attachment_ID": "76300557-1003-4c86-b076-fc6e18c44976",
      "FileName": "sample string 2",
      "Description": "sample string 3",
      "FileExtension": "sample string 4",
      "FileSize": 5,
      "ContentType": "sample string 6",
      "FilePath": "sample string 7"
    },
    {
      "Attachment_ID": "76300557-1003-4c86-b076-fc6e18c44976",
      "FileName": "sample string 2",
      "Description": "sample string 3",
      "FileExtension": "sample string 4",
      "FileSize": 5,
      "ContentType": "sample string 6",
      "FilePath": "sample string 7"
    }
  ],
  "Status_ID": 12,
  "Location": "sample string 13",
  "AreaId": "677bbb3e-7619-4098-a4ef-ee51540d277b",
  "RowId": "a71edcfe-9f9a-42b1-88ac-6f9cbff3bb5e",
  "PositionId": "5e7fe155-1adf-4a9b-ac32-e50491bdcf6d"
}

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>677bbb3e-7619-4098-a4ef-ee51540d277b</AreaId>
  <Consolidation_ID>f44d477b-f200-41bc-9552-789127cd0c3c</Consolidation_ID>
  <ContainerNumber>sample string 9</ContainerNumber>
  <ContainerType_ID>3</ContainerType_ID>
  <Description>sample string 8</Description>
  <Height>sample string 6</Height>
  <Length>sample string 4</Length>
  <Location>sample string 13</Location>
  <Package_IDs xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:guid>72805e4e-b91c-4739-a3f4-d36e9f2e5b01</d2p1:guid>
    <d2p1:guid>6c81ac59-bccb-4523-90b0-337ad9db2145</d2p1:guid>
  </Package_IDs>
  <PositionId>5e7fe155-1adf-4a9b-ac32-e50491bdcf6d</PositionId>
  <RepackAttachments>
    <RepackAttachmentModel>
      <Attachment_ID>76300557-1003-4c86-b076-fc6e18c44976</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>76300557-1003-4c86-b076-fc6e18c44976</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>a71edcfe-9f9a-42b1-88ac-6f9cbff3bb5e</RowId>
  <SealNo1>sample string 10</SealNo1>
  <SealNo2>sample string 11</SealNo2>
  <Shipment_ID>952c4405-7b64-442d-919d-5d339fabd36b</Shipment_ID>
  <Status_ID>12</Status_ID>
  <Weight>sample string 7</Weight>
  <Width>sample string 5</Width>
</RepackInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"Shipment_ID":"952c4405-7b64-442d-919d-5d339fabd36b","Consolidation_ID":"f44d477b-f200-41bc-9552-789127cd0c3c","ContainerType_ID":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","Package_IDs":["72805e4e-b91c-4739-a3f4-d36e9f2e5b01","6c81ac59-bccb-4523-90b0-337ad9db2145"],"RepackAttachments":[{"Attachment_ID":"76300557-1003-4c86-b076-fc6e18c44976","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"},{"Attachment_ID":"76300557-1003-4c86-b076-fc6e18c44976","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"}],"Status_ID":12,"Location":"sample string 13","AreaId":"677bbb3e-7619-4098-a4ef-ee51540d277b","RowId":"a71edcfe-9f9a-42b1-88ac-6f9cbff3bb5e","PositionId":"5e7fe155-1adf-4a9b-ac32-e50491bdcf6d"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.