Create a form attribute​
This endpoint can create a form attribute
application/json
Request Body required
form_attribute object
form_id string
The id of the form
ne_attribute_id string
The id of the attribute
attr_type string
Possible values: [ne_attribute
, break
]
The attribute type
order int32
The position of the attribute on the form
Responses
- 200
- 400
- 500
Expected response to a valid request
application/json
Schema
Example (from schema)
Schema
form_attribute object
form_id string
The id of the form
ne_attribute_id string
The id of the attribute
attr_type string
Possible values: [ne_attribute
, break
]
The attribute type
order int32
The position of the attribute on the form
id string
The id of the form attribute
{
"form_attribute": {
"form_id": "ac4aae0b-4140-49a4-a84c-126762fd0c8f",
"ne_attribute_id": "ac4aae0b-4140-49a4-a84c-126762fd0c8f",
"attr_type": "ne_attribute",
"order": 1,
"id": "ac4aae0b-4140-49a4-a84c-126762fd0c8f"
}
}
Bad Request - unable to complete.
application/json
Schema
Example (from schema)
Schema
oneOf
InvalidJson
ValidationErrors
error
error
errors
{}
Internal Server Error - returned on unhandled exceptions.
application/json
Schema
Example (from schema)
Schema
error
A message describing the error
{
"error": "Sorry something went wrong"
}
Loading...