API Reference

Retrieve a single operation

Description

Retrieves an operation given its ID.

GET /operations/{operationId}

🚧

Required OAuth Scopes:

No OAuth scopes are required to use this endpoint.

Parameters

ParameterInTypeRequiredDescription
operationIdpathstringtrueThe unique identifier of the operation

Code Samples

curl -X GET https://api.app.wdesk.com/platform/v1/operations/{operationId}  \ 
-H 'Accept: application/json' \ 
-H 'Authorization: Bearer {access-token}'
http GET https://api.app.wdesk.com/platform/v1/operations/{operationId}  \ 
Accept:application/json \ 
Authorization:"Bearer {access-token}"
wget --method=GET "https://api.app.wdesk.com/platform/v1/operations/{operationId}" \
 --output-document -  \ 
 --header 'Accept: application/json' \ 
 --header 'Authorization: Bearer {access-token}'
import requests
headers = {
  'Accept': 'application/json',
  'Authorization': 'Bearer {access-token}'
}

r = requests.get('https://api.app.wdesk.com/platform/v1/operations/{operationId}', headers = headers)

print(r.json())

Returns

200 - OK

Returns an Operation object containing details about the requested Operation

Example Responses


{
  "id": "129g274495354cf18edb6b3ea3d023b2",
  "status": "started",
  "created": {
    "dateTime": "2019-10-28T15:03:27Z"
  },
  "updated": {
    "dateTime": "2019-10-28T15:04:20Z"
  }
}