v1

latestOpenAPI 3.0.32026-07-14101033.6 KB
Sets

Create new set or list

This endpoint allows the creation of a new set or list, with its properties and collection of fields.

post/createSet

Request body

namestring required

Name of the set or list

type'set' | 'list' required

Type of the set, either 'set' or 'list'.

groupIdinteger

Group ID, required if type is 'set', should be omitted if the type is 'list'.

Example request

{
  "name": "Final product inspections",
  "type": "set",
  "fields": [
    {
      "label": "Temperature",
      "abbreviation": "Temp",
      "unit": "°C",
      "method": "ASTM E21",
      "type": "numeric"
    }
  ]
}

Response

Set created successfully.

setIdinteger

ID of the created set.

Example response

{
  "setId": 1234
}