Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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.

  • No labels