Create a form​
This endpoint can create a form
application/json
Request Body required
form object
uid string
The uid of the form
description text
The description of the form
name string
The name of the form
archived boolean
Determines whether the form is archived
Responses
- 200
- 400
- 500
Expected response to a valid request
application/json
Schema
Example (from schema)
Schema
form object
uid string
The uid of the form
description text
The description of the form
name string
The name of the form
archived boolean
Determines whether the form is archived
{
"form": {
"uid": "form_uid",
"description": "Form for creating new profile",
"name": "My Form Name",
"archived": false,
"id": "2e06b876-f456-473d-bd65-b6435e0b6b2d"
}
}
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...