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

« Previous Version 13 Current »

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": "585E59B9CAFC232DF669D49A11D95B6858DCB35FC05F2AF1B1BAA8C130A86854E0E9B621CAA1F287FB4087CF08A6C8650297BF273E3EDA1607935ED466105535C3422F87E0EC1B776C2D84EE8D0A2EA2048F8CBDCCF246145CEBDD8E8278B838FA9B6AE2EF9D8D48D72403A3E39F39955B5E61A48B34BA6F2A49934EDB842838842DC949B44795957F76679E1000AC0502104976210884D3E1D2D3926C7ED30BA3C0304D",
    "OrgID": 0,
    "OutputObject": [
        {
            "Org_Id": 1,
            "Ticket_ID": 942,
            "Ticket_No": "SR959",
            "Reg_Time": "2022-09-23 04:58:52",
            "Final_Approval_Time": "2022-09-23 05:04:21",
            "Status": "New",
            "Medium": "Web",
            "LoggedBy": 33,
            "LoggedBy_EmailID": harshitha.bk@symphonysummit.com,
            "ClassificationID": null,
            "Classification": "",
            "CatalogID": 1145,
            "Category": "",
            "CategoryID": 3,
            "Subject": "New Service Request raised for - Basic Category\\Line Manager catalog -",
            "Pending_Code": null,
            "PendingReason": null,
            "Severity": 6,
            "TicketNumber": "959",
            "Severity_Name": "Priority1",
            "Severity_Display": "P1",
            "PriorityName": "P1",
            "Criticality": null,
            "Criticality_Name": null,
            "Impact": null,
            "SLA": 21,
            "SLA_Name": "9/6",
            "Assigned_Workgroup": 15,
            "WG_Name": "SR Group",
            "Assigned_Engineer": null,
            "Assigned_Engineer_Name": null,
            "Assigned_Engineer_Email": null,
            "Assigned_Engineer_EmpID": null,
            "Response_Deadline": "2022-09-23 05:07:00",
            "Response_Time": null,
            "Response_SLA_Met": null,
            "Response_SLA_Reason": null,
            "Resolution_Deadline": "2022-09-23 05:08: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": "This is just for testing - please ignore",
            "Solution": null,
            "Userlog": null,
            "Internallog": null,
            "Caller": 33,
            "Caller_Name": "Hitha",
            "Caller_EmailID": hitha@symphonysummit.com,
            "Sup_Function": "SR",
            "Sup_Function_Name": "SR Tenant",
            "KB": null,
            "ParentTicketID": null,
            "Updated_Time1": "2022-09-23 05:04:22",
            "Updated_Time": "2022-09-23 05:04:22",
            "Schedule_Date": null,
            "Target_Completion_Date": null,
            "Resolution_SLAOfSeverity": 3,
            "UserID": 33,
            "ManualEscalationDate": null,
            "ManualEscalationLevelID": null,
            "ManualEscalationRemarks": null,
            "Impact_Name": null,
            "NotificationMethod": null,
            "ServiceRequestTypeName": "Service Catalog",
            "ServiceRequestTypeId": 0,
            "ServiceCategoryName": "Basic Category",
            "CategoryCatalogName": "Basic Category\\Line Manager catalog",
            "IsApproved": true,
            "ActualRegTime": "2022-09-23 04:58:52",
            "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": "2022-09-23 04:58:52",
            "CC_Email": null,
            "CC_UserID": null,
            "Sub-Workgroup Name": null,
            "Customer_Name": "QA"
        }
    ],
    "OutputID": 0,
    "Input": null
}

Status and Error Codes

For more information, see Status and Error Messages.

  • No labels