Fetch machine provision request status
POST/api/v1/machines/provision-requests/status
This API endpoint retrieve the status of a machine provision request.
Request
Query Parameters
id int32required
The id - unique id of the provision request
Responses
- 200
Success response
- application/json
- Schema
- Example (from schema)
- Fetch machine provision request status example
Schema
success boolean
message string
status string
statusCode int32
errorCode string
subErrors object[]
payload
object
Schema for machine provision request status response type
statusCode string
status int32
{
"success": true,
"message": "string",
"status": "string",
"statusCode": 0,
"errorCode": "string",
"subErrors": [
{}
],
"payload": {
"statusCode": "string",
"status": 0
}
}
Fetch machine provision request status response example
{
"success": true,
"message": "Machine provisioning request status fetched successfully",
"status": "OK",
"statusCode": 200,
"errorCode": "",
"subErrors": [
{}
],
"payload": {
"statusCode": "PENDING",
"status": 0
}
}
Loading...