Skip to main content
POST
Create data types in bulk

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Body

application/json
data_types
object[]
required

Data types to create, maximum 1000 per request. Each item uses the same body as Create data type: name (required, unique in the organization), fields (required), limitUser, commonData. Each field needs id (letters, digits, - and _ only), title, type and required; optionData is required for option fields. Optional rec_index is echoed back so you can match results to your input.

Maximum array length: 1000

Response

Success

success
integer

Number of data types created.

failed
integer

Number of items that failed.

data_types
object[]

Result per item, in request order.

failed_index
integer[]

rec_index of failed items, when sent.