POST api/Sales/CheckContainerCode

POST api/Sales/CheckContainerCode

Get the informations of a container by providing its Code

Request Information

URI Parameters

None.

Body Parameters

ContainerCode

Container
NameDescriptionTypeAdditional information
ContainerCode

Code of the container

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContainerCode": "sample string 1"
}

application/xml, text/xml

Sample:
<Container xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <ContainerCode>sample string 1</ContainerCode>
</Container>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Success and, if available, Information

ContainerResponse
NameDescriptionTypeAdditional information
Success

Request answered successfully?

boolean

None.

Message

Additional details

string

None.

CardNumber

Card number the container was returned for

string

None.

CardType

Cardtype

string

None.

ContainerPLU

PLU of the container

string

None.

ContainerPrice

Price of the container

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "CardNumber": "sample string 3",
  "CardType": "sample string 4",
  "ContainerPLU": "sample string 5",
  "ContainerPrice": "sample string 6"
}

application/xml, text/xml

Sample:
<ContainerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <CardNumber>sample string 3</CardNumber>
  <CardType>sample string 4</CardType>
  <ContainerPLU>sample string 5</ContainerPLU>
  <ContainerPrice>sample string 6</ContainerPrice>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ContainerResponse>