GET Provisioning Operation
GET/workspaces/:workspaceId/provisioning-operations/operation-id/:operationId
Get provisioning operation by operation id - V2
Request
Path Parameters
operationId uuidrequired
workspaceId uuidrequired
Responses
- 200
- 404
- 423
Provisioning Token.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
provisioningOperationId uuidrequired
provisioningTokenId uuidrequired
createdTime date-timerequired
expirationTime date-timerequired
state stringrequired
closeReason stringnullable
verificationCode stringrequired
deviceId stringnullable
deviceIdFromDevice stringnullable
deviceIdFromApproval stringnullable
deviceIdFromProvisioningToken stringnullable
attributes
object
nullable
property name* string
lastCompleteAttemptTime date-timenullable
closedTime date-timenullable
approvedTime date-timenullable
completedTime date-timenullable
{
"provisioningOperationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"provisioningTokenId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdTime": "2024-12-17T17:37:35.195Z",
"expirationTime": "2024-12-17T17:37:35.195Z",
"state": "string",
"closeReason": "string",
"verificationCode": "string",
"deviceId": "string",
"deviceIdFromDevice": "string",
"deviceIdFromApproval": "string",
"deviceIdFromProvisioningToken": "string",
"attributes": {},
"lastCompleteAttemptTime": "2024-12-17T17:37:35.195Z",
"closedTime": "2024-12-17T17:37:35.195Z",
"approvedTime": "2024-12-17T17:37:35.195Z",
"completedTime": "2024-12-17T17:37:35.195Z"
}
{
"provisioningOperationId": "b5a599ef-3661-42e4-b225-3aae9482ab32",
"provisioningTokenId": "1b94c3eb-dc18-491d-bde7-2bee32ecd68c",
"createdTime": "2021-11-11T14:00:00+00:00",
"expirationTime": "2021-11-12T14:00:00+00:00",
"state": "Pending",
"verificationCode": "A79XEZD2",
"deviceId": "test-device-01",
"attributes": {
"MACAddress": "00:00:5e:00:53:af"
},
"lastCompleteAttemptTime": "2021-11-11T14:05:00+00:00",
"closedTime": "2021-11-11T14:05:00+00:00"
}
Provisioning operation or workspace not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace is disabled.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Loading...