Get PSR Statuses for a PsrId

Returns all the PSR statuses for that particular psrId. Every PSR request sent to the platform has a unique psrId. The PSR goes through all the processes in the pipeline and each of those processes generate a PSR status. This endpoint returns all the PSR statuses generated by the processes.

URL

https://{{HOST}}/timeseries/psrstatus/{psr_id}

Method

GET

Required IMS Scopes

  • Read
  • Write

Versions Supported

  • 2.0 (Default)
  • 2.1

URL Path Parameters

Name Description Example Type
psr_id
required
the PSR ID to return GUID string

URL Query Parameters

Name Description Example Type
v
optional
Version of the API to use v=2.0 string

Request Header Parameters

Type Value Description
Authentication Bearer {access_token}
required
Retrieve access token
Content-Type application/json
required
Description

Example

Request

curl -X GET 
  'https://{{HOST}}/timeseries/psrstatus/61a86f54-7112-4533-9115-d13c7bc7203e' 
  -H 'Authorization: Bearer {access_token}' 
  -H 'Cache-Control: no-cache' 
  -H 'Content-Type: application/json'

Response

{
    "psrId": "61a86f54-7112-4533-9115-d13c7bc7203e",
    "chunkId": "2",
    "log": [
        "psrId: 61a86f54-7112-4533-9115-d13c7bc7203e|nProcessName: AcceptPsr|ningestTimestamp: 7/13/2018 2:32:44 AM|norgId: Unknown| appId: Unknown| IP address: Unknown|nsampleCount: 1|norgVerification: NotPerformed| timeseriesIdVerification: NotPerformed|ntimeseriesIds: cbd573df-a2ee-4de5-83e1-56127beb4702, |n"
    ],
    "status": {
        "Status": "Completed",
        "processTimeAcceptPsr": -200
    }
}

Errors

Error Description

Response Body Parameters

Name Description Schema
psrId PSR ID string
chunkId Chunk ID integer
log Processing logs string
status.Status PSR Status string
status.processTimeAcceptPsr Time to start processing int