Use this API to build and manage custom forms.
With this functionality in place, administrators can create and view form definitions and form instances.
Forms are composed of sections and fields. Sections split the form into logical groups of fields and fields are the data collection points within the form. Configure conditions to modify elements of the form as the responder provides input. Create form inputs to pass information from a calling feature, like a workflow, to your form.
Forms can be used within workflows as an action or as a trigger. The Form Action allows you to assign a form as a step in a running workflow, suspending the workflow until the form is submitted or times out, and the workflow resumes. The Form Submitted Trigger initiates a workflow when a form is submitted. The trigger can be configured to initiate on submission of a full form, a form element with any value, or a form element with a particular value.
Refer to Forms for more information about using forms in Identity Security Cloud.
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Creates a form definition.
importsailpoint.v2024fromsailpoint.v2024.models.create_form_definition_requestimportCreateFormDefinitionRequestfromsailpoint.v2024.models.form_definition_responseimportFormDefinitionResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')body={"owner":{"name":"Grant Smith","id":"2c9180867624cbd7017642d8c8c81f67","type":"IDENTITY"},"formConditions":[{"ruleOperator":"AND","effects":[{"config":{"defaultValueLabel":"Access to Remove","element":"8110662963316867"},"effectType":"HIDE"},{"config":{"defaultValueLabel":"Access to Remove","element":"8110662963316867"},"effectType":"HIDE"}],"rules":[{"sourceType":"ELEMENT","valueType":"STRING","source":"department","value":"Engineering","operator":"EQ"},{"sourceType":"ELEMENT","valueType":"STRING","source":"department","value":"Engineering","operator":"EQ"}]},{"ruleOperator":"AND","effects":[{"config":{"defaultValueLabel":"Access to Remove","element":"8110662963316867"},"effectType":"HIDE"},{"config":{"defaultValueLabel":"Access to Remove","element":"8110662963316867"},"effectType":"HIDE"}],"rules":[{"sourceType":"ELEMENT","valueType":"STRING","source":"department","value":"Engineering","operator":"EQ"},{"sourceType":"ELEMENT","valueType":"STRING","source":"department","value":"Engineering","operator":"EQ"}]}],"formInput":[{"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","label":"input1","type":"STRING"},{"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","label":"input1","type":"STRING"}],"name":"My form","description":"My form description","usedBy":[{"name":"Access Request Form","id":"61940a92-5484-42bc-bc10-b9982b218cdf","type":"WORKFLOW"},{"name":"Access Request Form","id":"61940a92-5484-42bc-bc10-b9982b218cdf","type":"WORKFLOW"}],"formElements":[{"id":"00000000-0000-0000-0000-000000000000","validations":[{"validationType":"REQUIRED"},{"validationType":"REQUIRED"}],"elementType":"TEXT","config":{"label":"Department"},"key":"department"},{"id":"00000000-0000-0000-0000-000000000000","validations":[{"validationType":"REQUIRED"},{"validationType":"REQUIRED"}],"elementType":"TEXT","config":{"label":"Department"},"key":"department"}]}# CreateFormDefinitionRequest | Body is the request payload to create form definition request (optional)try:# Creates a form definition.api_response=api_instance.create_form_definition(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.create_form_definition(x_sail_point_experimental, Result)print("The response of CustomFormsApi->create_form_definition:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->create_form_definition: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Generate JSON Schema dynamically.
importsailpoint.v2024fromsailpoint.v2024.models.form_definition_dynamic_schema_requestimportFormDefinitionDynamicSchemaRequestfromsailpoint.v2024.models.form_definition_dynamic_schema_responseimportFormDefinitionDynamicSchemaResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')body={"description":"A description","attributes":{"formDefinitionId":"00000000-0000-0000-0000-000000000000"},"id":"00000000-0000-0000-0000-000000000000","type":"action","versionNumber":1}# FormDefinitionDynamicSchemaRequest | Body is the request payload to create a form definition dynamic schema (optional)try:# Generate JSON Schema dynamically.api_response=api_instance.create_form_definition_dynamic_schema(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.create_form_definition_dynamic_schema(x_sail_point_experimental, Result)print("The response of CustomFormsApi->create_form_definition_dynamic_schema:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->create_form_definition_dynamic_schema: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Upload new form definition file.
Parameter {formDefinitionID} should match a form definition ID.
importsailpoint.v2024fromsailpoint.v2024.models.form_definition_file_upload_responseimportFormDefinitionFileUploadResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintform_definition_id='00000000-0000-0000-0000-000000000000'# str | FormDefinitionID String specifying FormDefinitionID # str | FormDefinitionID String specifying FormDefinitionIDx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')file=None# bytearray | File specifying the multipart # bytearray | File specifying the multiparttry:# Upload new form definition file.api_response=api_instance.create_form_definition_file_request(form_definition_id,x_sail_point_experimental,file)# Below is a request that includes all optional parameters# api_response = api_instance.create_form_definition_file_request(form_definition_id, x_sail_point_experimental, file)print("The response of CustomFormsApi->create_form_definition_file_request:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->create_form_definition_file_request: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Creates a form instance.
importsailpoint.v2024fromsailpoint.v2024.models.create_form_instance_requestimportCreateFormInstanceRequestfromsailpoint.v2024.models.form_instance_responseimportFormInstanceResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')body={"formInput":{"input1":"Sales"},"standAloneForm":false,"createdBy":{"id":"00000000-0000-0000-0000-000000000000","type":"WORKFLOW_EXECUTION"},"recipients":[{"id":"00000000-0000-0000-0000-000000000000","type":"IDENTITY"},{"id":"00000000-0000-0000-0000-000000000000","type":"IDENTITY"}],"expire":"2023-08-12T20:14:57.74486Z","formDefinitionId":"00000000-0000-0000-0000-000000000000","state":"ASSIGNED","ttl":1571827560}# CreateFormInstanceRequest | Body is the request payload to create a form instance (optional)try:# Creates a form instance.api_response=api_instance.create_form_instance(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.create_form_instance(x_sail_point_experimental, Result)print("The response of CustomFormsApi->create_form_instance:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->create_form_instance: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Deletes a form definition.
Parameter {formDefinitionID} should match a form definition ID.
importsailpoint.v2024fromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintform_definition_id='00000000-0000-0000-0000-000000000000'# str | Form definition ID # str | Form definition IDx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')try:# Deletes a form definition.api_response=api_instance.delete_form_definition(form_definition_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.delete_form_definition(form_definition_id, x_sail_point_experimental)print("The response of CustomFormsApi->delete_form_definition:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->delete_form_definition: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
List form definitions by tenant.
No parameters required.
Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in V3 API Standard Collection Parameters. The offset value is record-based, not page-based, and the index starts at 0.
Query
limit
int
(optional) (default to 250)
Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in V3 API Standard Collection Parameters. If it is not specified, a default limit is used.
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: name: eq, gt, sw, indescription: eq, gt, sw, increated: eq, gt, sw, inmodified: eq, gt, sw, in
Query
sorters
str
(optional) (default to 'name')
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: name, description, created, modified
importsailpoint.v2024fromsailpoint.v2024.models.export_form_definitions_by_tenant200_response_innerimportExportFormDefinitionsByTenant200ResponseInnerfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')offset=0# int | Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. (optional) (default to 0) # int | Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. (optional) (default to 0)limit=250# int | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 250) # int | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 250)filters='name sw \"my form\"'# str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in* (optional)sorters='name'# str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, description, created, modified** (optional) (default to 'name') # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, description, created, modified** (optional) (default to 'name')try:# List form definitions by tenant.api_response=api_instance.export_form_definitions_by_tenant(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.export_form_definitions_by_tenant(x_sail_point_experimental, offset, limit, filters, sorters)print("The response of CustomFormsApi->export_form_definitions_by_tenant:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->export_form_definitions_by_tenant: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Download definition file by fileId.
importsailpoint.v2024fromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintform_definition_id='00000000-0000-0000-0000-000000000000'# str | FormDefinitionID Form definition ID # str | FormDefinitionID Form definition IDfile_id='00000031N0J7R2B57M8YG73J7M.png'# str | FileID String specifying the hashed name of the uploaded file we are retrieving. # str | FileID String specifying the hashed name of the uploaded file we are retrieving.x_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')try:# Download definition file by fileId.api_response=api_instance.get_file_from_s3(form_definition_id,file_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.get_file_from_s3(form_definition_id, file_id, x_sail_point_experimental)print("The response of CustomFormsApi->get_file_from_s3:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->get_file_from_s3: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Return a form definition.
Parameter {formDefinitionID} should match a form definition ID.
importsailpoint.v2024fromsailpoint.v2024.models.form_definition_responseimportFormDefinitionResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintform_definition_id='00000000-0000-0000-0000-000000000000'# str | Form definition ID # str | Form definition IDx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')try:# Return a form definition.api_response=api_instance.get_form_definition_by_key(form_definition_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.get_form_definition_by_key(form_definition_id, x_sail_point_experimental)print("The response of CustomFormsApi->get_form_definition_by_key:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->get_form_definition_by_key: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Returns a form instance.
Parameter {formInstanceID} should match a form instance ID.
importsailpoint.v2024fromsailpoint.v2024.models.form_instance_responseimportFormInstanceResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintform_instance_id='00000000-0000-0000-0000-000000000000'# str | Form instance ID # str | Form instance IDx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')try:# Returns a form instance.api_response=api_instance.get_form_instance_by_key(form_instance_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.get_form_instance_by_key(form_instance_id, x_sail_point_experimental)print("The response of CustomFormsApi->get_form_instance_by_key:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->get_form_instance_by_key: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Download instance file by fileId.
importsailpoint.v2024fromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintform_instance_id='00000000-0000-0000-0000-000000000000'# str | FormInstanceID Form instance ID # str | FormInstanceID Form instance IDfile_id='00000031N0J7R2B57M8YG73J7M.png'# str | FileID String specifying the hashed name of the uploaded file we are retrieving. # str | FileID String specifying the hashed name of the uploaded file we are retrieving.x_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')try:# Download instance file by fileId.api_response=api_instance.get_form_instance_file(form_instance_id,file_id,x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.get_form_instance_file(form_instance_id, file_id, x_sail_point_experimental)print("The response of CustomFormsApi->get_form_instance_file:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->get_form_instance_file: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Import form definitions from export.
Returns statuses of those form definition objects imported
ImportFormDefinitions202Response
-
400
An error with the request occurred
SearchFormDefinitionsByTenant400Response
-
401
An error with the authorization occurred
SearchFormDefinitionsByTenant400Response
-
403
An error with the user permissions occurred
SearchFormDefinitionsByTenant400Response
-
429
Too many requests
Error
-
500
An internal server error occurred
SearchFormDefinitionsByTenant400Response
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.export_form_definitions_by_tenant200_response_innerimportExportFormDefinitionsByTenant200ResponseInnerfromsailpoint.v2024.models.import_form_definitions202_responseimportImportFormDefinitions202Responsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')[{version=1,self={name=Allfieldsnotrequired,id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa,type=FORM_DEFINITION},object={id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa,name=Allfieldsnotrequired,description=description,owner={type=IDENTITY,id=3447d8ec2602455ab6f1e8408a0f0150},usedBy=[{type=WORKFLOW,id=5008594c-dacc-4295-8fee-41df60477304},{type=WORKFLOW,id=97e75a75-c179-4fbc-a2da-b5fa4aaa8743}],formInput=[{type=STRING,label=input1,description=Asingledynamicscalarvalue(i.e.number,string,date,etc)thatcanbepassedintotheformforuseinconditionallogic}],formElements=[{id=3069272797630701,elementType=SECTION,config={label=FirstSection,formElements=[{id=3069272797630700,elementType=TEXT,key=firstName,config={label=FirstName}},{id=3498415402897539,elementType=TEXT,key=lastName,config={label=LastName}}]}}],formConditions=[{ruleOperator=AND,rules=[{sourceType=INPUT,source=Department,operator=EQ,valueType=STRING,value=Sales}],effects=[{effectType=HIDE,config={element=2614088730489570}}]}],created=2022-10-04T19:27:04.456Z,modified=2022-11-16T20:45:02.172Z}}]# List[ExportFormDefinitionsByTenant200ResponseInner] | Body is the request payload to import form definitions (optional)body=[{version=1,self={name=Allfieldsnotrequired,id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa,type=FORM_DEFINITION},object={id=05ed4edb-d0a9-41d9-ad0c-2f6e486ec4aa,name=Allfieldsnotrequired,description=description,owner={type=IDENTITY,id=3447d8ec2602455ab6f1e8408a0f0150},usedBy=[{type=WORKFLOW,id=5008594c-dacc-4295-8fee-41df60477304},{type=WORKFLOW,id=97e75a75-c179-4fbc-a2da-b5fa4aaa8743}],formInput=[{type=STRING,label=input1,description=Asingledynamicscalarvalue(i.e.number,string,date,etc)thatcanbepassedintotheformforuseinconditionallogic}],formElements=[{id=3069272797630701,elementType=SECTION,config={label=FirstSection,formElements=[{id=3069272797630700,elementType=TEXT,key=firstName,config={label=FirstName}},{id=3498415402897539,elementType=TEXT,key=lastName,config={label=LastName}}]}}],formConditions=[{ruleOperator=AND,rules=[{sourceType=INPUT,source=Department,operator=EQ,valueType=STRING,value=Sales}],effects=[{effectType=HIDE,config={element=2614088730489570}}]}],created=2022-10-04T19:27:04.456Z,modified=2022-11-16T20:45:02.172Z}}]# List[ExportFormDefinitionsByTenant200ResponseInner] | Body is the request payload to import form definitions (optional)try:# Import form definitions from export.api_response=api_instance.import_form_definitions(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.import_form_definitions(x_sail_point_experimental, Result)print("The response of CustomFormsApi->import_form_definitions:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->import_form_definitions: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Patch a form definition.
Parameter {formDefinitionID} should match a form definition ID.
importsailpoint.v2024fromsailpoint.v2024.models.form_definition_responseimportFormDefinitionResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintform_definition_id='00000000-0000-0000-0000-000000000000'# str | Form definition ID # str | Form definition IDx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')body=[{op=replace,path=/description,value=test-description}]# List[Dict[str, object]] | Body is the request payload to patch a form definition, check: https://jsonpatch.com (optional)body=[{op=replace,path=/description,value=test-description}]# List[Dict[str, object]] | Body is the request payload to patch a form definition, check: https://jsonpatch.com (optional)try:# Patch a form definition.api_response=api_instance.patch_form_definition(form_definition_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.patch_form_definition(form_definition_id, x_sail_point_experimental, Result)print("The response of CustomFormsApi->patch_form_definition:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->patch_form_definition: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Patch a form instance.
Parameter {formInstanceID} should match a form instance ID.
An error with the request property conflicts with stored
SearchFormDefinitionsByTenant400Response
-
429
Too many requests
Error
-
500
An internal server error occurred
SearchFormDefinitionsByTenant400Response
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.form_instance_responseimportFormInstanceResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintform_instance_id='00000000-0000-0000-0000-000000000000'# str | Form instance ID # str | Form instance IDx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')body=[{op=replace,path=/state,value=SUBMITTED},{op=replace,path=/formData,value={a-key-1=a-value-1,a-key-2=true,a-key-3=1}}]# List[Dict[str, object]] | Body is the request payload to patch a form instance, check: https://jsonpatch.com (optional)body=[{op=replace,path=/state,value=SUBMITTED},{op=replace,path=/formData,value={a-key-1=a-value-1,a-key-2=true,a-key-3=1}}]# List[Dict[str, object]] | Body is the request payload to patch a form instance, check: https://jsonpatch.com (optional)try:# Patch a form instance.api_response=api_instance.patch_form_instance(form_instance_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.patch_form_instance(form_instance_id, x_sail_point_experimental, Result)print("The response of CustomFormsApi->patch_form_instance:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->patch_form_instance: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Export form definitions by tenant.
No parameters required.
Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in V3 API Standard Collection Parameters. The offset value is record-based, not page-based, and the index starts at 0.
Query
limit
int
(optional) (default to 250)
Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in V3 API Standard Collection Parameters. If it is not specified, a default limit is used.
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: name: eq, gt, sw, indescription: eq, gt, sw, increated: eq, gt, sw, inmodified: eq, gt, sw, in
Query
sorters
str
(optional) (default to 'name')
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: name, description, created, modified
importsailpoint.v2024fromsailpoint.v2024.models.list_form_definitions_by_tenant_responseimportListFormDefinitionsByTenantResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')offset=0# int | Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. (optional) (default to 0) # int | Offset Integer specifying the offset of the first result from the beginning of the collection. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). The offset value is record-based, not page-based, and the index starts at 0. (optional) (default to 0)limit=250# int | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 250) # int | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 250)filters='name sw \"my form\"'# str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **name**: *eq, gt, sw, in* **description**: *eq, gt, sw, in* **created**: *eq, gt, sw, in* **modified**: *eq, gt, sw, in* (optional)sorters='name'# str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, description, created, modified** (optional) (default to 'name') # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, description, created, modified** (optional) (default to 'name')try:# Export form definitions by tenant.api_response=api_instance.search_form_definitions_by_tenant(x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.search_form_definitions_by_tenant(x_sail_point_experimental, offset, limit, filters, sorters)print("The response of CustomFormsApi->search_form_definitions_by_tenant:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->search_form_definitions_by_tenant: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Retrieves dynamic data by element.
Parameter {formInstanceID} should match a form instance ID.
Parameter {formElementID} should match a form element ID at the data source configuration.
Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in V3 API Standard Collection Parameters. If it is not specified, a default limit is used.
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: value: eq, ne, in Supported composite operators: not Only a single not may be used, and it can only be used with the in operator. The not composite operator must be used in front of the field. For example, the following is valid: not value in (\"ID01\")
Query
query
str
(optional)
String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a "starts with" filter against several fields.
Retrieves dynamic data to aid in correctly completing a valid form by form element ID from data source configuration
ListFormElementDataByElementIDResponse
-
400
An error with the request occurred
SearchFormDefinitionsByTenant400Response
-
401
An error with the authorization occurred
SearchFormDefinitionsByTenant400Response
-
403
An error with the user permissions occurred
SearchFormDefinitionsByTenant400Response
-
404
An error with the item not found
SearchFormDefinitionsByTenant400Response
-
429
Too many requests
Error
-
500
An internal server error occurred
SearchFormDefinitionsByTenant400Response
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.list_form_element_data_by_element_id_responseimportListFormElementDataByElementIDResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintform_instance_id='00000000-0000-0000-0000-000000000000'# str | Form instance ID # str | Form instance IDform_element_id='1'# str | Form element ID # str | Form element IDx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')limit=250# int | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 250) # int | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 250)filters='value eq \"ID01\"'# str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (\"ID01\")` (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (\"ID01\")` (optional)query='support'# str | String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a \"starts with\" filter against several fields. (optional) # str | String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a \"starts with\" filter against several fields. (optional)try:# Retrieves dynamic data by element.api_response=api_instance.search_form_element_data_by_element_id(form_instance_id,form_element_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.search_form_element_data_by_element_id(form_instance_id, form_element_id, x_sail_point_experimental, limit, filters, query)print("The response of CustomFormsApi->search_form_element_data_by_element_id:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->search_form_element_data_by_element_id: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
List form instances by tenant.
No parameters required.
importsailpoint.v2024fromsailpoint.v2024.models.list_form_instances_by_tenant_responseimportListFormInstancesByTenantResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')try:# List form instances by tenant.api_response=api_instance.search_form_instances_by_tenant(x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.search_form_instances_by_tenant(x_sail_point_experimental)print("The response of CustomFormsApi->search_form_instances_by_tenant:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->search_form_instances_by_tenant: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
List predefined select options.
No parameters required.
Returns a list of available predefined select options
ListPredefinedSelectOptionsResponse
-
400
An error with the request occurred
SearchFormDefinitionsByTenant400Response
-
401
An error with the authorization occurred
SearchFormDefinitionsByTenant400Response
-
403
An error with the user permissions occurred
SearchFormDefinitionsByTenant400Response
-
429
Too many requests
Error
-
500
An internal server error occurred
SearchFormDefinitionsByTenant400Response
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.list_predefined_select_options_responseimportListPredefinedSelectOptionsResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')try:# List predefined select options.api_response=api_instance.search_pre_defined_select_options(x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.search_pre_defined_select_options(x_sail_point_experimental)print("The response of CustomFormsApi->search_pre_defined_select_options:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->search_pre_defined_select_options: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Preview form definition data source.
Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in V3 API Standard Collection Parameters. If it is not specified, a default limit is used.
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: value: eq, ne, in Supported composite operators: not Only a single not may be used, and it can only be used with the in operator. The not composite operator must be used in front of the field. For example, the following is valid: not value in (\"ID01\")
Query
query
str
(optional)
String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a "starts with" filter against several fields.
Returns a preview of a form definition data source
PreviewDataSourceResponse
-
400
An error with the request occurred
SearchFormDefinitionsByTenant400Response
-
401
An error with the authorization occurred
SearchFormDefinitionsByTenant400Response
-
403
An error with the user permissions occurred
SearchFormDefinitionsByTenant400Response
-
404
An error with the item not found
SearchFormDefinitionsByTenant400Response
-
429
Too many requests
Error
-
500
An internal server error occurred
SearchFormDefinitionsByTenant400Response
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.form_element_preview_requestimportFormElementPreviewRequestfromsailpoint.v2024.models.preview_data_source_responseimportPreviewDataSourceResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintform_definition_id='00000000-0000-0000-0000-000000000000'# str | Form definition ID # str | Form definition IDx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')limit=10# int | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 10) # int | Limit Integer specifying the maximum number of records to return in a single API call. The standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-results). If it is not specified, a default limit is used. (optional) (default to 10)filters='value eq \"ID01\"'# str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (\"ID01\")` (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **value**: *eq, ne, in* Supported composite operators: *not* Only a single *not* may be used, and it can only be used with the `in` operator. The `not` composite operator must be used in front of the field. For example, the following is valid: `not value in (\"ID01\")` (optional)query='ac'# str | String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a \"starts with\" filter against several fields. (optional) # str | String that is passed to the underlying API to filter other (non-ID) fields. For example, for access profile data sources, this string will be passed to the access profile api and used with a \"starts with\" filter against several fields. (optional)form_element_preview_request={"dataSource":{"config":{"indices":["identities"],"query":"*","aggregationBucketField":"attributes.cloudStatus.exact","objectType":"IDENTITY"},"dataSourceType":"STATIC"}}# FormElementPreviewRequest | Body is the request payload to create a form definition dynamic schema (optional)try:# Preview form definition data source.api_response=api_instance.show_preview_data_source(form_definition_id,x_sail_point_experimental,)# Below is a request that includes all optional parameters# api_response = api_instance.show_preview_data_source(form_definition_id, x_sail_point_experimental, limit, filters, query, Result)print("The response of CustomFormsApi->show_preview_data_source:\n")pprint(api_response)exceptExceptionase:print("Exception when calling CustomFormsApi->show_preview_data_source: %s\n"%e)