Check the status of the asynchronous operation.
Check the status of the asynchronous operation you created after the POST, DELETE, or PATCH calls of the Service Instances and Service Bindings API groups.
In the Location response headers of those APIs, you get the path parameters that are required for this API.
You have obtained an access token with the scope required for the operation for which you wish to get status.
For more information, see Accessing the APIs.
URI: https://service-manager.cfapps.<landscape domain>/v1/{resourceType}/{resourceID}/operations/{operationID}
HTTP Method: GET
|
Parameter Name |
Required |
Parameter Type |
Description |
|---|---|---|---|
|
|
Yes |
String |
The type of the SAP Service Manager resource associated with the asynchronous operation. Values:
|
|
|
Yes |
String |
The ID of the resource entity for which to get asynchronous operation status. |
|
|
Yes |
String |
The ID of the asynchronous operation for which to get status. |
Returns details about the requested asynchronous operation, and its associated objects.
**Content Type:**JSON
|
Header |
Values |
|---|---|
|
|
|
|
Code |
Description |
|---|---|
|
200 |
Found asynchronous operation (OK) |
|
400 |
Bad Request |
|
403 |
Forbidden |
|
404 |
Asynchronous operation not found |
Contains details about the last operation, and transitive resources.
|
Parameter Name |
Parameter Type |
Description |
|---|---|---|
|
|
String |
The ID of the last operation. |
|
|
Boolean |
Whether the resource is ready. |
|
|
String |
The type of the operation. Possible values:
|
|
|
String |
Possible values:
While When: |
|
|
String |
Details about the operation for customer-facing UI. |
|
|
String |
The ID of the resource. Present when |
|
|
Array of JSON objects: Error |
The list of errors if the operation has failed. Each
|
|
|
JSON object:
|
Additional data associated with the last operation. Can be an empty object. |
|
|
JSON object:
|
Additional information about the transitive resource. See the next table |
|
Parameter Name |
Parameter Type |
Description |
|---|---|---|
|
|
String |
The ID of the resource. |
|
|
String |
The type of the resource. |
|
|
String |
The type of the operation associated with the resource. |
|
|
String |
The minimum criteria required to use the resource in the context of the platform. |
|
|
String |
The type of the resource associated with the last operation. |
|
|
String |
The ID of the platform associated with the operation. |
|
|
String |
The correlation ID received from the request related to this operation. |
|
|
Boolean |
Whether the operation has reached a checkpoint and can be tried again. |
|
|
String |
The time the resource is scheduled for deletion. In ISO 8601 format:
|
|
|
String |
The time the operation started. In ISO 8601 format:
|
|
|
String |
The last time the resource was updated. In ISO 8601 format:
This field is mandatory if |
{
"id": "dsdssd498da96-e5f3-4402-8",
"ready": true,
"type": "CREATE",
"state": "in progress",
"description": "string",
"resource_id": "string",
"transitive_resources": [
{
"id": "0aba8e41-5e69-44b1-974f-83100",
"type": "string",
"operation_type": "string",
"criteria": "string"
}
],
"resource_type": "string",
"platform_id": "string",
"correlation_id": "string",
"reschedule": true,
"deletion_scheduled": "2020-04-10T22:28:05.215Z",
"created_at": "2020-04-10T22:28:05.215Z",
"updated_at": "2020-04-10T22:28:05.215Z",
"errors": [
{
"error": "string",
"description": "string"
}
],
"labels": {
"label1": [
"value1",
"value2",
"value3"
],
"label2": [
"value1",
"value2",
"value3"
]
}
}
Related Information