Overview:

This API allows authorized users to retrieve information about the cases that they are allowed to see in Unee-T.

Useful links:

Where do I get the API Key for a user?

How to access:

The Endpoint is accessible here:
case.unee-t.com/api/cases?apiKey=[your_api_key]

html format:

You can also access the API via any modern browser:
Go to https://case.unee-t.com/api/cases?apiKey=[user_api_key].

Available information

With this API you will be able to get the following data:

Title:DefinitionExample of a payload:
unitIdA unique ID for the unit for this case“FI4p3TTqjaWHenWij”
nameName of the Unit“339 Anson Road 03-01”
casesThe list of cases:
– currently Open in this unit.
– where the user is either:
– The Reporter of the case
– The Assigned user for this case
– One of the person invited to that case
cases > assignee > userIdThe unique ID for the user assigned to this case.“irSffzPiQtaP5vFgC”
cases > assignee > nameName of the user assigned to the case“Jack Daniels”
cases > assignee > roleThe role of the User assigned to this case. This can be one of the following values:
– Contractor
– Management Company
– Tenant
– Landlord/Owner
– Agent
“Management Company “
cases > reporter > userId The unique ID for the user who created this case. “jadTrS7qrNAgHhJvZ”
cases > reporter > name Name of the user who created the case “John Doe”
cases > reporter > role The role of the User who created this case. This can be one of the following values:
– Contractor
– Management Company
– Tenant
– Landlord/Owner
– Agent
“Tenant”
cases > caseIdThe ID of the case.
You can access this case on the Unee-T Case interface by going to the URL:
https://case.unee-t.com/case/[caseId]
“12345”
cases > involvedListThe list of users invited to the case
cases > involvedList > userIdThe unique ID for the user invited to this case. “ySEasWetrESn6CudJ”
cases > involvedList > nameName of the user invited to the case “Derpina Derp”
cases > involvedList > roleThe role of the User who is invited to this case. This can be one of the following values:
– Contractor
– Management Company
– Tenant
– Landlord/Owner
– Agent
“Contractor”
cases > userRelevanceWhat is the involvement of this user in this case.
It can be one or more of the following values:
– Assignee
– Reporter
– Invited
“Assignee”
cases > creationTimeThe Time Stamp when the case was created.
This is UTC time.
“2019-05-14T04:16:40Z”
cases > category The Category for the case.
This can be one of the following values:
– Repair
– Maintenance
– Housekeeping
– Devices
– Renovation
– Complex Project
– Extra Service
– Utilities
– Other
“Repair”
cases > subCategoryThe Sub Category for the case.
This can be one of the following values:
– Electrical
– Plumbing Rep
– Aircon Rep
– Furniture Rep
– Carpentry Rep
– Internet Rep
– Cable TV Rep
– Other Rep
– Aircon M
– Equipment M
– Plumbing M
– Battery repl.
– Other M
– Linens
– Textile
– Curtains
– Cleaning
– Other H
– Key
– Resident Card
– Car Transponder
– Kitchen Utensils
– Furniture D
– Safe box
– Equipment D
– Other D
– Structural Defect
– Carpentry Ren
– Parquet Polishing
– Painting
– Other Ren
– Flat Set Up
– Light Renovation
– Flat Refurbishing
– Hand Over
– Basic Check
– Store room Clearance
– Other CP
– Laundry
– Ironing
– Housekeeping
– Cable Channel
– Internet Upgrade
– Beds
– Baby Cot
– Airport Transportation
– Welcome Basket
– Dish Washing
– Other ES
– NOT SPECIFIED
– SP Services
– Gas
– Meter Reading
– Other U
– Internet O
– Cable TV O
– Viewing
– Other
– Late Check IN/OUT
– Early Check IN/OUT
– High Chair
– Equipment
“Aircon Rep”
cases > solutionDeadlineThe date when the case is supposed to be solved/closed.
This is UTC time.
” 2019-05-14 “
cases > nextStepsThe next action planned to make sure this case is solved/closed“Contractor to give quote to replace the faulty part”
cases > nextStepDateTime The Date and Time when the Next step is supposed to happen.
This is UTC time.
“2019-05-17T04:00:00Z”
cases > title The title of the case“Aircon is not working in the master bedroom”
cases > solutionHow we will fix the issue, solve or close the case.“Replace the faulty aircon unit in the Master Bedroom”

More details on the payload:

The REST API will return the following:

{
     "unitId": String,
     "name": String,
     "cases": 
         [{
             "assignee": 
                 {
                     "userId": String,
                     "name": String,
                     "role": String
                 },
             "reporter": 
                 {
                     "userId": String,
                     "name": String,
                     "role": String
                 },
             "caseId": int,
             "involvedList": 
                 [
                     {
                         "userId": String,
                         "name": String,
                         "role": String
                     },
                     {
                         "userId": String,
                         "name": String,
                         "role": String
                     }
                 ],
             "userRelevance": 
                 [
                     String
                 ],
             "creationTime": String (Date in ISO format),
             "Category": String, 
             "subCategory": String, 
             "solutionDeadline": String (Date in ISO format),
             "nextSteps": String, 
             "nextStepDateTime": String (Date in ISO format) , 
             "title": String,
             "solution": String
         }]
 }
Tagged:

Leave a Reply