Formfield
All the endpoints that can be called on the Formfield controller.
Each endpoint requires the FORM_CUD permission, except for GET index, which requires the FORM_READ permission.
Returns all form fields with optional filters such as search queries, views and result limits.
Successful response
GET /api/v2/formfield HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Accept: */*
Successful response
Creates a new form field.
If you want to add multiple required statuses, multiply the required_statuses key and give the empty brackets indices.
type: number
type: string
type: ^(text(area|readonly|hidden)?|select(readonly|hidden)?)$
type: number = null
type: ^(open|pending|holding|solved)$ = null
Successful response
POST /api/v2/formfield HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 103
{
"form_id": "text",
"title": "text",
"input_type": "text",
"field_order": "text",
"required_statuses[]": "text"
}Successful response
Returns this specific form field by ID.
Successful response
GET /api/v2/formfield/{id} HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Accept: */*
Successful response
Updates this form field.
Identical to POST index, except this one also has an external code parameter.
If you want to update multiple required statuses, multiply the required_statuses key and give the empty brackets indices.
type: number
type: string
type: ^[a-z]+$
type: number = null
type: string = null
type: ^(open|pending|holding|solved)$ = null
Successful response
PUT /api/v2/formfield/{id} HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 126
"form_id='text'&title='text'&input_type='text'&field_order='text'&external_code='text'&required_statuses[]='text'"Successful response
Permanently deletes this form field.
Successful response
DELETE /api/v2/formfield/{id} HTTP/1.1
Host: {{base_url}}
Authorization: apikey YOUR_SECRET_TOKEN
Accept: */*
Successful response
Last updated