Retrieve Service Request with Approvals

You can retrieve SRs along with the approvals using the following API Request with details such as Catalog ID and Service Ticket ID.Ā 

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

Service NameHTTP Method
SR_HasApprovalsĀ 

POST


Sample Request
{
    "ServiceName": "SR_HasApprovals",
    "objCommonParameters": {
        "_ProxyDetails": {
            "AuthType": "APIKEY",
            "APIKey": "XXXXXXXXXXXXXXXXXX",
            "ProxyID": 0,
            "ReturnType": "JSON",
            "OrgID": 1
        },
        " ServiceRequestJSON": {
            "ServiceRequestJson":"{\"CatalogID\":1009,\"ServiceTicketID\":\"0\"}"
        }
    }
}

Request Parameters

Parameter NameTypeDescriptionMandatory

CatalogIDĀ 

INTEGER

Unique Identification number of the Service Catalog.

TRUE

ServiceTicketIDĀ 

STRING

Unique Identification number of the Service Request.

TRUE

Sample Response
{
    "Errors": "",
    "Message": null,
    "Output": "",
    "TokenID": "",
    "OrgID": 0,
    "OutputObject": true
}

Status and Error Codes

For more information, seeĀ Status and Error Messages.