POST api/VendingMachine/VerifyContainerCode

POST api/VendingMachine/VerifyContainerCode

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

Request Information

URI Parameters

None.

Body Parameters

ReusableContainer (QR Code as string)

Verifycontainercode
NameDescriptionTypeAdditional information
ReusableContainer

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseVerifyContainerCode (ID_error, message)

ResponseVerifyContainerCode
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:
<Verifycontainercode.ResponseVerifyContainerCode 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>
</Verifycontainercode.ResponseVerifyContainerCode>