Skip to content

Get Schedule Adherence Job Result

Description

Retrieves the results of a previously requested bulk historical adherence job using its ID.

Endpoint

GET https://api.mypurecloud.de/api/v2/workforcemanagement/adherence/historical/bulk/jobs/{jobId}

Request

Headers

  • Authorization: Bearer Token
  • Content-Type: application/json

URI Parameters

Name Type Mandatory Description
jobId String Yes ID of the job to retrieve

Sample Request

N/A (GET request)

CURL Example

curl -X GET 'https://api.mypurecloud.de/api/v2/workforcemanagement/adherence/historical/bulk/jobs/7428d2a5-91ee-4609-bee7-bd84bad6d7d4' \
  -H 'Authorization: Bearer *******************' \
  -H 'Content-Type: application/json'

Response

Body Parameters

Name Type Description
job Object Job details including status
downloadUrls Array URLs to use for downloading the Job Result

Sample Response

{
    "job": {
        "id": "<JOB_ID>",
        "status": "Complete",
        "selfUri": "/api/v2/workforcemanagement/adherence/historical/bulk/jobs/<JOB_ID>"
    },
    "downloadUrls": [
        "https://api-downloads.mypurecloud.de/historicalAdherence/results/userDownloads/historicalAdherence/<GUID>/<GUID>?response-content-disposition=..."
    ]
}