Generate JSON Schema dynamically.
POST {{baseUrl}}/form-definitions/forms-action-dynamic-schema
Request Body
{"id"=>"sp:forms", "attributes"=>{"formDefinitionId"=>"00000000-0000-0000-0000-000000000000"}, "description"=>"AnotherDescription", "type"=>"action", "versionNumber"=>1}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-SailPoint-Experimental | boolean | (Required) Use this header to enable this experimental API. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"outputSchema":{"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"firstName":{"title":"First Name","type":"string"},"fullName":{"title":"Full Name","type":"string"},"lastName":{"title":"Last Name","type":"string"},"startDate":{"format":"date-time","title":"Start Date","type":"string"}},"type":"object"}}}