Skip to main content
POST
/
temperature_range
/
many
Create multiple temperature_ranges
curl --request POST \
  --url https://api.truecold.io/temperature_range/many \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "temperature_ranges": [
    {
      "min_temp": 123,
      "max_temp": 123
    }
  ]
}'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "min_temp": 123,
    "max_temp": 123,
    "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "soft_deleted": "2023-11-07T05:31:56Z",
    "soft_deleted_by": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

x-api-key
string
header
required

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

Body

application/json
temperature_ranges
object[]

Response

Successfully created temperature_ranges

id
string<uuid>

Unique identifier

created_at
string<date-time>

Creation timestamp

min_temp
number

Min Temp

max_temp
number

Max Temp

account_id
string<uuid>

Account ID

soft_deleted
string<date-time>

Soft deletion timestamp

soft_deleted_by
string

User who soft deleted the record

updated_at
string<date-time>

Last update timestamp