GET api/webhook/verifyaccess?device_id={device_id}&content={content}

Überprüft, ob die Zugangsanfrage genehmigt werden kann.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
device_id

Identifiziert das anfragende Gerät durch eine eindeutige 12-stellige HEX-Zeichenfolge.

string

Required

content

Enthält den gescannten Code als Klartext.

string

Required

Body Parameters

None.

Response Information

Resource Description

ComydoResponse
NameDescriptionTypeAdditional information
success

Enthält das Ergebnis der Zugangsanfrage.

boolean

None.

error

Enthält zusätzliche Informationen über den Fehler (Optional).

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "error": "sample string 2"
}

application/xml, text/xml

Sample:
<ComydoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IBook.Comydo.Models">
  <Error>sample string 2</Error>
  <Success>true</Success>
</ComydoResponse>