Sites
List block bookings for a site. Each row includes member counts and a status summary so the list view doesn't need a follow-up query.
Default Response
No content
GET /sites/{siteId}/block-bookings HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
No content
List cancellation codes for a site.
falseDefault Response
GET /sites/{siteId}/cancellation-codes HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
[
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}
]Create a new cancellation code for a site.
0falseDefault Response
POST /sites/{siteId}/cancellation-codes HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"code": "text",
"description": "text",
"sequence": 0,
"inactive": false
}Default Response
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}Delete a cancellation code.
Default Response
DELETE /sites/{siteId}/cancellation-codes/{codeId} HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"_id": "text",
"deleted": true
}Update a cancellation code. Code is immutable and cannot be changed.
Default Response
PATCH /sites/{siteId}/cancellation-codes/{codeId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"description": "text",
"sequence": 1,
"inactive": true
}Default Response
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}Create a new category for a site.
Default Response
POST /sites/{siteId}/categories HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"name": "text",
"colour": "text"
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"created_at": "text",
"updated_at": "text"
}Remove a category from a site. Reassigns incidents if needed, archives or fully deletes.
Default Response
Default Response
DELETE /sites/{siteId}/categories/{categoryId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"reassign_to": "text",
"permanent": true
}{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"created_at": "text",
"updated_at": "text",
"deleted": true,
"archived": true
}Update a category for a site.
Default Response
PATCH /sites/{siteId}/categories/{categoryId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"name": "text",
"colour": "text",
"it_map_string": "text"
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"created_at": "text",
"updated_at": "text",
"it_map_string": "text"
}Restore an archived category back to a site.
Default Response
POST /sites/{siteId}/categories/{categoryId}/restore HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"created_at": "text",
"updated_at": "text",
"it_map_string": "text"
}Retrieve a list of sites the user has access to.
Default Response
GET /sites/ HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
[
{
"_id": "text",
"name": "text",
"logo_url": "text",
"created_at": "text",
"updated_at": "text"
}
]Create a new site.
Default Response
POST /sites/ HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}Default Response
{
"_id": "text",
"name": "text",
"created_by": "text",
"created_at": "text",
"updated_at": "text"
}Create a new flag type for a site.
Default Response
POST /sites/{siteId}/flag-types HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"name": "text",
"colour": "text"
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"created_at": "text",
"updated_at": "text"
}Remove a flag type from a site. Archives or fully deletes.
Default Response
DELETE /sites/{siteId}/flag-types/{flagTypeId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"permanent": true
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"created_at": "text",
"updated_at": "text",
"deleted": true,
"archived": true
}Update a flag type for a site.
Default Response
PATCH /sites/{siteId}/flag-types/{flagTypeId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"name": "text",
"colour": "text"
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"created_at": "text",
"updated_at": "text"
}Restore an archived flag type back to a site.
Default Response
POST /sites/{siteId}/flag-types/{flagTypeId}/restore HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"created_at": "text",
"updated_at": "text"
}List housekeeping tasks for a site.
falseDefault Response
GET /sites/{siteId}/housekeeping-tasks HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
[
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"instructions": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}
]Create a new housekeeping task for a site.
0falseDefault Response
POST /sites/{siteId}/housekeeping-tasks HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"code": "text",
"description": "text",
"instructions": "text",
"sequence": 0,
"inactive": false
}Default Response
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"instructions": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}Delete a housekeeping task.
Default Response
DELETE /sites/{siteId}/housekeeping-tasks/{taskId} HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"_id": "text",
"deleted": true
}Update a housekeeping task. Code is immutable and cannot be changed.
Default Response
PATCH /sites/{siteId}/housekeeping-tasks/{taskId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"description": "text",
"instructions": "text",
"sequence": 1,
"inactive": true
}Default Response
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"instructions": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}Create a new incident form for a site.
Default Response
No content
POST /sites/{siteId}/incident-forms HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
No content
Delete an incident form for a site.
Default Response
No content
DELETE /sites/{siteId}/incident-forms/{formId} HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
No content
Update an incident form for a site.
Default Response
No content
PATCH /sites/{siteId}/incident-forms/{formId} HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
No content
Generate a presigned URL for a site logo upload.
Default Response
POST /sites/{siteId}/logo HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"content_type": "image/png"
}Default Response
{
"url": "text",
"object_id": "text"
}Persist an uploaded site logo.
Default Response
PUT /sites/{siteId}/logo HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"object_id": "text"
}Default Response
{
"raw_url": "text",
"source_uri": "text",
"uploaded": true,
"object_id": "text"
}List no-service reasons for a site.
falseDefault Response
GET /sites/{siteId}/no-service-reasons HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
[
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}
]Create a new no-service reason for a site.
0falseDefault Response
POST /sites/{siteId}/no-service-reasons HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"code": "text",
"description": "text",
"sequence": 0,
"inactive": false
}Default Response
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}Delete a no-service reason.
Default Response
DELETE /sites/{siteId}/no-service-reasons/{reasonId} HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"_id": "text",
"deleted": true
}Update a no-service reason. Code is immutable and cannot be changed.
Default Response
PATCH /sites/{siteId}/no-service-reasons/{reasonId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"description": "text",
"sequence": 1,
"inactive": true
}Default Response
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}List out-of-order/out-of-service reasons for a site.
falseDefault Response
GET /sites/{siteId}/out-of-order-reasons HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
[
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"type": "out_of_order",
"inactive": true,
"created_at": "text",
"updated_at": "text"
}
]Create a new out-of-order reason for a site.
0falseDefault Response
POST /sites/{siteId}/out-of-order-reasons HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"code": "text",
"description": "text",
"sequence": 0,
"type": "out_of_order",
"inactive": false
}Default Response
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"type": "out_of_order",
"inactive": true,
"created_at": "text",
"updated_at": "text"
}Delete an out-of-order reason.
Default Response
DELETE /sites/{siteId}/out-of-order-reasons/{reasonId} HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"_id": "text",
"deleted": true
}Update an out-of-order reason. Code is immutable and cannot be changed.
Default Response
PATCH /sites/{siteId}/out-of-order-reasons/{reasonId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"description": "text",
"sequence": 1,
"type": "out_of_order",
"inactive": true
}Default Response
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"type": "out_of_order",
"inactive": true,
"created_at": "text",
"updated_at": "text"
}Resolve a list of identifiers (student IDs and/or emails) to people in the site's tenant. Used by the bulk booking paste/upload flow to map raw input to person records.
Default Response
No content
POST /sites/{siteId}/people/resolve HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"identifiers": [
"text"
]
}Default Response
No content
Create a new priority for a site.
Default Response
POST /sites/{siteId}/priorities HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"name": "text",
"colour": "text",
"notify": true
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"created_at": "text",
"updated_at": "text",
"notify": true
}Remove a priority from a site. Reassigns incidents if needed, archives or fully deletes.
Default Response
Default Response
DELETE /sites/{siteId}/priorities/{priorityId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"reassign_to": "text",
"permanent": true
}{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"created_at": "text",
"updated_at": "text",
"notify": true,
"deleted": true,
"archived": true
}Update a priority for a site.
Default Response
PATCH /sites/{siteId}/priorities/{priorityId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"name": "text",
"colour": "text",
"notify": true
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"created_at": "text",
"updated_at": "text",
"notify": true
}Restore an archived priority back to a site.
Default Response
POST /sites/{siteId}/priorities/{priorityId}/restore HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"created_at": "text",
"updated_at": "text",
"notify": true
}Retrieve a site.
Default Response
GET /sites/{siteId} HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"name": "text",
"created_by": "text",
"created_at": "text",
"updated_at": "text",
"incident_tracker_main_location_id": "text",
"default_status_pipeline": [
{
"_id": "text",
"key": "text",
"name": "text",
"colour": "text",
"position": 1,
"is_terminal": true
}
],
"categories": [
{
"_id": "text",
"name": "text",
"colour": "text",
"it_map_string": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"can_delete": true,
"status_pipeline": [
{
"_id": "text",
"key": "text",
"name": "text",
"colour": "text",
"position": 1,
"is_terminal": true
}
]
}
],
"sources": [
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"can_delete": true
}
],
"priorities": [
{
"_id": "text",
"name": "text",
"colour": "text",
"archived": true,
"notify": true,
"sites": [
"text"
],
"archived_sites": [
"text"
],
"can_delete": true
}
],
"archived_categories": [
{
"_id": "text",
"name": "text",
"colour": "text",
"it_map_string": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
]
}
],
"archived_sources": [
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"can_delete": true
}
],
"archived_priorities": [
{
"_id": "text",
"name": "text",
"colour": "text",
"archived": true,
"notify": true,
"sites": [
"text"
],
"archived_sites": [
"text"
]
}
],
"flag_types": [
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"can_delete": true
}
],
"welfare_states": [
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"can_delete": true
}
],
"archived_flag_types": [
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"can_delete": true
}
],
"archived_welfare_states": [
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"can_delete": true
}
],
"incident_forms": [
{
"_id": "text",
"name": "text",
"site": "text",
"categories": [
"text"
],
"fields": [
{
"_id": "text",
"label": "text",
"field_type": "text",
"required": true,
"options": [
"text"
],
"order": 1
}
],
"created_at": "text",
"updated_at": "text"
}
],
"photo_url": "text",
"logo_url": "text",
"permission": "text"
}Update a site.
Default Response
PATCH /sites/{siteId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"name": "text",
"photo_url": "text",
"logo_url": "text",
"incident_tracker_main_location_id": "text"
}Default Response
{
"_id": "text",
"name": "text",
"photo_url": "text",
"logo_url": "text",
"created_by": "text",
"created_at": "text",
"updated_at": "text",
"incident_tracker_main_location_id": "text"
}List room move reasons for a site.
falseDefault Response
GET /sites/{siteId}/room-move-reasons HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
[
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}
]Create a new room move reason for a site.
0falseDefault Response
POST /sites/{siteId}/room-move-reasons HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"code": "text",
"description": "text",
"sequence": 0,
"inactive": false
}Default Response
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}Delete a room move reason.
Default Response
DELETE /sites/{siteId}/room-move-reasons/{reasonId} HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"_id": "text",
"deleted": true
}Update a room move reason. Code is immutable and cannot be changed.
Default Response
PATCH /sites/{siteId}/room-move-reasons/{reasonId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"description": "text",
"sequence": 1,
"inactive": true
}Default Response
{
"_id": "text",
"site": "text",
"code": "text",
"description": "text",
"sequence": 1,
"inactive": true,
"created_at": "text",
"updated_at": "text"
}Create a new source for a site.
Default Response
POST /sites/{siteId}/sources HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"name": "text",
"colour": "text"
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"created_at": "text",
"updated_at": "text"
}Remove a source from a site. Reassigns incidents if needed, archives or fully deletes.
Default Response
Default Response
DELETE /sites/{siteId}/sources/{sourceId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"reassign_to": "text",
"permanent": true
}{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"created_at": "text",
"updated_at": "text",
"deleted": true,
"archived": true
}Update a source for a site.
Default Response
PATCH /sites/{siteId}/sources/{sourceId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"name": "text",
"colour": "text"
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"created_at": "text",
"updated_at": "text"
}Restore an archived source back to a site.
Default Response
POST /sites/{siteId}/sources/{sourceId}/restore HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"created_at": "text",
"updated_at": "text"
}Get the site default status pipeline.
Default Response
No content
GET /sites/{siteId}/status-pipeline HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
No content
Update the site default status pipeline.
Default Response
No content
PATCH /sites/{siteId}/status-pipeline HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 104
{
"statuses": [
{
"_id": "text",
"key": "text",
"name": "text",
"colour": "text",
"position": 1,
"is_terminal": true
}
]
}Default Response
No content
Set or clear a site-specific category status pipeline override.
Default Response
No content
PATCH /sites/{siteId}/categories/{categoryId}/status-pipeline HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 104
{
"statuses": [
{
"_id": "text",
"key": "text",
"name": "text",
"colour": "text",
"position": 1,
"is_terminal": true
}
]
}Default Response
No content
Create a new welfare state for a site.
Default Response
POST /sites/{siteId}/welfare-states HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"name": "text",
"colour": "text"
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"created_at": "text",
"updated_at": "text"
}Remove a welfare state from a site. Archives or fully deletes.
Default Response
DELETE /sites/{siteId}/welfare-states/{welfareStateId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"permanent": true
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"created_at": "text",
"updated_at": "text",
"deleted": true,
"archived": true
}Update a welfare state for a site.
Default Response
PATCH /sites/{siteId}/welfare-states/{welfareStateId} HTTP/1.1
Host: api.kitehouse.co.uk
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"name": "text",
"colour": "text"
}Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"created_at": "text",
"updated_at": "text"
}Restore an archived welfare state back to a site.
Default Response
POST /sites/{siteId}/welfare-states/{welfareStateId}/restore HTTP/1.1
Host: api.kitehouse.co.uk
Accept: */*
Default Response
{
"_id": "text",
"name": "text",
"colour": "text",
"sites": [
"text"
],
"archived_sites": [
"text"
],
"created_at": "text",
"updated_at": "text"
}Last updated
Was this helpful?

