POST api/Place/GetPlaceCodeInfo

Request Information

URI Parameters

None.

Body Parameters

PlaceCodeInfoRequest
NameDescriptionTypeAdditional information
OfficeCode

string

None.

WarehouseCode

string

None.

PacketTypeCode

byte

None.

Barcode

string

None.

SectionCode

string

None.

CheckInventory

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "officeCode": "sample string 1",
  "warehouseCode": "sample string 2",
  "packetTypeCode": 64,
  "barcode": "sample string 4",
  "sectionCode": "sample string 5",
  "checkInventory": true
}

application/xml, text/xml

Sample:
<PlaceCodeInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VolisServer.DTOs.Place">
  <Barcode>sample string 4</Barcode>
  <CheckInventory>true</CheckInventory>
  <OfficeCode>sample string 1</OfficeCode>
  <PacketTypeCode>64</PacketTypeCode>
  <SectionCode>sample string 5</SectionCode>
  <WarehouseCode>sample string 2</WarehouseCode>
</PlaceCodeInfoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfPlaceCodeInfo
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Errors

Collection of string

None.

Code

integer

None.

Data

PlaceCodeInfo

None.

Warning

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "errors": [
    "sample string 1",
    "sample string 2"
  ],
  "code": 3,
  "data": {
    "placeCode": "sample string 1",
    "sectionCode": "sample string 2",
    "palletCode": "sample string 3",
    "packageCode": "sample string 4",
    "inventory": 5.0,
    "packetTypeCode": 64
  },
  "warning": true
}

application/xml, text/xml

Sample:
<ResponseModelOfPlaceCodeInfokeWr5JBa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VolisServer.CustomClasses">
  <Code>3</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/VolisServer.DTOs.Place">
    <d2p1:Inventory>5</d2p1:Inventory>
    <d2p1:PackageCode>sample string 4</d2p1:PackageCode>
    <d2p1:PacketTypeCode>64</d2p1:PacketTypeCode>
    <d2p1:PalletCode>sample string 3</d2p1:PalletCode>
    <d2p1:PlaceCode>sample string 1</d2p1:PlaceCode>
    <d2p1:SectionCode>sample string 2</d2p1:SectionCode>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Message>sample string 2</Message>
  <Success>true</Success>
  <Warning>true</Warning>
</ResponseModelOfPlaceCodeInfokeWr5JBa>