View Case Details API
This API is used to view case details
View Case Details API - Request URL:
https://people.zoho.com/api/hrcases/viewcase?
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Parameter | Values Allowed | Default View | Description |
*recordId | <Record ID of the case> | <Mandatory> | Specify the record ID of the case |
Success Response Format
Error Response Format
{
"response": {
"message": "Error occurred",
"uri": "/api/hrcases/viewcase",
"errors": {
"status": <Status of action performed>,
"desc": <Description of the error>
},
"status": 1
}
}
Threshold Limit: 30 requests | Lock period: 5 minutes
Threshold Limit - Number of API calls allowed within a minute.
Lock Period - Wait time before consecutive API requests.
Sample Request
Copiedhttps://people.zoho.com/api/hrcases/viewcase?recordId=323150000000281001
Header
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Sample Response
Copied{
"response": {
"result": {
"filesList": [
{
"fileName": "Security_Seminar_Invitation.pdf",
"downloadUrl": "https://people.zoho.com/api/hrcases/downloadFile?&recordId=323150000000686003&fileId=323150000000686025&fileType=1",
"filesize": "32.35 KB",
"fileUploadId": "323150000000686025"
}, ...
],
"caseDetails": {
"agent": {
"empid": "1",
"valueId": "323150000000082005",
"erecno": "323150000000082005",
"employeePhoto": "viewPhoto?filename=567593000000015001",
"name": "1 Admin AD",
"details": "Admin AD",
"typeId": "1",
"type": "Employee",
"zuid": "408541577"
},
"permittedCaseStatus": [],
"subject": "What time does the seminar on Security start tomorrow?",
"description": "Also where in the premises is the seminar held?",
"categoryName": "General Queries",
"requestor": {
"empid": "2",
"erecno": "323150000000082109",
"employeePhoto": "https://contacts.zoho.com/file?ID=409625379&fs=thumb",
"name": "2 Manager MG",
"zuid": "409625379"
},
"statusId": "1",
"isAgent": false,
"categoryIcon": "star",
"caseId": "#00108",
"createdTime": "1559557216353",
"isEscalatedUser": false,
"categoryId": "323150000000281001",
"status": "Open"
},
"needCategoryChange": true,
"sla": {
"nextViolation": "00 : 54 : 22",
"currentStatus": 1,
"isViolated": true
},
},
"message": "Success",
"uri": "/api/hrcases/viewcase",
"status": 0
}
}