You can view the status summary count of Approve Problem Record using the following API.
Service Name | HTTP 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"
}
}
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 Name | Type | Description | Notes |
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" |
Tenant | STRING | ID of the Tenant | Example: “Instance”:“Info” |
User ID | INTEGER | ID of the User | Example: “UserID” |
Sample Response
{
"ServiceName": "PM_GetApprovalStatusSummaryCount",
"objCommonParameters": {
"Instance": "Info",
"_ProxyDetails": {
"Password": "xxxx",
"ProxyID": 0,
"ReturnType": "JSON",
"UserName": "xxxx@xxx.com",
"OrgID": "1"
},
"Status":"All",
"UserID":"1"
}
}