GET a Request
URL: {{server-url}}/api/v1/request/{{Service-Request-Id}}
Example: http://{{server-url}}/api/request/11
You can fetch the details of a service request ticket by calling the above endpoint with the ticket ID.
You need the following key-values:
Header
Key | Description |
---|---|
Authorization | Bearer/API Key {access token obtained after authorization} |
Example (Request & Response)
Request
curl --location 'http://172.16.12.173/api/request/11' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJsb2dpbl9zc29faWQiOjAsInVzZXJfbmFtZSI6InV1aWQzNi03YzFkY2QzNC0yN2JlLTRjOWUtOWZhNy1mNjhjNzU0NWNjZWMiLCJzY29wZSI6WyJOTy1TQ09QRSJdLCJsb2dpbl9zb3VyY2UiOiJub3JtYWxfbG9naW4iLCJleHAiOjE3NDUzOTY2NTcsImxvZ2luX21zcF9wb3J0YWxfaWQiOjAsImp0aSI6IjhhNDg5MGZmLTJhYjUtNDcyOS1iZjJiLTY5NTk2OWU5ZGExMyIsImNsaWVudF9pZCI6ImZsb3RvLXdlYi1hcHAiLCJ0ZW5hbnRJZGVudGlmaWVyIjoiYXBvbG8ifQ.ceem-25Dntw-ab6RMWdKqhN2rpjLD9KBWyqbuZvL3lcy0cXPg9X8Be5C8_M7VTjwTsOOCdsmRR-ZLiwYtSP3yadOERhUeEMPcCK7E7RNYFM2Mw-TdIdn8noUwDjRTPl27Bq2yTfxM03FGXBgIuFhfpJ3bpuGBFKVp7BTA0fGy9Ac2mhnaBySn0RkIU_pvQNtOpikPD1e98hHcp8T9HIwBqAeWhbz6eCQuU7atnffNuQtB9xf8cJS8fXJ11YZq9HoiuWHDUSOrqfWUVnPHIkYxrVjRCmRLgiWGqc2sFpS2Y7dmzUmqeQG6tgaud5ukPzcgCHkcCS3t1-MW3mY5rYdtw'
Response
{
"id": 11,
"updatedById": 1,
"updatedTime": 1745230723827,
"updatedByName": "adam",
"createdById": 1,
"createdTime": 1745230723733,
"removed": false,
"inActive": false,
"updatebleOob": true,
"deleteableOob": true,
"companyId": 0,
"categoryId": 0,
"subject": "Request for New Laptop",
"description": "Request for New Laptop",
"requesterId": 1,
"requester": "adam@motadata.com",
"requesterName": "adam",
"impactId": 1,
"priorityId": 1,
"urgencyId": 1,
"technicianId": 0,
"groupId": 0,
"statusId": 9,
"locationId": 0,
"templateId": 0,
"lastViolationTime": 0,
"lastOlaViolationTime": 0,
"dueBy": 1746016200000,
"lastOpenedTime": 1745230723723,
"lastResolvedTime": 0,
"firstResponseTime": 0,
"lastClosedTime": 0,
"totalSlaPauseTime": 0,
"supportLevel": "tier0",
"reopened": 0,
"slaViolated": false,
"ccEmailSet": [],
"tags": [],
"fileAttachments": [],
"departmentId": 0,
"fieldValueDetails": {
"81": ""
},
"violatedSlaId": 4,
"oldDueBy": 1746016200000,
"oldResponseDue": 1745843400000,
"responseDue": 1745843400000,
"responseEscalationTime": -1,
"resolutionEscalationTime": -1,
"statusChangedTime": 0,
"responseDueViolated": false,
"totalResolutionTime": 0,
"olaDueBy": 0,
"oldOlaDueBy": 0,
"olaViolated": false,
"olaEscalationTime": -1,
"ucDueBy": -1745230723721,
"oldUcDueBy": 0,
"ucViolated": false,
"lastUcViolationTime": 0,
"ucEscalationTime": 0,
"violatedUcId": 0,
"totalUcOnHoldDuration": 0,
"totalUcWorkingTime": 0,
"totalUcPauseTime": 0,
"totalUcResolutionTime": 0,
"vendorId": 0,
"transitionModelId": 0,
"dueTimeUpdatedManuallyBySystem": false,
"approvalStatusUpdatedBy": 0,
"migrated": false,
"lastApprovedDate": 0,
"spam": false,
"hasSecondaryTickets": false,
"serviceCatalogId": 3,
"vipRequest": false,
"purchaseRequest": false,
"sourceId": 3,
"requestType": "service_request",
"emailReadConfigId": 0,
"isIdentifiedAsProblem": false,
"feedbackRating": 0,
"showIntegrationTab": false,
"apiSuccess": false,
"suggestedCategoryId": 0,
"suggestedGroupId": 0,
"resolvedBy": 0,
"closedBy": 0,
"mergedRequest": false,
"parentRequestId": 0,
"messengerConfigId": 0,
"identifiedAsProblem": false,
"name": "SR-7"
}