create Form

POST {{baseUrl}}/api/form

Creates a form. You can optionally specify an Id for the form, if not provided one will be generated.

Request Body

{"form"=>{"id"=>"<uuid>", "insertInstant"=>"<long>", "lastUpdateInstant"=>"<long>", "name"=>"<string>", "steps"=>[{"fields"=>["<uuid>", "<uuid>"]}, {"fields"=>["<uuid>", "<uuid>"]}], "type"=>"selfServiceUser"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;form&quot;:{&quot;data&quot;:{&quot;labore_08&quot;:{},&quot;in_21&quot;:{}},&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;insertInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;lastUpdateInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;steps&quot;:[{&quot;fields&quot;:[&quot;\u003cuuid\u003e&quot;,&quot;\u003cuuid\u003e&quot;]},{&quot;fields&quot;:[&quot;\u003cuuid\u003e&quot;,&quot;\u003cuuid\u003e&quot;]}],&quot;type&quot;:&quot;selfServiceUser&quot;},&quot;forms&quot;:[{&quot;data&quot;:{&quot;incididunt6&quot;:{},&quot;laborum235&quot;:{},&quot;eiusmod_4&quot;:{},&quot;labore_98c&quot;:{}},&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;insertInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;lastUpdateInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;steps&quot;:[{&quot;fields&quot;:[&quot;\u003cuuid\u003e&quot;,&quot;\u003cuuid\u003e&quot;]},{&quot;fields&quot;:[&quot;\u003cuuid\u003e&quot;,&quot;\u003cuuid\u003e&quot;]}],&quot;type&quot;:&quot;adminUser&quot;},{&quot;data&quot;:{&quot;enim__0_&quot;:{},&quot;mollit_02&quot;:{}},&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;insertInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;lastUpdateInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;steps&quot;:[{&quot;fields&quot;:[&quot;\u003cuuid\u003e&quot;,&quot;\u003cuuid\u003e&quot;]},{&quot;fields&quot;:[&quot;\u003cuuid\u003e&quot;,&quot;\u003cuuid\u003e&quot;]}],&quot;type&quot;:&quot;adminRegistration&quot;}]}