Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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


Sample Request
{
  "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 

STRING

Name of the Instance.

For Example: Info,

TRUE

 Interval 

INTEGER

Number of SRs to be displayed in the Response.

TRUE

srStatus

STRING

Status of the Service Request.

FALSE

Sample Response
{
    "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.

  • No labels