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 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


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

Status
colourGreen
titleString

Name of the Instance.

For Example: Info

Status
colourGreen
titletrue

SrTicket_No

Status
colourGreen
titleString

Unique Identification number of the Service Request.

Status
colourGrey
titlefalse

SrFromDate

Status
colourGreen
titleString

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.

Status
colourGrey
titlefalse

SrToDate

Status
colourGreen
titleString

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.

Status
colourGrey
titlefalse

srStatus

Status
colourGreen
titleString

Status of the SRs that should be displayed.

Status
colourGrey
titlefalse

IsGetAllRequest 

Status
colourBlue
titleBoolean

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

Status
colourGreen
titletrue

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

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

| |