Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Scroll ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Scroll export button scope current template-id 4fda9400-a7df-4ede-a95f-e4ae5fcf4796 caption Download this Page add-on Scroll PDF Exporter
scope | current |
---|---|
template-id | 4fda9400-a7df-4ede-a95f-e4ae5fcf4796 |
caption | Download this Page |
add-on | Scroll PDF Exporter |
You can retrieve the approvals of an SR using the following API Request with details such as Requestor ID, Requestor Location ID, Catalog ID, and so on.
To authenticate the below API, see API Authentication and Authorization.
Service Name | HTTP Method |
---|---|
SR_GetApprovals | POST |
Code Block | |||||
---|---|---|---|---|---|
| |||||
{ "ServiceName": "SR_GetApprovals", "objCommonParameters": { "_ProxyDetails": { "AuthType": "APIKEY", "APIKey": "XXXXXXXXXXXXXXXX", "ProxyID": 0, "ReturnType": "JSON", "OrgID": 1 }, " ServiceRequestJSON": { "ServiceRequestJson": "{\"RequestorID\":\"11\",\"RequestorLocationID\":\"1861\",\"TicketDetailList\":[],\"CatalogID\":1009,\"PageName\":\"LOG_SR\",\" WorkgroupID\":1,\"ServiceTicketID\":\"0\"}" } } } |
Request Parameters
Parameter Name | Type | Description | Mandatory | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RequestorID |
| Unique Identification number of the Requester. |
| ||||||||||||
RequestorLocationID |
| Location ID of the Requester. |
| ||||||||||||
TicketDetailList |
| Details of the Ticket List. |
| ||||||||||||
CatalogID |
| Unique Identification number of the Service Catalog. |
| ||||||||||||
PageName |
| Name of the page. The values are constant and as follows:
|
| ||||||||||||
WorkgroupID |
| Unique Identification number of the Work Group. |
| ||||||||||||
ServiceTicketID |
| Unique Identification number of the Service Request. |
|
Code Block | theme | DJango|||
---|---|---|---|---|
| ||||
{ "Errors": "", "Message": null, "Output": "", "TokenID": "", "OrgID": 0, "OutputObject": { "CatalogID": 1009, "Instance": "IT Tec", "Activities": [ { "ApproverType": null, "ApproverTypeID": "EndUser", "ApproverID": "1174", "AutoApprovalDurationDays": null, "AutoApprovalDurationHours": null, "AutoApprovalD uration": 0, "SelectIndividual": null, "UserGroupID": null, "WorkgroupID": null, "EmailNotificati on": true, "EnableRefBackToRequestor": true, "EnableRefBackToPrevApprovers": true, "AutoA pprovalType": "approve", "CustomGroupID": null, "ApproverRole": "EndUser", "ApproverUse rName": "", "ApproverUserID": "", "Group_EnableApproverSelection": "False", "GroupApprove rJSON": "", "HeadOfAttributeName": "", "ApproverProfileImageName": "", "HasCompleteAppr ovalFlow": true, "NotificationIDs": null, "ApprovalStatus": null, "ApprovalDate": null, "Approva lRemarks": null, "ReferredBackLevel": 0, "ReferredBackDate": null, "IsApproved": null, "IsCurre ntApprover": false, "IsNewlyAddedApproval": false, "ApprovalForwarded": false, "ForwardTo AllApprover": "", "IsForwardToApproved": false, "ForwardToApprovalDate": null, "ForwardT oApprovalRemarks": null, "ForwardedToApproverUserName": null, "ForwardedToApprover ProfileImageName": null, "Status": "", "AutoApprove": false, "ForwardStatus": "", "IsReferredBac k": null, "ReferredBackBy": null, "ApprovalLevel": "1", "EnableSendMailForApprover": null, "RI D": 2085, "WorkflowID": 1226, "SourceID": null, "TargetID": null, "ExecutionOrder": null, "Positio nX": null, "PositionY": null, "ActionKey": null, "HasCondition": null, "Title": "RM", "UniqueID":nu ll, "ActivityType": "TASK", "ActivityTypeID": 3, "Condition": null, "ConditionJSON": null, "MailT oWGOwner": null, "MailToWG": null, "MailToAssignedTo": null, "MailToCaller": null, "ToList": null, "CCList": null, "MailSubject": null, "MailBody": null, "NotificationType": "email", "Notificati on_AdditionalUser": null, "ActivityID": 3, "ActivityRID": null, "UserName": "peter.paul" } ], "Connections": null, "RequestorID": null, "RequestorLocationID": null, " WorkgroupID": null, "TicketDetailList": null, "PageName": null, "SC_AdditionalInfo": { "FirstLe velNotificationIDs": "", "WorkflowID": 1226 }, "ServiceTicketID": 0, "LastActivityID": null, "IsCart ": null, "CartID": null, "RID": 1226, "VersionNumber": "V9", "Active": null, "CreatedBy": null, "Inclu deInactive": null } } |
Status and Error Codes
For more information, see Status and Error Messages.
Scroll ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|