POST api/WRPackages/Repack/Save

Request Information

URI Parameters

None.

Body Parameters

RepackInputModel
NameDescriptionTypeAdditional 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": "e181af31-3035-4a4f-8189-3efab9857196",
  "Consolidation_ID": "d0ad18d0-167b-453b-9d10-eb596281d47f",
  "Release_ID": "f3e156c9-2eb3-4141-997a-00fb842ed0b2",
  "PickupAndDelivery_ID": "856c7682-0020-4369-9eb0-bd61a3d9107b",
  "WR_ID": "fc315d59-cf90-4021-b672-a916c664d987",
  "Booking_Id": "fd15d2ee-0326-4a66-ae5d-4472af2ff7ce",
  "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": [
    "ef533393-9714-436e-b630-e37f33e7f21d",
    "d64672b9-b863-420a-9613-5061640bd586"
  ],
  "RepackAttachments": [
    {
      "Attachment_ID": "1629a5c1-8713-4e4d-bce2-cf2e2b693eb4",
      "FileName": "sample string 2",
      "Description": "sample string 3",
      "FileExtension": "sample string 4",
      "FileSize": 5,
      "ContentType": "sample string 6",
      "FilePath": "sample string 7"
    },
    {
      "Attachment_ID": "1629a5c1-8713-4e4d-bce2-cf2e2b693eb4",
      "FileName": "sample string 2",
      "Description": "sample string 3",
      "FileExtension": "sample string 4",
      "FileSize": 5,
      "ContentType": "sample string 6",
      "FilePath": "sample string 7"
    }
  ],
  "PackageImages": [
    {
      "ImageId": "a32c3d46-f6ca-4a95-b8b5-fcc873b8e6be",
      "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": "a32c3d46-f6ca-4a95-b8b5-fcc873b8e6be",
      "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": "59939ee9-2497-4bad-9db5-55caf1d1ce0d",
  "RowId": "e7addd42-0dae-4248-a7a9-114b60e691ca",
  "PositionId": "6dfac6a0-6184-48f4-8e48-292435719d03"
}

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>59939ee9-2497-4bad-9db5-55caf1d1ce0d</AreaId>
  <Booking_Id>fd15d2ee-0326-4a66-ae5d-4472af2ff7ce</Booking_Id>
  <Consolidation_ID>d0ad18d0-167b-453b-9d10-eb596281d47f</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>a32c3d46-f6ca-4a95-b8b5-fcc873b8e6be</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>a32c3d46-f6ca-4a95-b8b5-fcc873b8e6be</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>ef533393-9714-436e-b630-e37f33e7f21d</d2p1:guid>
    <d2p1:guid>d64672b9-b863-420a-9613-5061640bd586</d2p1:guid>
  </Package_IDs>
  <PickupAndDelivery_ID>856c7682-0020-4369-9eb0-bd61a3d9107b</PickupAndDelivery_ID>
  <PositionId>6dfac6a0-6184-48f4-8e48-292435719d03</PositionId>
  <Release_ID>f3e156c9-2eb3-4141-997a-00fb842ed0b2</Release_ID>
  <RepackAttachments>
    <RepackAttachmentModel>
      <Attachment_ID>1629a5c1-8713-4e4d-bce2-cf2e2b693eb4</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>1629a5c1-8713-4e4d-bce2-cf2e2b693eb4</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>e7addd42-0dae-4248-a7a9-114b60e691ca</RowId>
  <SealNo1>sample string 14</SealNo1>
  <SealNo2>sample string 15</SealNo2>
  <Shipment_ID>e181af31-3035-4a4f-8189-3efab9857196</Shipment_ID>
  <Status_ID>16</Status_ID>
  <WR_ID>fc315d59-cf90-4021-b672-a916c664d987</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":"e181af31-3035-4a4f-8189-3efab9857196","Consolidation_ID":"d0ad18d0-167b-453b-9d10-eb596281d47f","Release_ID":"f3e156c9-2eb3-4141-997a-00fb842ed0b2","PickupAndDelivery_ID":"856c7682-0020-4369-9eb0-bd61a3d9107b","WR_ID":"fc315d59-cf90-4021-b672-a916c664d987","Booking_Id":"fd15d2ee-0326-4a66-ae5d-4472af2ff7ce","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":["ef533393-9714-436e-b630-e37f33e7f21d","d64672b9-b863-420a-9613-5061640bd586"],"RepackAttachments":[{"Attachment_ID":"1629a5c1-8713-4e4d-bce2-cf2e2b693eb4","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"},{"Attachment_ID":"1629a5c1-8713-4e4d-bce2-cf2e2b693eb4","FileName":"sample string 2","Description":"sample string 3","FileExtension":"sample string 4","FileSize":5,"ContentType":"sample string 6","FilePath":"sample string 7"}],"PackageImages":[{"ImageId":"a32c3d46-f6ca-4a95-b8b5-fcc873b8e6be","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":"a32c3d46-f6ca-4a95-b8b5-fcc873b8e6be","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":"59939ee9-2497-4bad-9db5-55caf1d1ce0d","RowId":"e7addd42-0dae-4248-a7a9-114b60e691ca","PositionId":"6dfac6a0-6184-48f4-8e48-292435719d03"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.