Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated the code macro with the following parameter(s): [theme]
Scroll ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
#F0F0F0#F0F0F0

3

Scroll export button
scopecurrent
template-id4fda9400-a7df-4ede-a95f-e4ae5fcf4796
captionDownload this Page
add-onScroll PDF Exporter

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


Code Block
titleSample Request
linenumberstrue
{
    "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 

Status
colourGrey
titleinteger

Unique Identification number of the Service Catalog.

Status
colourGreen
titletrue

ServiceTicketID 

Status
colourGreen
titleString

Unique Identification number of the Service Request.

Status
colourGreen
titletrue

Code Block
titleSample Response
linenumberstrue
{
    "Errors": "",
    "Message": null,
    "Output": "",
    "TokenID": "",
    "OrgID": 0,
    "OutputObject": true
}

Status and Error Codes

For more information, see Status and Error Messages.

Scroll ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
1

| |