POST_api_credentials

POST /api/credentials

This resource is requested by the MT20W each time that POST /api/credentials/scan results in an HTTP response of 404.

Request

  • Body
    • Type: application/json
  • Schema:

    {
    "primary": "string",
    "badgeId": "string",
    "cardFormat": "string"
    }
    
  • Example:

    {
    "primary": "SYLlKMxuJufanUE20or+qQ==",
    "badgeId": "22",
    "cardFormat": "smart"
    }
    

Response

  • HTTP status code 201 – CREATED