POST api/Scanner/Authenticate

Request Information

URI Parameters

None.

Body Parameters

AuthenticateRequest
NameDescriptionTypeAdditional information
terminalId

string

None.

password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "terminalId": "sample string 1",
  "password": "sample string 2"
}

application/xml, text/xml

Sample:
<AuthenticateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmirCupScanner.Models">
  <password>sample string 2</password>
  <terminalId>sample string 1</terminalId>
</AuthenticateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
ReturnMessage

string

None.

ReturnCode

string

None.

ReturnData

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnMessage": "sample string 1",
  "ReturnCode": "sample string 2",
  "ReturnData": {}
}

application/xml, text/xml

Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmirCupScanner.Common">
  <ReturnCode>sample string 2</ReturnCode>
  <ReturnData />
  <ReturnMessage>sample string 1</ReturnMessage>
</ApiResult>