Creates a form definition.

POST {{baseUrl}}/form-definitions

Request Body

{"name"=>"my form", "description"=>"my form description", "owner"=>{"type"=>"IDENTITY", "id"=>"00000000-0000-0000-0000-000000000000"}}

HEADERS

KeyDatatypeRequiredDescription
X-SailPoint-Experimentalboolean(Required) Use this header to enable this experimental API.
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"id":"00000000-0000-0000-0000-000000000000","name":"My form","description":"My form description","owner":{"type":"IDENTITY","id":"2c9180867624cbd7017642d8c8c81f67","name":"Grant Smith"},"usedBy":[{"type":"WORKFLOW","id":"61940a92-5484-42bc-bc10-b9982b218cdf","name":"Access Request Form"},{"type":"WORKFLOW","id":"61940a92-5484-42bc-bc10-b9982b218cdf","name":"Access Request Form"}],"formInput":[{"id":"00000000-0000-0000-0000-000000000000","type":"STRING","label":"input1","description":"A single dynamic scalar value (i.e. number, string, date, etc.) that can be passed into the form for use in conditional logic"},{"id":"00000000-0000-0000-0000-000000000000","type":"STRING","label":"input1","description":"A single dynamic scalar value (i.e. number, string, date, etc.) that can be passed into the form for use in conditional logic"}],"formElements":[{"id":"00000000-0000-0000-0000-000000000000","elementType":"TEXT","config":{"label":"Department"},"key":"department","validations":[{"validationType":"REQUIRED"},{"validationType":"REQUIRED"}]},{"id":"00000000-0000-0000-0000-000000000000","elementType":"TEXT","config":{"label":"Department"},"key":"department","validations":[{"validationType":"REQUIRED"},{"validationType":"REQUIRED"}]}],"formConditions":[{"ruleOperator":"AND","rules":[{"sourceType":"ELEMENT","source":"department","operator":"EQ","valueType":"STRING","value":"Engineering"},{"sourceType":"ELEMENT","source":"department","operator":"EQ","valueType":"STRING","value":"Engineering"}],"effects":[{"effectType":"HIDE","config":{"defaultValueLabel":"Access to Remove","element":"mollit ut id dolore aute"}},{"effectType":"HIDE","config":{"defaultValueLabel":"Access to Remove","element":"do occaecat laborum ipsum"}}]},{"ruleOperator":"AND","rules":[{"sourceType":"ELEMENT","source":"department","operator":"EQ","valueType":"STRING","value":"Engineering"},{"sourceType":"ELEMENT","source":"department","operator":"EQ","valueType":"STRING","value":"Engineering"}],"effects":[{"effectType":"HIDE","config":{"defaultValueLabel":"Access to Remove","element":"exercitation id proident nostrud"}},{"effectType":"HIDE","config":{"defaultValueLabel":"Access to Remove","element":"in ut dolore"}}]}],"created":"2023-07-12T20:14:57.74486Z","modified":"2023-07-12T20:14:57.74486Z"}