POST api/Shipments/Packages/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": "bc039fef-bdc8-45d9-9d20-8f41c6ed76d4",
  "Consolidation_ID": "78385050-97aa-4f90-bff4-b9e3547320b6",
  "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": [
    "a4520e94-d369-41ca-a473-fa52b396e646",
    "d63a79a6-7efb-452a-a5b7-1ee231f5b7ee"
  ],
  "RepackAttachments": [
    {
      "Attachment_ID": "bf675c59-63f2-40da-b7af-1bdb36d04d50",
      "FileName": "sample string 2",
      "Description": "sample string 3",
      "FileExtension": "sample string 4",
      "FileSize": 5,
      "ContentType": "sample string 6",
      "FilePath": "sample string 7"
    },
    {
      "Attachment_ID": "bf675c59-63f2-40da-b7af-1bdb36d04d50",
      "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": "57e6f581-51cc-44c4-b6a6-57a8a19fbd16",
  "RowId": "ad1f158e-c5e9-4988-a742-2d7e73ef12b1",
  "PositionId": "7841a195-487a-4c03-a93b-eaff7cda1bf1"
}

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>57e6f581-51cc-44c4-b6a6-57a8a19fbd16</AreaId>
  <Consolidation_ID>78385050-97aa-4f90-bff4-b9e3547320b6</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>a4520e94-d369-41ca-a473-fa52b396e646</d2p1:guid>
    <d2p1:guid>d63a79a6-7efb-452a-a5b7-1ee231f5b7ee</d2p1:guid>
  </Package_IDs>
  <PositionId>7841a195-487a-4c03-a93b-eaff7cda1bf1</PositionId>
  <RepackAttachments>
    <RepackAttachmentModel>
      <Attachment_ID>bf675c59-63f2-40da-b7af-1bdb36d04d50</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>bf675c59-63f2-40da-b7af-1bdb36d04d50</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>ad1f158e-c5e9-4988-a742-2d7e73ef12b1</RowId>
  <SealNo1>sample string 10</SealNo1>
  <SealNo2>sample string 11</SealNo2>
  <Shipment_ID>bc039fef-bdc8-45d9-9d20-8f41c6ed76d4</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":"bc039fef-bdc8-45d9-9d20-8f41c6ed76d4","Consolidation_ID":"78385050-97aa-4f90-bff4-b9e3547320b6","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":["a4520e94-d369-41ca-a473-fa52b396e646","d63a79a6-7efb-452a-a5b7-1ee231f5b7ee"],"RepackAttachments":[{"Attachment_ID":"bf675c59-63f2-40da-b7af-1bdb36d04d50","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"},{"Attachment_ID":"bf675c59-63f2-40da-b7af-1bdb36d04d50","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":"57e6f581-51cc-44c4-b6a6-57a8a19fbd16","RowId":"ad1f158e-c5e9-4988-a742-2d7e73ef12b1","PositionId":"7841a195-487a-4c03-a93b-eaff7cda1bf1"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.