Get a Device

To get a device, the client must send a GET request to: /aims/rs/scim/v2/Device/<id>.

The possible HTTP status codes returned are:

  • 200: OK

  • 400: Bad Request

  • 401: Unauthorized

  • 403: Forbidden

  • 404: Not Found

Example request:

Copy
GET /aims/rs/scim/v2/Device/OP_2.047900503536900499999
Host: cms.mycompany.com
Authorization: Bearer h480djs93hd8

Example response:

Copy
HTTP/1.1 200
Content-Type: application/scim+json
 
{
  "id": "OP_2.047900503536900499999",
  "meta": {
    "created": "2023-03-23T14:14:05.049Z",
    "lastModified": "2023-03-23T14:14:05.049Z",
    "location": "https://cms.mycompany.com/aims/rs/scim/v2/Device/OP_2.047900503536900499999",
    "resourceType": "/NplBw9lKg9KwImVlRoY/"
  },
  "status": {
    "status": "AVAILABLE",
    "reason": "NONE"
  },
  "externalIds": [
    {
      "CUID": "47900503536900499999",
      "ATR": "3BD996FF8191FE1FC343323330302D4B4559BA"
    }
  ],
  "schemas": [
    "urn:hid:scim:api:cms:1.0:Device"
  ]
}