Retrieve Service Request with Approvals

Prev Next

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

Service Name

HTTP 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 Name

Type

Description

Mandatory

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
}