Create Next Step of Device Flow

To create the next step of the device personalization flow for a given wallet, the client must send a POST request to: /aims/rs/scm/v2/DeviceFlow/<id>.

The possible HTTP status codes returned are:

  • 201: Created

  • 400: Bad Request

  • 401: Unauthorized

  • 403: Forbidden

  • 409: Conflict

Example request:

Copy
POST /aims/rs/scim/v2/DeviceFlow/<id> HTTP/1.1
Host: cms.mycompany.com
Accept: application/scim+json
Content-Type: application/scim+json
Authorization: Bearer h480djs93hd8
Content-Length: ...

{
  "type": "string",
  "currentStep": "string",
  "steps": [
    "string"
  ],
  "wallet": {
    "value": "string"
  },
  "responses": [
    {
      "name": "string",
      "output": "string"
    }
  ],
  "schemas": [
    "urn:hid:scim:api:cms:1.0:DeviceFlow"
  ]
}

Example response:

Copy
HTTP/1.1 200 OK
Content-Type: application/scim+json
Location: https://cms.mycompany.com/aims/rs/scim/v2/DeviceFlow/3836e020664a13ce1d3168167fae39bc

{
  "id": "3836e020664a13ce1d3168167fae39bc",
  "meta": {
    "created": "2023-09-20T09:30:16.328Z",
    "lastModified": "2023-09-20T09:30:16.328Z",
    "location": "https://cms.mycompany.com/aims/rs/scim/v2/DeviceFlow/3836e020664a13ce1d3168167fae39bc",
    "resourceType": "DeviceFlow"
},
  "type": "string",
  "currentStep": "string",
  "steps": [
    "string"
  ],
  "wallet": {
    "$ref": "string",
    "value": "string",
    "display": "string",
    "type": "string"
  },
  "operations": [
    {
      "name": "string",
      "type": "HTML",
      "payload": "string",
      "parameters": [
        {
          "id": "string",
          "value": "string",
          "type": "string",
          "encoding": "none"
        }
      ]
    }
  ],
  "schemas": [
    "urn:hid:scim:api:cms:1.0:DeviceFlow"
  ]
}