POST api/VendingMachine/ReturnContainer

POST api/VendingMachine/ReturnContainer

Checks a given Vytal Container-QR-Code against the Vytal_Webservice

Request Information

URI Parameters

None.

Body Parameters

ReusableContainer (QR Code as string)

Returncontainer
NameDescriptionTypeAdditional information
Salepoint

string

None.

ReusableContainer

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReusableContainer": "sample string 1",
  "Salepoint": "sample string 1"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseVerifyContainerCode (ID_error, message)

ResponseReturnContainer
NameDescriptionTypeAdditional information
ID_Error

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID_Error": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<Returncontainer.ResponseReturnContainer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <ID_Error>1</ID_Error>
  <Message>sample string 2</Message>
</Returncontainer.ResponseReturnContainer>