- Created by Chilukuri Srinivasa Reddy, last modified by Shilpa K on Apr 23, 2024
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 12 Next »
You can retrieve the SR List using the following API Request with details such as Instance, Status, From Date, and To Date.
To authenticate the below API, see API Authentication and Authorization.
Service Name | HTTP Method |
---|---|
SR_GetServiceRequestList | POST |
{ "ServiceName": "SR_GetServiceRequestList", "objCommonParameters": { "_ProxyDetails": { "AuthType": "APIKEY", "APIKey": "XXXXX", "TokenID": "", "OrgID": "1", "ReturnType": "JSON", "ProxyID": 0 }, "objSR_SearchFilterParam": { "Executive": 1, "WorkgroupName": "", "CurrentPageIndex": 0, "PageSize": 5, "OrgID": "1", "Instance": "Info", "Status": "Open", "strUpdatedFromDate": "", "strUpdatedToDate": "", "IsWebServiceRequest": true } } }
Request Parameters
Parameter Name | Type | Description | Mandatory |
---|---|---|---|
Executive | BOOLEAN | Is Executive or not. The value is either 0 or 1. The executive is an Analyst.
| TRUE |
WorkgroupName | STRING | Name of the Work Group. You can retrieve multiple workgroup Incidents using comma separation between the workgroup names without a space. For Example: "WorkgroupName": "WG1,WG2,WG3" | FALSE |
CurrentPageIndex | BOOLEAN | Current Index of the page that you are looking into. For Example: If each page contains 10 records and there are 10 pages. Items from 1 to 10 are displayed when you specify the CurrentPageIndex value as 1. | TRUE |
PageSize | INTEGER | Number of records that should be displayed per each page. For Example: Consider you specified the PageSize value as 100. Based on the CurrentPageIndex, the API Response displays 100 records. | FALSE |
OrgID | INTEGER | Unique Identification number of the Organization. | TRUE |
Instance | STRING | Name of the Instance. For Example: Info | TRUE |
Status | STRING | Status of the SRs that should be displayed. | TRUE |
strUpdatedFromDate | STRING | You can select the date range to get the list of SRs. Specify the From Date of the Incidents that you want to be displayed. The format of From Date is YYYY-MM-DD. The From Date starts from 00:00:00 hrs of the selected date. | FALSE |
strUpdatedToDate | STRING | You can select the date range to get the list of SRs. Specify the To Date of the Incidents that you want to be displayed. The format of From Date is YYYY-MM-DD. The To Date ends on 11:59:59 hrs of the selected date. | FALSE |
IsWebServiceRequest | BOOLEAN | Is the Request from Web Service? | TRUE |
{ "Errors": "", "Message": null, "Output": "", "TokenID": "B9D04D5E86FE6269C492795985509D5D02A7417D94F5BF0AC0D60FEDF257EFFBC841 E1BC7FC0D957ADDD450209982DF45999908386704E7EBF4CFDFBF169B684059056876C7917F047539460B 9C2F45DADAD2DDF9C3416DACD577838F3B1D92B247F9C92841C6C08B47D2DE28BDCEBBF4658834A1BB0D22 E0D1A9C083EEA4B457DD7BF2E7499D39214708BD6ACAFA9996AA27F004DB8CD9DEB0AA5CA034C6CC530C9711 9BE9240E48FAD0E145C25A99BCBA845CAE9778293B1F7AB1D232FDEA4", "OrgID": 0, "OutputObject": { "MyTickets": [ { "ROWNUM": 1, "Ticket_ID": "2854", "SR ID": "SR2897", "TotalRows": 3, "Log Time": "2017-06-19 11: 27: 19", "Status": "In-Progress", "Symptom": "New Service Request raised fo", "Description":"sknkjsjk as jkx jkas xjkas jks", "Workgroup Name": "IT infrastructure", "Executive Name": "ExecutiveName", "Assigned_Engineer": 3, "Priority": "Critical", "PriorityColorCode":n ull, "Resolution_SLA": 15, "SLAName": "9/5 Support", "CallerName": "Caller2", "UserTypeColor": null, "UserTypeName": null, "Resolution_ Time": null, "Age": 224, "Resolution_ElapseTime": 0, "SLAProgress": 0, "IsParentRecord": 0, "User ProfileImageName": "6e576306-9fc2-4fcb-95be-d68342e56a1d.jpg", "CallerUpdate": false, "IsChild": 0, "IsParent": 0, "AssignedToMe": 0, "Reopen ed": false, "Updated_Time": "\/Date(1497852348000)\/", "Customer": "Xyz", "Location": "De lhi", "IsAttExists": 0, "Category": "Desktop","Pending Reason": null, "Vendor Incident ID": "", "Vendor Name": "", "Sup_Function": "Info", "Impact_Name": "High", "Urgency_Name": "High", "Classification_Name": "IT Service", "ScheduledDate": null, "ResolutionCodeName": "", "Response_Deadline": "2017-06-20 09: 25: 00", "Resolution_Deadline": "2017-06-20 09: 30: 00", "Response_voilation": "No", "Resolution_voilation": null, "Vendor_status": "", "Vendor IncidentStartDate": null, "VendorIncidentEndDate": null, "PendingApproverName": "Approve d", "AgeClass": "purple", "AgingInfo": "5-10 Days", "SLAPercent": "0", "SLAProgressClass": null, "Remaining SLA Time": null } ], "GridViewDisplayColumns": [ { "LabelName": "Ticket_ID", "Value": "Ticket_ID", "P laceholder": null, "IsCustomField": false }, { "LabelName":"SR ID", "Value": "SR ID", "Placeholder": null, "IsCustomField": false } ] } }
Status and Error Codes
For more information, see Status and Error Messages.
- No labels