- create_forms_form - Create a form
- get_forms_form - Retrieve a form
- list_forms_forms - List all forms
- patch_forms_form - Update a form
- remove_forms_form - Remove a form
- update_forms_form - Update a form
Create a form
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.form.create_forms_form(request={
"forms_form": {},
"connection_id": "<id>",
})
assert res.forms_form is not None
# Handle response
print(res.forms_form)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.CreateFormsFormRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.CreateFormsFormResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Retrieve a form
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.form.get_forms_form(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res.forms_form is not None
# Handle response
print(res.forms_form)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetFormsFormRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetFormsFormResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
List all forms
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.form.list_forms_forms(request={
"connection_id": "<id>",
})
assert res.forms_forms is not None
# Handle response
print(res.forms_forms)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListFormsFormsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListFormsFormsResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a form
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.form.patch_forms_form(request={
"forms_form": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.forms_form is not None
# Handle response
print(res.forms_form)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.PatchFormsFormRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.PatchFormsFormResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Remove a form
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.form.remove_forms_form(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res is not None
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.RemoveFormsFormRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.RemoveFormsFormResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a form
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.form.update_forms_form(request={
"forms_form": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.forms_form is not None
# Handle response
print(res.forms_form)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.UpdateFormsFormRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.UpdateFormsFormResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |