Skip to main content
GET
/
zone
/
site
/
{site_id}
List zones
curl --request GET \
  --url https://api.truecold.io/zone/site/{site_id} \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "code": "<string>",
    "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "temperature_range_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "site_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "soft_deleted": "2023-11-07T05:31:56Z",
    "soft_deleted_by": "<string>"
  }
]

Authorizations

x-api-key
string
header
required

API key for authentication. Contact your administrator to get an API key.

Path Parameters

site_id
string
required

Site ID

Query Parameters

Search term to filter results

page
integer

Page number for pagination

Required range: x >= 1
pageSize
integer

Number of items per page

Required range: 1 <= x <= 100

Response

Successfully retrieved zones

id
string<uuid>

Unique identifier

created_at
string<date-time>

Creation timestamp

updated_at
string<date-time>

Last update timestamp

code
string

code code

account_id
string<uuid>

Account ID

temperature_range_id
string<uuid>

Temperature range ID

site_id
string<uuid>

Site ID

soft_deleted
string<date-time>

Soft deletion timestamp

soft_deleted_by
string

User who soft deleted the record