Retrieving Service Request List

You can retrieve the Service Request list using the following API Request with details such as Instance, Start Date, and End Date.

To authenticate the below API, see API Authentication and Authorization.

Service NameHTTP Method
SR_GetSRList 

POST


Sample Request
{
  "ServiceName": "SR_GetSRList",
  "objCommonParameters": {
    "_ProxyDetails": {
      "AuthType": "APIKey",
      "APIKey": "XXXXXXXXXXXXXXXXXXX",
      "ProxyID": 0,
      "ReturnType": "json",
      "OrgID": 1,
      "TokenID": ""
    },
    "Instance": "Info",
    "SrTicket_No": "",
    "SrFromDate": "",
    "SrToDate": "",
    "srStatus": "",
    "IsGetAllRequest":true
  }
}

Request Parameters

Parameter NameTypeDescriptionMandatory

Instance 

STRING

Name of the Instance.

For Example: Info

TRUE

SrTicket_No

STRING

Unique Identification number of the Service Request.

FALSE

SrFromDate

STRING

You can select the date range to get the list of SRs. Specify the From Date of the SRs that you want to get displayed.

The format of From Date is YYYY-MM-DD. The From Date starts from 00:00:00 hrs of the selected date.

FALSE

SrToDate

STRING

You can select the date range to get the list of SRs. Specify the To Date of the SRs that you want to get displayed.

The format of From Date is YYYY-MM-DD. The To Date ends on 11:59:59 hrs of the selected date.

FALSE

srStatus

STRING

Status of the SRs that should be displayed.

FALSE

IsGetAllRequest 

BOOLEAN

View all SRs.

  • If the IsGetAllRequest value is false, either SrTicket_No or SR Date (SrFromDate and SrToDate) or srStatus is mandatory field along with the Instance.
  • If the IsGetAllRequest value is true, the SR Date (SrFromDate and SrToDate) is mandatory along with the Instance

TRUE

Sample Response
{
  "Errors": "",
  "Message": "",
  "Output": "",
  "TokenID": "54BE02783DF9A37F01F527756FD8A14BE138A570DFD8A3559EDE85EB9A5831104FA9A1A6FBB50A9F5
EF20D781D61DAFF3E06B834F3DB7F1F3397DF570081E4DB6F1CBB086AEB89ADF3023F805B401AC2C6CDC0DC0C9B418E
3C6002EBEB623A3B2ADDE4971B33FD5FB321FDA05E3F36FFAF7838BA741AE94ECBC36945B10B7A4F4B89218E01B2A13
3176911B2BDA924E30B641D0A1F282473
3E4E79D57A5A1CAADD2927C7",
  "OrgID": 0,
  "OutputObject": [
    {
      "Org_Id": 1,
      "Ticket_ID": 2336,
      "Ticket_No": "SR2376",
      "Reg_Time": "2020-06-25 13:06:10",
      "Status": "New",
      "Medium": "Web",
      "LoggedBy": 2,
      "LoggedBy_EmailID": "john@xyz.com",
      "ClassificationID": null,
      "Classification": "",
      "CatalogID": 1753,
      "Category": "",
      "CategoryID": 3,
      "Subject": "New Service Request raised for -Single_Flow\\SoftwareInstallation-ssp",
      "Pending_Code": null,
      "PendingReason": null,
      "Severity": 5,
      "TicketNumber": "2376",
      "Severity_Name": "p2",
      "Severity_Display": "Priority 2",
      "PriorityName": "Priority 2",
      "Criticality": null,
      "Criticality_Name": null,
      "Impact": null,
      "SLA": 4,
      "SLA_Name": "TestSLA",
      "Assigned_Workgroup": 55,
      "WG_Name": "WO Workgroup",
      "Assigned_Engineer": null,
      "Assigned_Engineer_Name": null,
      "Assigned_Engineer_Email": null,
      "Assigned_Engineer_EmpID": null,
      "Response_Deadline": "2020-06-25 13:26:00",
      "Response_Time": null,
      "Response_SLA_Met": null,
      "Response_SLA_Reason": null,
      "Resolution_Deadline": "2020-06-25 13:46:00",
      "Resolution_Time": null,
      "Resolution_SLA_Met": null,
      "Resolution_SLA_Reason": null,
      "Closure_Code": null,
      "ClCode_Name": null,
      "Repeat_Ticket": false,
      "Reopen_Ticket": false,
      "attachments": false,
      "Information": "<br/><br/><b>Asset Information</b><br/>
					Selected Assets:[Category-Asset Location-Asset Code-Serial Number]
					<br/>Laptop-Bengaluru-LAPT/2331-6236-0453-9900-6372-8464-0059-14<br/><br/>",
      "Solution": null,
      "Userlog": null,
      "Internallog": null,
      "Caller": 2,
      "Caller_Name": "john",
      "Caller_EmailID": "john@xyz.com",
      "Sup_Function": "Info",
      "Sup_Function_Name": "Information Technology",
      "KB": null,
      "ParentTicketID": null,
      "Updated_Time1": "2020-07-07 11:12:31",
      "Updated_Time": "2020-07-07 11:12:31",
      "Schedule_Date": null,
      "Target_Completion_Date": null,
      "Resolution_SLAOfSeverity": 40,
      "UserID": 2,
      "ManualEscalationDate": null,
      "ManualEscalationLevelID": null,
      "ManualEscalationRemarks": null,
      "Impact_Name": null,
      "NotificationMethod": null,
      "ServiceRequestTypeName": "Service Catalog",
      "ServiceRequestTypeId": 0,
      "ServiceCategoryName": "Single_Flow",
      "CategoryCatalogName": "Single_Flow\\SoftwareInstallation-ssp",
      "IsApproved": true,
      "ActualRegTime": "2020-06-25 13:06:10",
      "SR_Status": "Approved",
      "CancellationRemarks": null,
      "StrCatalogID": null,
      "ServiceCategoryId": 3,
      "Response_PriorityName": null,
      "Response_DeadlineMinutes": null,
      "ResolveSRUsingLastWO": false,
      "ClosureCategory": null,
      "EnableClosureCategory": null,
      "ResolutionCode": null,
      "ResolutionCodeName": null,
      "ClosureRemarks": null,
      "TicketClosingMode": "Auto",
      "Domain_ID": 1,
      "LoggedOn": "2020-06-25 13:05:59",
      "CC_Email": null,
      "CC_UserID": null,
      "Sub-Workgroup Name": null
    }
  ],
  "OutputID": 0,
  "Input": null
}

Status and Error Codes

For more information, see Status and Error Messages.