Get Status Summary Count of Approve PR

You can view the status summary count of Approve Problem Record using the following API.

To authenticate the below API, see API Authentication and Authorization.

Service NameHTTP Method

PM_GetApprovalStatusSummaryCount

POST

Below is the sample request to view the status summary count of Approve Problem Record

Sample Request
{
    "ServiceName": "PM_GetApprovalStatusSummaryCount",
    "objCommonParameters": {
        "Instance": "Info",
         "_ProxyDetails": {
            "Password": "xxxx",
            "ProxyID": 0,
            "ReturnType": "JSON",
            "UserName": "xxxx@xxx.com",
            "OrgID": "1"
        },
        "Status":"All",
       "UserID":"1"
    }
}

Request Parameters

Parameter NameTypeDescriptionNotes

Status

STRING

Status of the Problem Record 

Example: If the status is “ALL”

“Status”: “All”

For count details of different Status types, you can use the below strings.

"Pending for Approval"

"New"

"Initial Authorization"

"Root Cause Analysis Submitted"

"Root Cause Analysis Approved"

"Reviewed"

"Pre Authorization"

"Referred Back"

"RCA Rejected"

Tenant

STRING

ID of the Tenant

Example:

“Instance”:“Info”

User ID

INTEGER

ID of the User

Example:

“UserID”

Sample Response
{
"Errors": "",
"Message": "",
"Output": "",
"TokenID": "DA7709150877FF601813ABDF78E5417AAE1D2873035DDF68786CFE984A32601D12395E127FDC6E4DED1237789AFDEA5B1A46DB2803AAC5B52E9E657D684C8810BE3ADB54EECD2A5A61C786654A703A0020B70AF5A735D037C086254A012E36CB6B47B1D19FE82D0B1D9C68F401A6214017B43117FE50EFFF932753EF7FB6F5EC52EC5687",
"OrgID": 0,
"OutputObject": {
"Approval_Status_Summary_Counts": [
{
"All": 6,
"Pending for Approval": 3,
"New": 1334,
"Initial Authorization": 2,
"Pre Authorization": 1,
"Referred Back": 6,
"Reviewed": 3,
"Root Cause Analysis Approved": 4,
"Root Cause Analysis Submitted": 2,
"RCA Rejected": 1
}
]
},
"OutputID": 0,
"Input": null
}

Status and Error Codes

For more information, see Status and Error Messages