---
# System prepended metadata

title: Untitled

---

### Temperature APIS

#### Base URL

`https://dev-rest.humley.com/temperaturedemo/api/temperatures/`

----

#### Requests

##### GET Temperature Window 

`getTemperatureWindow?employeeId=2&location=Cardiff`

-----

##### POST Set Temperature

`setTemperature`

Body

```
{
	"employeeId": 2,
	"location": "Cardiff",
	"temperature": 45
}
```
----

##### Get Temperature

`getTemperature?employeeId=1&location=Cardiff`

-----

##### Get Ticket Status

`tickets/getTicketStatus?ticketId=19`

---

#### POST Create Ticket

`/tickets/createTicket`

----

Body

```
{
	"employeeId": 1,
	"title": "Short weather",
	"description": "The AC needs to be adjusted accordingly",
	"status": "OPEN"
}
```

### Example Data

| EmployeeId | Location 
| -------- | -------- |
1|Manchester
2|Cardiff
3|Cardiff
4|Northampton
5|Manchester
6|Southampton