WaywedoClient
Attributes
TRIGGER_OPERATIONS
module-attribute
TRIGGER_OPERATIONS: Dict[str, Dict[str, Any]] = {'Checklist_Create_WebHook': {'operation_id': 'Checklist_Create_WebHook', 'path': '/{connectionId}/v1/Webhook/events/checklist_start', 'method': 'post', 'required_parameters': ['Webhook Registration'], 'callback_payload_type': 'WebhookRegistered'}, 'New_Comment_WebHook': {'operation_id': 'New_Comment_WebHook', 'path': '/{connectionId}/v1/Webhook/events/new_comment', 'method': 'post', 'required_parameters': ['Webhook Registration'], 'callback_payload_type': 'WebhookRegistered'}, 'Finish_Checklist_WebHook': {'operation_id': 'Finish_Checklist_WebHook', 'path': '/{connectionId}/v1/Webhook/events/checklist_finish', 'method': 'post', 'required_parameters': ['Webhook Registration'], 'callback_payload_type': 'WebhookRegistered'}, 'Invite_Supervisor_WebHook': {'operation_id': 'Invite_Supervisor_WebHook', 'path': '/{connectionId}/v1/Webhook/events/supervisor_invite', 'method': 'post', 'required_parameters': ['Webhook Registration'], 'callback_payload_type': 'WebhookRegistered'}, 'Generate_Acceptance_PDF_WebHook': {'operation_id': 'Generate_Acceptance_PDF_WebHook', 'path': '/{connectionId}/v1/Webhook/events/generate_acceptance_pdf', 'method': 'post', 'required_parameters': ['Webhook Registration'], 'callback_payload_type': 'WebhookRegistered'}, 'Checklist_Step_Completed_WebHook': {'operation_id': 'Checklist_Step_Completed_WebHook', 'path': '/{connectionId}/v1/Webhook/events/checklist_step_completed', 'method': 'post', 'required_parameters': ['Webhook Registration'], 'callback_payload_type': 'WebhookRegistered'}}
Classes
CommentAddInput
dataclass
CommentAddInput(instance_id: str, step_id: str, message: str, bot: str, *, user_id: Optional[int] = None)
Add a comment to a checklist instance step
Attributes
instance_id
class-attribute
instance-attribute
Select the checklist instance
step_id
class-attribute
instance-attribute
Select the step of the checklist instance
ChecklistComment
dataclass
ChecklistComment(*, id: Optional[str] = None, type_: Optional[int] = None, procedure_id: Optional[int] = None, procedure_title: Optional[str] = None, instance_id: Optional[str] = None, step_id: Optional[str] = None, instance_title: Optional[str] = None, comment: Optional[str] = None, created: Optional[str] = None, created_by: Optional[str] = None, image_url: Optional[str] = None)
Response for Add a comment to a checklist instance step
Attributes
id
class-attribute
instance-attribute
The unique ID of the comment.
type_
class-attribute
instance-attribute
The type of comment; either 1 (standard) or 2 (attachment).
procedure_id
class-attribute
instance-attribute
procedure_id: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'procedureId'})
The unique ID of the procedure.
procedure_title
class-attribute
instance-attribute
procedure_title: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'procedureTitle'})
The title of the procedure.
instance_id
class-attribute
instance-attribute
instance_id: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'instanceId'})
The unique ID of the checklist instance.
step_id
class-attribute
instance-attribute
step_id: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'stepId'})
The unique ID of the checklist step.
instance_title
class-attribute
instance-attribute
instance_title: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'instanceTitle'})
The title of the checklist instance.
comment
class-attribute
instance-attribute
The comment text added to the step.
created
class-attribute
instance-attribute
The date and time the comment was created.
ChecklistInstancesInput
dataclass
ChecklistInstancesInput(procedure_id: int, title: str, bot: str, *, user_id: Optional[int] = None, company_role_id: Optional[int] = None)
Create Checklist Instance
Attributes
procedure_id
class-attribute
instance-attribute
Select a checklist master
user_id
class-attribute
instance-attribute
user_id: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'userId'})
Select the user to add as a collaborator
ChecklistInstance
dataclass
ChecklistInstance(*, id: Optional[str] = None, procedure_id: Optional[int] = None, title: Optional[str] = None, url: Optional[str] = None, created: Optional[str] = None, created_by: Optional[str] = None, finished: Optional[str] = None, earliest_due: Optional[str] = None, latest_due: Optional[str] = None)
Response for Create Checklist Instance
Attributes
id
class-attribute
instance-attribute
The unique ID of the checklist instance.
procedure_id
class-attribute
instance-attribute
procedure_id: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'procedureId'})
The unique ID of the procedure.
title
class-attribute
instance-attribute
The title of the checklist instance.
url
class-attribute
instance-attribute
The URL to the checklist instance.
created
class-attribute
instance-attribute
The date and time the checklist instance was started.
created_by
class-attribute
instance-attribute
created_by: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'createdBy'})
The email address of the user who started the checklist instance.
finished
class-attribute
instance-attribute
The date and time the checklist instance was finished.
ChecklistStep
dataclass
ChecklistStep(*, id: Optional[str] = None, title: Optional[str] = None, ordinal: Optional[int] = None)
Response for Find Checklist Step
Attributes
id
class-attribute
instance-attribute
The unique ID of the instance step.
title
class-attribute
instance-attribute
The title of the instance step.
ChecklistStepsCompleteInput
dataclass
ChecklistStepsCompleteResponse
dataclass
CollaboratorsAddInput
dataclass
CollaboratorsAddResponse
dataclass
Procedure
dataclass
Procedure(*, id: Optional[int] = None, title: Optional[str] = None, status: Optional[str] = None, summary: Optional[str] = None, created_by: Optional[str] = None, url: Optional[str] = None, restricted: Optional[bool] = None, type_: Optional[int] = None)
Response for Find Checklist
Attributes
id
class-attribute
instance-attribute
The unique ID of the procedure.
title
class-attribute
instance-attribute
The title of the procedure.
status
class-attribute
instance-attribute
The publishing status of the procedure.
summary
class-attribute
instance-attribute
The summary of the procedure.
created_by
class-attribute
instance-attribute
created_by: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'createdBy'})
The email of the user that created the procedure.
url
class-attribute
instance-attribute
The URL of the procedure.
restricted
class-attribute
instance-attribute
Whether the procedure is restricted or not.
User
dataclass
User(*, id: Optional[int] = None, first_name: Optional[str] = None, last_name: Optional[str] = None, email: Optional[str] = None)
Response for Find User
Attributes
id
class-attribute
instance-attribute
The unique ID of the user.
first_name
class-attribute
instance-attribute
first_name: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'firstName'})
The first name of the user.
UsersInput
dataclass
UsersInput(first_name: str, last_name: str, email: str, security_role: int, time_zone_id: str, *, company_roles: Optional[List[int]] = None)
Add a New User
Attributes
first_name
class-attribute
instance-attribute
The first name of the user.
last_name
class-attribute
instance-attribute
The last name of the user.
security_role
class-attribute
instance-attribute
Select a security role.
UsersPostResponse
dataclass
ChecklistCreateWebHookInput
dataclass
WebhookRegistered
dataclass
WebhookRegistered(*, id: Optional[int] = None, callbackurl: Optional[str] = None, created: Optional[str] = None, web_hook_event: Optional[str] = None)
Response for When a checklist instance is started
Attributes
id
class-attribute
instance-attribute
The unique ID of the Webhook registration.
callbackurl
class-attribute
instance-attribute
The URL to call when action occurs.
created
class-attribute
instance-attribute
The date and time the webhook was registered.
NewCommentWebHookInput
dataclass
FinishChecklistWebHookInput
dataclass
InviteSupervisorWebHookInput
dataclass
GenerateAcceptancePDFWebHookInput
dataclass
ChecklistStepCompletedWebHookInput
dataclass
GetAllChecklistInstancesResponse
dataclass
GetAllChecklistInstancesResponse(*, results: Optional[List[ChecklistInstance | Mapping[str, Any]]] = None, total: Optional[int] = None)
CompletedStep
dataclass
CompletedStep(*, id: Optional[str] = None, instance_id: Optional[str] = None, procedure_id: Optional[int] = None, created: Optional[str] = None, created_by: Optional[str] = None, due: Optional[str] = None, step: Optional[ChecklistStep | Mapping[str, Any]] = None, decision_choices: Optional[List[str]] = None)
Definition: CompletedStep
Attributes
id
class-attribute
instance-attribute
The unique ID of the checklist step completion.
instance_id
class-attribute
instance-attribute
instance_id: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'instanceId'})
The unique ID of the checklist instance.
procedure_id
class-attribute
instance-attribute
procedure_id: Optional[int] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'procedureId'})
The unique ID of the procedure.
created
class-attribute
instance-attribute
The date and time the checklist step was completed.
created_by
class-attribute
instance-attribute
created_by: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'createdBy'})
The email address of the user that completed the checklist step.
due
class-attribute
instance-attribute
The date and time the checklist step was due.
ProcedureAcceptance
dataclass
ProcedureAcceptance(*, id: Optional[int] = None, accepted: Optional[str] = None, created_by: Optional[str] = None, file_name: Optional[str] = None, attachment_url: Optional[str] = None, procedure_title: Optional[str] = None)
Definition: ProcedureAcceptance
Attributes
id
class-attribute
instance-attribute
The unique ID of the procedure acceptance
accepted
class-attribute
instance-attribute
The date and time the procedure was accepted.
created_by
class-attribute
instance-attribute
created_by: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'createdBy'})
The email address of the user that accepted the procedure.
file_name
class-attribute
instance-attribute
file_name: Optional[str] = dataclass_field(default=None, kw_only=True, metadata={'wire_name': 'fileName'})
The file name of the generated PDF.
WaywedoClient
WaywedoClient(connection_runtime_url: str, credential: AsyncTokenCredential | AzureKeyCredential, *, max_retry_attempts: int = 3, timeout: float = 30.0, use_exponential_backoff: bool = True, initial_retry_delay_seconds: float = 0.5, maximum_retry_delay_seconds: float = 120.0, retry_jitter_factor: float = 0.1, retry_unsafe_http_methods: bool = False, transport: Optional[AsyncHttpTransport] = None, **kwargs: Any)
Bases: ConnectorClientBase
Typed client for waywedo connector.
Initialize a WaywedoClient.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
connection_runtime_url
|
str
|
The connection runtime URL from Azure Portal. |
required |
credential
|
AsyncTokenCredential | AzureKeyCredential
|
Caller-owned Azure Core credential. |
required |
max_retry_attempts
|
int
|
The maximum number of request attempts. |
3
|
timeout
|
float
|
The network timeout in seconds for each request. The value configures Azure Core retry and transport deadlines. Nonpositive values disable SDK and transport deadlines. |
30.0
|
use_exponential_backoff
|
bool
|
Whether retries use exponential backoff. |
True
|
initial_retry_delay_seconds
|
float
|
The initial retry delay in seconds. |
0.5
|
maximum_retry_delay_seconds
|
float
|
The maximum retry delay in seconds. |
120.0
|
retry_jitter_factor
|
float
|
The jitter fraction applied to retry delays. |
0.1
|
retry_unsafe_http_methods
|
bool
|
Whether unsafe HTTP methods may be retried. |
False
|
transport
|
Optional[AsyncHttpTransport]
|
Optional Azure Core async HTTP transport closed by the client through its asynchronous lifecycle. |
None
|
**kwargs
|
Any
|
Optional Azure Core pipeline policy settings. |
{}
|
Methods:
comment_add
async
comment_add(input: CommentAddInput | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Add a comment to a checklist instance step
Adds a new comment to an Activated Checklist Instance step.
Swagger operation ID: Comment_Add.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CommentAddInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
checklist_instances
async
checklist_instances(input: ChecklistInstancesInput | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Create Checklist Instance
Creates a new activated checklist instance.
Swagger operation ID: ChecklistInstances_Post.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ChecklistInstancesInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
checklist_instances_get
async
checklist_instances_get(instance_id: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get A Checklist Instance
Retrieve a specific checklist instance by ID
Swagger operation ID: ChecklistInstances_Get.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
instance_id
|
str
|
The ID of the checklist instance. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
list_checklist_instances_activity
list_checklist_instances_activity(instance_id: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]
Get Checklist Instance Activity
Retrieve all activity for a checklist instance
Returns a single-page Azure Core async collection.
Swagger operation ID: ChecklistInstances_Activity.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
instance_id
|
str
|
Select the checklist instance. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
AsyncItemPaged[dict[str, Any]]
|
AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector
results. Consume it with |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
list_find_steps
list_find_steps(instance_id: str, *, query: Optional[str] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]
Find Checklist Step
Find a step of a checklist instance
Returns a single-page Azure Core async collection.
Swagger operation ID: Find_Steps.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
instance_id
|
str
|
Select the checklist instance. |
required |
query
|
Optional[str]
|
Search for a step title. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
AsyncItemPaged[dict[str, Any]]
|
AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector
results. Consume it with |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
checklist_steps_get
async
checklist_steps_get(instance_id: str, step_id: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get A Checklist Step
Retrieve a specific checklist step by ID
Swagger operation ID: ChecklistSteps_Get.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
instance_id
|
str
|
The ID of the checklist instance. |
required |
step_id
|
str
|
The ID of the checklist step. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
checklist_steps_complete
async
checklist_steps_complete(input: ChecklistStepsCompleteInput | Mapping[str, Any], instance_id: str, step_id: str, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Complete a Checklist Step
Mark a specific step in a checklist instance as complete.
Swagger operation ID: ChecklistSteps_Complete.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ChecklistStepsCompleteInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
instance_id
|
str
|
Select the checklist instance. |
required |
step_id
|
str
|
Select the checklist step. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
collaborators_add
async
collaborators_add(input: CollaboratorsAddInput | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Add Collaborators to a Checklist Instance
Adds one or more collaborators to a checklist instance.
Swagger operation ID: Collaborators_Add.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CollaboratorsAddInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
list_find_checklist
list_find_checklist(*, query: Optional[str] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]
Find Checklist
Search for a checklist by title
Returns a single-page Azure Core async collection.
Swagger operation ID: Find_Checklist.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
query
|
Optional[str]
|
The title of the checklist. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
AsyncItemPaged[dict[str, Any]]
|
AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector
results. Consume it with |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
procedures_get
async
procedures_get(procedure_id: int, *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Get A Checklist Or Procedure
Retrieve a specific checklist or procedure by ID
Swagger operation ID: Procedures_Get.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
procedure_id
|
int
|
The ID of the checklist or procedure. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
list_find_checklist_instances
list_find_checklist_instances(procedure_id: int, *, query: Optional[str] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]
Find Checklist Instance
Search for a checklist instance by title.
Returns a single-page Azure Core async collection.
Swagger operation ID: Find_Checklist_Instances.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
procedure_id
|
int
|
Select a checklist. |
required |
query
|
Optional[str]
|
The title of the checklist instance. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
AsyncItemPaged[dict[str, Any]]
|
AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector
results. Consume it with |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
list_find_user
list_find_user(*, query: Optional[str] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]
Find User
Search for a user by name or email.
Returns a single-page Azure Core async collection.
Swagger operation ID: Find_User.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
query
|
Optional[str]
|
The name or email address of the user. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
AsyncItemPaged[dict[str, Any]]
|
AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector
results. Consume it with |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
users
async
users(input: UsersInput | Mapping[str, Any], *, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> dict[str, Any] | None
Add a New User
Creates and invites a new user.
Swagger operation ID: Users_Post.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UsersInput | Mapping[str, Any]
|
The request body. Mapping keys use serialized Swagger wire names. |
required |
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: The connector operation result. |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |
list_all_checklist_instances
list_all_checklist_instances(*, limit: Optional[int] = None, offset: Optional[int] = None, status: Optional[int] = None, timeout: Optional[float] = None, headers: Optional[Mapping[str, str]] = None, client_request_id: Optional[str] = None, response_hook: Optional[ConnectorResponseHook] = None) -> AsyncItemPaged[dict[str, Any]]
Get All Checklist Instances
Retrieve a list of all activated checklist instances.
Returns a single-page Azure Core async collection.
Swagger operation ID: GetAll_ChecklistInstances.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
limit
|
Optional[int]
|
Maximum number of results to fetch. |
None
|
offset
|
Optional[int]
|
The number of records skipped. |
None
|
status
|
Optional[int]
|
The status of instances returned. |
None
|
timeout
|
Optional[float]
|
The request timeout in seconds. |
None
|
headers
|
Optional[Mapping[str, str]]
|
Additional HTTP request headers. |
None
|
client_request_id
|
Optional[str]
|
A caller-provided request identifier. |
None
|
response_hook
|
Optional[ConnectorResponseHook]
|
A callback invoked with the connector response. |
None
|
Returns:
| Type | Description |
|---|---|
AsyncItemPaged[dict[str, Any]]
|
AsyncItemPaged[dict[str, Any]]: An Azure Core pager over connector
results. Consume it with |
Raises:
| Type | Description |
|---|---|
ConnectorException
|
If the connector request fails. |