Skip to main content
GET
Sites with what stands on them, who answers for them, and whether their working week is

Headers

Range
string

Limiting and Pagination

Range-Unit
string
default:items

Limiting and Pagination

Prefer
enum<string>

Preference

Available options:
count=none

Query Parameters

id
string
code
string
name
string
company_id
string
company_name
string
business_unit_id
string
business_unit_name
string
city
string
timezone
string
site_head_user_id
string
site_head_name
string
site_head_email
string
alternate_site_head_user_id
string
alternate_site_head_name
string
alternate_site_head_email
string
latitude
string
longitude
string
is_active
string
locations
string
assets
string
workers
string
open_work_orders
string
working_days
string
holidays_this_year
string
custom_fields
string
row_version
string
created_at
string
created_by_id
string
created_by_name
string
created_source
string
updated_at
string
updated_by_id
string
updated_by_name
string
select
string

Filtering Columns

order
string

Ordering

offset
string

Limiting and Pagination

limit
string

Limiting and Pagination

Response

OK

alternate_site_head_email
string<public.citext>
alternate_site_head_name
string<character varying>
Maximum string length: 200
alternate_site_head_user_id
string<uuid>

Note: This is a Foreign Key to capex_invite_candidates.id.

assets
integer<bigint>
business_unit_id
string<uuid>

Note: This is a Foreign Key to business_units.id.

business_unit_name
string<character varying>
Maximum string length: 200
city
string<character varying>
Maximum string length: 120
code
string<character varying>
Maximum string length: 50
company_id
string<uuid>

Note: This is a Foreign Key to depreciation_packs.company_id.

company_name
string<character varying>
Maximum string length: 200
created_at
string<timestamp with time zone>
created_by_id
string<uuid>

Note: This is a Foreign Key to capex_invite_candidates.id.

created_by_name
string<character varying>
Maximum string length: 200
created_source
string<text>
custom_fields
string<jsonb>
holidays_this_year
integer<bigint>
id
string<uuid>

Note: This is a Primary Key.

is_active
boolean<boolean>
latitude
number<numeric>
locations
integer<bigint>
longitude
number<numeric>
name
string<character varying>
Maximum string length: 200
open_work_orders
integer<bigint>
row_version
integer<bigint>
site_head_email
string<public.citext>
site_head_name
string<character varying>
Maximum string length: 200
site_head_user_id
string<uuid>

Note: This is a Foreign Key to capex_invite_candidates.id.

timezone
string<character varying>
Maximum string length: 100
updated_at
string<timestamp with time zone>
updated_by_id
string<uuid>

Note: This is a Foreign Key to capex_invite_candidates.id.

updated_by_name
string<character varying>
Maximum string length: 200
workers
integer<bigint>
working_days
integer<bigint>