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 SR list based on the interval using the following API Request. 

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

Service NameHTTP Method
SR_GetSRListByInterval 

POST


Code Block
themeDJango
titleSample Request
linenumberstrue
{
  "ServiceName": "SR_GetSRListByInterval",
  "objCommonParameters": {
    "_ProxyDetails": {
      "AuthType": "APIKEY",
      "APIKey": "XXXXX",
      "ProxyID": 0,
      "ReturnType": "JSON",
      "OrgID": 1
    },
    "Instance": "Info",
    "Interval": 5,
    "srStatus": ""
  }
}

Request Parameters

Parameter NameTypeDescriptionType

 Instance 

Status
colourGreen
titleString

Name of the Instance.

For Example: Info,

Status
colourGreen
titletrue

 Interval 

Status
colourGrey
titleinteger

Number of SRs to be displayed in the Response.

Status
colourGreen
titletrue

srStatus

Status
colourGreen
titleString

Status of the Service Request.

Status
colourGrey
titlefalse

DJango
Code Block
theme
titleSample Response
linenumberstrue
{
    "Errors": "",
    "Message": null,
    "Output": "",
    "TokenID": null,
    "OrgID": 0,
    "OutputObject": [
        {
            "Org_Id": 1,
            "Ticket_ID": 2685,
            "Ticket_No": "SR2694",
            "Reg_Time": "2017-03-23 13:23:14",
            "STATUS": "New",
            "Medium": "Web",
            "LoggedBy": 11,
            "LoggedBy_EmailID": "john@xyz.com",
            "ClassificationID": 42,
            "Classification": "/testh",
            "CatalogID": 2356,
            "Category": "/Desktop",
            "CategoryID": 1,
            "Subject": "New Service Request raised for -Desktop\\March 2nd II",
            "Pending_Code": null,
            "PendingReason": null,
            "Severity": 0,
            "TicketNumber": "2694",
            "Severity_Name": null,
            "Severity_Display": null,
            "PriorityName": null,
            "Criticality": 0,
            "Criticality_Name": null,
            "Impact": 0,
            "SLA": 0,
            "SLA_Name": null,
            "Assigned_Workgroup": 21,
            "WG_Name": "Audit Log Testing",
            "Assigned_Engineer": null,
            "Assigned_Engineer_Name": null,
            "Assigned_Engineer_Email": null,
            "Assigned_Engineer_EmpID": null,
            "Response_Deadline": null,
            "Response_Time": null,
            "Response_SLA_Met": null,
            "Response_SLA_Reason": null,
            "Resolution_Deadline": null,
            "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": "Service Request Information",
            "Solution": null,
            "Userlog": null,
            "Internallog": null,
            "CALLER": 11,
            "Caller_Name": "abc",
            "Caller_EmailID": "john@xyz.com",
            "Sup_Function": "Info",
            "Sup_Function_Name": "Information Technology",
            "KB": null,
            "ParentTicketID": null,
            "Updated_Time1": "2017-03-23 13:23:14",
            "Updated_Time": "2017-03-23 13:23:14",
            "Schedule_Date": null,
            "Target_Completion_Date": null,
            "Resolution_SLAOfSeverity": null,
            "UserID": 11,
            "ManualEscalationDate": null,
            "ManualEscalationLevelID": null,
            "ManualEscalationRemarks": null,
            "Impact_Name": null,
            "NotificationMethod": null,
            "ServiceRequestTypeName": "Service Catalog",
            "ServiceRequestTypeId": 0,
            "ServiceCategoryName": "Desktop",
            "CategoryCatalogName": "Desktop\\March 2nd II",
            "IsApproved": true,
            "ActualRegTime": "2017-03-23 13:23:14",
            "SR_Status": "Approved",
            "CancellationRemarks": null,
            "StrCatalogID": null,
            "ServiceCategoryId": 1,
            "Response_PriorityName": null,
            "Response_DeadlineMinutes": null,
            "ResolveSRUsingLastWO": false,
            "ClosureCategory": null,
            "ResolutionCode": null,
            "ResolutionCodeName": null,
            "ClosureRemarks": null,
            "TicketClosingMode": "Auto"
        }
    ]
}

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

| |