POST api/WRPackages/CreateWithWR

Request Information

URI Parameters

None.

Body Parameters

CreatePackageWithWRInputModel
NameDescriptionTypeAdditional information
PackageImages

Collection of GetPackageImage

None.

StatusId

integer

None.

ProNo

string

None.

TrackingNo

string

None.

PackageTypeId

integer

None.

Length

string

None.

Width

string

None.

Height

string

None.

Weight

string

None.

Location

string

None.

AreaId

globally unique identifier

None.

RowId

globally unique identifier

None.

PositionId

globally unique identifier

None.

Description

string

None.

WarehouseId

integer

None.

WRStatusId

integer

None.

LocationTypes

Collection of GetLocationTypeInputModel

None.

Request Formats

application/json, text/json

Sample:
{
  "PackageImages": [
    {
      "ImageId": "22101372-95fd-4533-96d1-6de9126a1663",
      "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": "22101372-95fd-4533-96d1-6de9126a1663",
      "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"
    }
  ],
  "StatusId": 1,
  "ProNo": "sample string 2",
  "TrackingNo": "sample string 3",
  "PackageTypeId": 1,
  "Length": "sample string 4",
  "Width": "sample string 5",
  "Height": "sample string 6",
  "Weight": "sample string 7",
  "Location": "sample string 8",
  "AreaId": "10f82e36-e5bd-4cf0-8bbc-278cc72ca000",
  "RowId": "e87e2cca-8517-4773-8319-0c92088935e9",
  "PositionId": "44d4e50c-b69e-470d-9500-4786d80ce107",
  "Description": "sample string 9",
  "WarehouseId": 10,
  "WRStatusId": 11,
  "LocationTypes": [
    {
      "LocationId": 1,
      "CompanyId": 1,
      "SiteId": 1,
      "POCId": 1,
      "LocationTypeId": 1,
      "POCIds": [
        1,
        2
      ]
    },
    {
      "LocationId": 1,
      "CompanyId": 1,
      "SiteId": 1,
      "POCId": 1,
      "LocationTypeId": 1,
      "POCIds": [
        1,
        2
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<CreatePackageWithWRInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
  <AreaId>10f82e36-e5bd-4cf0-8bbc-278cc72ca000</AreaId>
  <Description>sample string 9</Description>
  <Height>sample string 6</Height>
  <Length>sample string 4</Length>
  <Location>sample string 8</Location>
  <LocationTypes>
    <GetLocationTypeInputModel>
      <CompanyId>1</CompanyId>
      <LocationId>1</LocationId>
      <LocationTypeId>1</LocationTypeId>
      <POCId>1</POCId>
      <POCIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </POCIds>
      <SiteId>1</SiteId>
    </GetLocationTypeInputModel>
    <GetLocationTypeInputModel>
      <CompanyId>1</CompanyId>
      <LocationId>1</LocationId>
      <LocationTypeId>1</LocationTypeId>
      <POCId>1</POCId>
      <POCIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </POCIds>
      <SiteId>1</SiteId>
    </GetLocationTypeInputModel>
  </LocationTypes>
  <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>22101372-95fd-4533-96d1-6de9126a1663</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>22101372-95fd-4533-96d1-6de9126a1663</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>
  <PackageTypeId>1</PackageTypeId>
  <PositionId>44d4e50c-b69e-470d-9500-4786d80ce107</PositionId>
  <ProNo>sample string 2</ProNo>
  <RowId>e87e2cca-8517-4773-8319-0c92088935e9</RowId>
  <StatusId>1</StatusId>
  <TrackingNo>sample string 3</TrackingNo>
  <WRStatusId>11</WRStatusId>
  <WarehouseId>10</WarehouseId>
  <Weight>sample string 7</Weight>
  <Width>sample string 5</Width>
</CreatePackageWithWRInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"PackageImages":[{"ImageId":"22101372-95fd-4533-96d1-6de9126a1663","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":"22101372-95fd-4533-96d1-6de9126a1663","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"}],"StatusId":1,"ProNo":"sample string 2","TrackingNo":"sample string 3","PackageTypeId":1,"Length":"sample string 4","Width":"sample string 5","Height":"sample string 6","Weight":"sample string 7","Location":"sample string 8","AreaId":"10f82e36-e5bd-4cf0-8bbc-278cc72ca000","RowId":"e87e2cca-8517-4773-8319-0c92088935e9","PositionId":"44d4e50c-b69e-470d-9500-4786d80ce107","Description":"sample string 9","WarehouseId":10,"WRStatusId":11,"LocationTypes":[{"LocationId":1,"CompanyId":1,"SiteId":1,"POCId":1,"LocationTypeId":1,"POCIds":[1,2]},{"LocationId":1,"CompanyId":1,"SiteId":1,"POCId":1,"LocationTypeId":1,"POCIds":[1,2]}]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.