SharepointonlineClient
Attributes
TRIGGER_OPERATIONS
module-attribute
TRIGGER_OPERATIONS: Dict[str, Dict[str, Any]] = {'GetOnChangedItems': {'operation_id': 'GetOnChangedItems', 'path': '/{connectionId}/datasets/{dataset}/tables/{table}/onchangeditems', 'method': 'get', 'required_parameters': ['dataset', 'table'], 'callback_payload_type': 'ItemsList'}, 'GetOnDeletedFileItems': {'operation_id': 'GetOnDeletedFileItems', 'path': '/{connectionId}/datasets/{dataset}/tables/{table}/ondeletedfileitems', 'method': 'get', 'required_parameters': ['dataset', 'table'], 'callback_payload_type': 'DeletedItemList'}, 'GetOnDeletedItems': {'operation_id': 'GetOnDeletedItems', 'path': '/{connectionId}/datasets/{dataset}/tables/{table}/ondeleteditems', 'method': 'get', 'required_parameters': ['dataset', 'table'], 'callback_payload_type': 'DeletedItemList'}, 'GetOnNewFileItems': {'operation_id': 'GetOnNewFileItems', 'path': '/{connectionId}/datasets/{dataset}/tables/{table}/onnewfileitems', 'method': 'get', 'required_parameters': ['dataset', 'table'], 'callback_payload_type': 'ItemsList'}, 'GetOnNewItems': {'operation_id': 'GetOnNewItems', 'path': '/{connectionId}/datasets/{dataset}/tables/{table}/onnewitems', 'method': 'get', 'required_parameters': ['dataset', 'table'], 'callback_payload_type': 'ItemsList'}, 'GetOnNewItemsFromForm': {'operation_id': 'GetOnNewItemsFromForm', 'path': '/{connectionId}/datasets/{dataset}/tables/{table}/onnewitemsfromform', 'method': 'get', 'required_parameters': ['dataset', 'table', 'form'], 'callback_payload_type': 'ItemsList'}, 'GetOnRecurrenceDigest': {'operation_id': 'GetOnRecurrenceDigest', 'path': '/{connectionId}/datasets/{dataset}/tables/{table}/onrecurrencedigest', 'method': 'get', 'required_parameters': ['dataset', 'table', 'update', 'add', 'runSchedule'], 'callback_payload_type': 'ItemsList'}, 'GetOnUpdatedFileClassifiedTimes': {'operation_id': 'GetOnUpdatedFileClassifiedTimes', 'path': '/{connectionId}/datasets/{dataset}/tables/{table}/onupdatedfileclassifiedtimes', 'method': 'get', 'required_parameters': ['dataset', 'table'], 'callback_payload_type': 'ItemsList'}, 'GetOnUpdatedFileItems': {'operation_id': 'GetOnUpdatedFileItems', 'path': '/{connectionId}/datasets/{dataset}/tables/{table}/onupdatedfileitems', 'method': 'get', 'required_parameters': ['dataset', 'table'], 'callback_payload_type': 'ItemsList'}, 'GetOnUpdatedItems': {'operation_id': 'GetOnUpdatedItems', 'path': '/{connectionId}/datasets/{dataset}/tables/{table}/onupdateditems', 'method': 'get', 'required_parameters': ['dataset', 'table'], 'callback_payload_type': 'ItemsList'}, 'OnNewFile': {'operation_id': 'OnNewFile', 'path': '/{connectionId}/datasets/{dataset}/triggers/onnewfile', 'method': 'get', 'required_parameters': ['dataset', 'folderId'], 'callback_payload_type': None}, 'OnUpdatedFile': {'operation_id': 'OnUpdatedFile', 'path': '/{connectionId}/datasets/{dataset}/triggers/onupdatedfile', 'method': 'get', 'required_parameters': ['dataset', 'folderId'], 'callback_payload_type': None}}
Classes
CreateAgreementsSolutionDocumentInput
dataclass
SPBlobMetadataResponse
dataclass
SPBlobMetadataResponse(item_id: Optional[int] = None, id: Optional[str] = None, name: Optional[str] = None, display_name: Optional[str] = None, path: Optional[str] = None, last_modified: Optional[str] = None, size: Optional[int] = None, media_type: Optional[str] = None, is_folder: Optional[bool] = None, e_tag: Optional[str] = None, file_locator: Optional[str] = None)
Response for Agreements Solution - Generate document within Agreements Solution workspace
Attributes
item_id
class-attribute
instance-attribute
The value that can be used to Get or Update file properties in libraries.
id
class-attribute
instance-attribute
The unique id of the file or folder.
name
class-attribute
instance-attribute
The name of the file or folder.
display_name
class-attribute
instance-attribute
The display name of the file or folder.
path
class-attribute
instance-attribute
The path of the file or folder.
last_modified
class-attribute
instance-attribute
The date and time the file or folder was last modified.
size
class-attribute
instance-attribute
The size of the file or folder.
media_type
class-attribute
instance-attribute
The media type of the file or folder.
is_folder
class-attribute
instance-attribute
A boolean value (true, false) to indicate whether or not the blob is a folder.
e_tag
class-attribute
instance-attribute
The etag of the file or folder.
TablesList
dataclass
ApproveHubSiteJoinResponse
dataclass
SharingLinkPermission
dataclass
Response for Create sharing link for a file or folder
BlobMetadata
dataclass
BlobMetadata(id: Optional[str] = None, name: Optional[str] = None, display_name: Optional[str] = None, path: Optional[str] = None, last_modified: Optional[str] = None, size: Optional[int] = None, media_type: Optional[str] = None, is_folder: Optional[bool] = None, e_tag: Optional[str] = None, file_locator: Optional[str] = None)
Response for Copy file (deprecated)
Attributes
id
class-attribute
instance-attribute
The unique id of the file or folder.
name
class-attribute
instance-attribute
The name of the file or folder.
display_name
class-attribute
instance-attribute
The display name of the file or folder.
path
class-attribute
instance-attribute
The path of the file or folder.
last_modified
class-attribute
instance-attribute
The date and time the file or folder was last modified.
size
class-attribute
instance-attribute
The size of the file or folder.
media_type
class-attribute
instance-attribute
The media type of the file or folder.
is_folder
class-attribute
instance-attribute
A boolean value (true, false) to indicate whether or not the blob is a folder.
e_tag
class-attribute
instance-attribute
The etag of the file or folder.
BlobMetadataResponse
dataclass
BlobMetadataResponse(id: Optional[str] = None, name: Optional[str] = None, display_name: Optional[str] = None, path: Optional[str] = None, last_modified: Optional[str] = None, size: Optional[int] = None, media_type: Optional[str] = None, is_folder: Optional[bool] = None, e_tag: Optional[str] = None, file_locator: Optional[str] = None)
Response for Update file
Attributes
id
class-attribute
instance-attribute
The unique id of the file or folder.
name
class-attribute
instance-attribute
The name of the file or folder.
display_name
class-attribute
instance-attribute
The display name of the file or folder.
path
class-attribute
instance-attribute
The path of the file or folder.
last_modified
class-attribute
instance-attribute
The date and time the file or folder was last modified.
size
class-attribute
instance-attribute
The size of the file or folder.
media_type
class-attribute
instance-attribute
The media type of the file or folder.
is_folder
class-attribute
instance-attribute
A boolean value (true, false) to indicate whether or not the blob is a folder.
e_tag
class-attribute
instance-attribute
The etag of the file or folder.
CreateNewDocumentSetResponse
dataclass
CreateNewFolderResponse
dataclass
SPListExpandedUser
dataclass
SPListExpandedUser(claims: Optional[str] = None, display_name: Optional[str] = None, email: Optional[str] = None, picture: Optional[str] = None, department: Optional[str] = None, job_title: Optional[str] = None, type_: Optional[str] = None)
Response for Resolve person
Attributes
claims
class-attribute
instance-attribute
user claims
display_name
class-attribute
instance-attribute
user title
email
class-attribute
instance-attribute
user email
picture
class-attribute
instance-attribute
user picture
department
class-attribute
instance-attribute
user department
TableForm
dataclass
TableForm(form_id: Optional[str] = None, display_name: Optional[str] = None, type_: Optional[str] = None, link: Optional[str] = None, created_by: Optional[str] = None, created: Optional[str] = None, modified: Optional[str] = None, modified_by: Optional[str] = None, output_format: Optional[str] = None, fields_metadata: Optional[List[FormFieldMetadata]] = None)
Response for Get form metadata (preview)
Attributes
form_id
class-attribute
instance-attribute
Gets or sets the form ID
display_name
class-attribute
instance-attribute
Gets or sets the form display name
type_
class-attribute
instance-attribute
Gets or sets the form type
link
class-attribute
instance-attribute
Gets or sets the form link/URL
created_by
class-attribute
instance-attribute
Gets or sets the user who created the form
created
class-attribute
instance-attribute
Gets or sets the date the form was created
modified
class-attribute
instance-attribute
Gets or sets the date the form was last modified
modified_by
class-attribute
instance-attribute
Gets or sets the user who last modified the form
output_format
class-attribute
instance-attribute
Gets or sets the output format (e.g. "Word document", "PDF document", "None")
SubmitDocGenFormInput
dataclass
ItemsList
dataclass
PostItemInput
dataclass
PostItemResponse
dataclass
GetItemResponse
dataclass
PatchItemInput
dataclass
PatchItemResponse
dataclass
CreateApprovalRequestInput
dataclass
ApprovalData
dataclass
GetItemChangesResponse
dataclass
Item
dataclass
Response for Get file properties
PatchFileItemInput
dataclass
PatchFileItemResponse
dataclass
SetApprovalStatusOutput
dataclass
SetApprovalStatusOutput(e_tag: Optional[str] = None, approval_link: Optional[str] = None, publish_start_date: Optional[str] = None, content_approval_status: Optional[str] = None, scheduled_version: Optional[str] = None)
Response for Set content approval status
Attributes
e_tag
class-attribute
instance-attribute
ETag of the item after the approval status was set
approval_link
class-attribute
instance-attribute
A link to the item that needs approval
publish_start_date
class-attribute
instance-attribute
Date time at which the item will be Published
SPListItemAttachment
dataclass
SPListItemAttachment(id: Optional[str] = None, absolute_uri: Optional[str] = None, display_name: Optional[str] = None)
Response for Get attachments
Attributes
id
class-attribute
instance-attribute
File identifier
absolute_uri
class-attribute
instance-attribute
Link to attachment
DeletedItemList
dataclass
CreateContentAssemblyDocumentInput
dataclass
Table
dataclass
Table(name: Optional[str] = None, display_name: Optional[str] = None, dynamic_properties: Optional[Dict[str, Any]] = None)
Response for Get list views
Attributes
name
class-attribute
instance-attribute
The name of the table. The name is used at runtime.
display_name
class-attribute
instance-attribute
The display name of the table.
DataSetsList
dataclass
TableMetadata
dataclass
TableMetadata(name: Optional[str] = None, title: Optional[str] = None, x_ms_permission: Optional[str] = None, x_ms_capabilities: Optional[TableCapabilitiesMetadata] = None, schema: Optional[ObjectEntity] = None, referenced_entities: Optional[ObjectEntity] = None, web_url: Optional[str] = None)
Response for Agreements Solution - Get template fields
Attributes
x_ms_permission
class-attribute
instance-attribute
Table permission
SPListEntity
dataclass
Response for Returns User fields for a list
Attributes
id
class-attribute
instance-attribute
The Id of the SPField
ObjectEntity
dataclass
GetItemChangesMetadataResponse
dataclass
Response for Get metadata about the return type of the GetItemChanges operation
ApplicationPermissionIdentity
dataclass
BlobDataSetsMetadata
dataclass
BlobDataSetsMetadata(source: Optional[str] = None, display_name: Optional[str] = None, url_encoding: Optional[str] = None)
Definition: BlobDataSetsMetadata
Attributes
display_name
class-attribute
instance-attribute
Blob dataset display name
BlobMetadataPage
dataclass
CopyFileParameters
dataclass
CopyFileParameters(source_file_id: Optional[str] = None, destination_dataset: Optional[str] = None, destination_folder_path: Optional[str] = None, name_conflict_behavior: Optional[int] = None)
Definition: CopyFileParameters
Attributes
source_file_id
class-attribute
instance-attribute
File Identifier
destination_dataset
class-attribute
instance-attribute
destination_dataset: Optional[str] = field(default=None, metadata={'wire_name': 'destinationDataset'})
Example: https://contoso.sharepoint.com/sites/sitename
CopyFolderParameters
dataclass
CopyFolderParameters(source_folder_id: Optional[str] = None, destination_dataset: Optional[str] = None, destination_folder_path: Optional[str] = None, name_conflict_behavior: Optional[int] = None)
Definition: CopyFolderParameters
Attributes
source_folder_id
class-attribute
instance-attribute
File Identifier
destination_dataset
class-attribute
instance-attribute
destination_dataset: Optional[str] = field(default=None, metadata={'wire_name': 'destinationDataset'})
Example: https://contoso.sharepoint.com/sites/sitename
CreateNewDocumentSetParameters
dataclass
CreateNewDocumentSetParameters(path: Optional[str] = None, content_type_id: Optional[str] = None, dynamic_properties: Optional[Dict[str, Any]] = None)
Definition: CreateNewDocumentSetParameters
CreateNewFolderParameters
dataclass
DataSet
dataclass
DataSet(name: Optional[str] = None, display_name: Optional[str] = None, query: Optional[List[PassThroughNativeQuery]] = None)
Definition: DataSet
Attributes
name
class-attribute
instance-attribute
Dataset name
display_name
class-attribute
instance-attribute
Dataset display name
DataSetsMetadata
dataclass
DataSetsMetadata(tabular: Optional[TabularDataSetsMetadata] = None, blob: Optional[BlobDataSetsMetadata] = None)
Definition: DataSetsMetadata
DeletedItem
dataclass
DeletedItem(id: Optional[int] = None, name: Optional[str] = None, file_name_with_extension: Optional[str] = None, deleted_by_user_name: Optional[str] = None, time_deleted: Optional[str] = None, is_folder: Optional[bool] = None)
Definition: DeletedItem
Attributes
id
class-attribute
instance-attribute
List item id
name
class-attribute
instance-attribute
File name of the item in document libraries, display name of the item in lists
file_name_with_extension
class-attribute
instance-attribute
file_name_with_extension: Optional[str] = field(default=None, metadata={'wire_name': 'FileNameWithExtension'})
File name with extension of the item in document libraries, same as Name of the item in lists
deleted_by_user_name
class-attribute
instance-attribute
deleted_by_user_name: Optional[str] = field(default=None, metadata={'wire_name': 'DeletedByUserName'})
The name of the user who deleted this item
time_deleted
class-attribute
instance-attribute
When this item was deleted
FileCheckInParameters
dataclass
Definition: FileCheckInParameters
Attributes
comment
class-attribute
instance-attribute
Type comments describing what has changed in this version
FormFieldMetadata
dataclass
FormFieldMetadata(id: Optional[str] = None, name: Optional[str] = None, is_required: Optional[bool] = None, data_type: Optional[str] = None, default_value: Optional[str] = None)
Definition: FormFieldMetadata
Attributes
id
class-attribute
instance-attribute
Gets or sets the field ID
name
class-attribute
instance-attribute
Gets or sets the field Name
is_required
class-attribute
instance-attribute
Gets or sets a value indicating whether the field is required
data_type
class-attribute
instance-attribute
Gets or sets the field data type
GroupPermissionIdentity
dataclass
HubSiteJoinApprovalOutput
dataclass
HubSiteJoinApprovalOutput(requesting_site_url: Optional[str] = None, requesting_site_id: Optional[str] = None, requesting_site_title: Optional[str] = None, approval_correlation_id: Optional[str] = None)
Definition: HubSiteJoinApprovalOutput
Attributes
requesting_site_url
class-attribute
instance-attribute
requesting_site_url: Optional[str] = field(default=None, metadata={'wire_name': 'RequestingSiteUrl'})
Requesting Site Url
requesting_site_id
class-attribute
instance-attribute
Requesting Site Id
ItemGrantAccessBody
dataclass
ItemGrantAccessBody(recipients: Optional[str] = None, role_value: Optional[str] = None, email_body: Optional[str] = None, send_email: Optional[bool] = None)
Definition: ItemGrantAccessBody
Attributes
recipients
class-attribute
instance-attribute
A collection of recipients who will receive the sharing invitation
role_value
class-attribute
instance-attribute
Specify a role that is to be granted to the recipients
email_body
class-attribute
instance-attribute
A plain text formatted message that is included in the sharing invitation
ItemPermissionAddBody
dataclass
ItemPermissionAddBody(recipients: Optional[List[ItemPermissionRecipient]] = None, roles: Optional[List[str]] = None, require_sign_in: Optional[bool] = None, send_invitation: Optional[bool] = None, message: Optional[str] = None)
Definition: ItemPermissionAddBody
Attributes
recipients
class-attribute
instance-attribute
A collection of recipients who will receive access and the sharing invitation.
roles
class-attribute
instance-attribute
Specify the roles that are be granted to the recipients of the sharing invitation.
require_sign_in
class-attribute
instance-attribute
Specifies where the recipient of the invitation is required to sign-in to view the shared item.
send_invitation
class-attribute
instance-attribute
Specifies if an email or post is generated (true) or if the permission is just created (false).
ItemPermissionCreateLinkBody
dataclass
ItemPermissionCreateLinkBody(type_: Optional[str] = None, scope: Optional[str] = None, expiration_date_time: Optional[str] = None)
Definition: ItemPermissionCreateLinkBody
Attributes
type_
class-attribute
instance-attribute
The type of sharing link to create
scope
class-attribute
instance-attribute
Choose who your sharing link gives access to. "Anyone" option will only work if your administrator has enabled it.
ItemPermissionRecipient
dataclass
ItemPermissionUpdateBody
dataclass
ItemReference
dataclass
MoveFileParameters
dataclass
MoveFileParameters(source_file_id: Optional[str] = None, destination_dataset: Optional[str] = None, destination_folder_path: Optional[str] = None, name_conflict_behavior: Optional[int] = None)
Definition: MoveFileParameters
Attributes
source_file_id
class-attribute
instance-attribute
File Identifier
destination_dataset
class-attribute
instance-attribute
destination_dataset: Optional[str] = field(default=None, metadata={'wire_name': 'destinationDataset'})
Example: https://contoso.sharepoint.com/sites/sitename
MoveFolderParameters
dataclass
MoveFolderParameters(source_folder_id: Optional[str] = None, destination_dataset: Optional[str] = None, destination_folder_path: Optional[str] = None, name_conflict_behavior: Optional[int] = None)
Definition: MoveFolderParameters
Attributes
source_folder_id
class-attribute
instance-attribute
File Identifier
destination_dataset
class-attribute
instance-attribute
destination_dataset: Optional[str] = field(default=None, metadata={'wire_name': 'destinationDataset'})
Example: https://contoso.sharepoint.com/sites/sitename
PassThroughNativeQuery
dataclass
PatchFileItemWithPredictedValuesParameters
dataclass
PatchFileItemWithPredictedValuesParameters(model_id: Optional[str] = None, predict_result: Optional[str] = None)
Definition: PatchFileItemWithPredictedValuesParameters
Attributes
model_id
class-attribute
instance-attribute
Enter modelId of the Model which is used for prediction
Permission
dataclass
Permission(id: Optional[str] = None, granted_to: Optional[PermissionIdentitySet] = None, granted_to_identities: Optional[List[SharingLinkPermissionIdentitySet]] = None, invitation: Optional[SharingInvitation] = None, inherited_from: Optional[ItemReference] = None, link: Optional[SharingLink] = None, roles: Optional[List[str]] = None)
Definition: Permission
PermissionIdentitySet
dataclass
PermissionIdentitySet(application: Optional[ApplicationPermissionIdentity] = None, group: Optional[GroupPermissionIdentity] = None, user: Optional[UserPermissionIdentity] = None)
Definition: PermissionIdentitySet
PermissionsList
dataclass
Procedure
dataclass
Definition: Procedure
PublishedResult
dataclass
SharePointHttpRequestBodyParameters
dataclass
SharePointHttpRequestBodyParameters(method: Optional[str] = None, uri: Optional[str] = None, headers: Optional[Dict[str, Any]] = None, body: Optional[str] = None)
Definition: SharePointHttpRequestBodyParameters
Attributes
uri
class-attribute
instance-attribute
Example: _api/web/lists/getbytitle('Documents')
headers
class-attribute
instance-attribute
Enter JSON object of request headers
SharePointIds
dataclass
SharePointIds(list_id: Optional[str] = None, list_item_id: Optional[str] = None, list_item_unique_id: Optional[str] = None, site_id: Optional[str] = None, site_url: Optional[str] = None, tenant_id: Optional[str] = None, web_id: Optional[str] = None)
Definition: SharePointIds
Attributes
list_id
class-attribute
instance-attribute
The unique identifier (guid) for the item's list in SharePoint
list_item_id
class-attribute
instance-attribute
An integer identifier for the item within the containing list
list_item_unique_id
class-attribute
instance-attribute
list_item_unique_id: Optional[str] = field(default=None, metadata={'wire_name': 'listItemUniqueId'})
The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site
site_id
class-attribute
instance-attribute
The unique identifier (guid) for the item's site collection (SPSite)
site_url
class-attribute
instance-attribute
The SharePoint URL for the site that contains the item
tenant_id
class-attribute
instance-attribute
The unique identifier (guid) for the tenancy
SharingInvitation
dataclass
Definition: SharingInvitation
Attributes
email
class-attribute
instance-attribute
The email address provided for the recipient of the sharing invitation
SharingLink
dataclass
SharingLinkPermissionIdentitySet
dataclass
Definition: SharingLinkPermissionIdentitySet
SharingLinkUserPermissionIdentity
dataclass
SPContentType
dataclass
SPForASelectedFileResponse
dataclass
SPForASelectedFileResponse(id: Optional[int] = None, item_url: Optional[str] = None, file_name: Optional[str] = None)
Definition: SPForASelectedFileResponse
Attributes
id
class-attribute
instance-attribute
File Identifier
item_url
class-attribute
instance-attribute
File Url
TableCapabilitiesMetadata
dataclass
TableCapabilitiesMetadata(sort_restrictions: Optional[TableSortRestrictionsMetadata] = None, filter_restrictions: Optional[TableFilterRestrictionsMetadata] = None, select_restrictions: Optional[TableSelectRestrictionsMetadata] = None, count_restrictions: Optional[TableCountRestrictionsMetadata] = None, is_only_server_pagable: Optional[bool] = None, filter_function_support: Optional[List[str]] = None, server_paging_options: Optional[List[str]] = None)
Definition: TableCapabilitiesMetadata
Attributes
is_only_server_pagable
class-attribute
instance-attribute
is_only_server_pagable: Optional[bool] = field(default=None, metadata={'wire_name': 'isOnlyServerPagable'})
Server paging restrictions
TableCountRestrictionsMetadata
dataclass
TableFilterRestrictionsMetadata
dataclass
TableFilterRestrictionsMetadata(filterable: Optional[bool] = None, non_filterable_properties: Optional[List[str]] = None, required_properties: Optional[List[str]] = None)
Definition: TableFilterRestrictionsMetadata
Attributes
filterable
class-attribute
instance-attribute
Indicates whether this table has filterable columns
TableSelectRestrictionsMetadata
dataclass
TableSortRestrictionsMetadata
dataclass
TableSortRestrictionsMetadata(sortable: Optional[bool] = None, unsortable_properties: Optional[List[str]] = None, ascending_only_properties: Optional[List[str]] = None)
Definition: TableSortRestrictionsMetadata
Attributes
sortable
class-attribute
instance-attribute
Indicates whether this table has sortable columns
TabularDataSetsMetadata
dataclass
TabularDataSetsMetadata(source: Optional[str] = None, display_name: Optional[str] = None, url_encoding: Optional[str] = None, table_display_name: Optional[str] = None, table_plural_name: Optional[str] = None)
Definition: TabularDataSetsMetadata
Attributes
display_name
class-attribute
instance-attribute
Dataset display name
url_encoding
class-attribute
instance-attribute
Dataset url encoding
table_display_name
class-attribute
instance-attribute
Table display name
UserPermissionIdentity
dataclass
SharepointonlineClient
SharepointonlineClient(connection_runtime_url: str, token_provider: Optional[TokenProvider] = None, options: Optional[ConnectorClientOptions] = None)
Bases: ConnectorClientBase
Typed client for sharepointonline connector.
Initialize a SharepointonlineClient.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
connection_runtime_url
|
str
|
The connection runtime URL from Azure Portal. |
required |
token_provider
|
Optional[TokenProvider]
|
Optional token provider. Defaults to ManagedIdentityTokenProvider. |
None
|
options
|
Optional[ConnectorClientOptions]
|
Optional connector client options. |
None
|
Methods:
create_agreements_solution_document_async
async
create_agreements_solution_document_async(input: CreateAgreementsSolutionDocumentInput, dataset: str, template: str, document_name: Optional[str] = None) -> dict[str, Any] | None
Agreements Solution - Generate document within Agreements Solution workspace
Use this action to create documents based on modern templates in a Agreements Solution workspace. This is behind a payment wall currently in planning (either license or PayG).
get_all_tables_async
async
Get all lists and libraries
Get all lists and libraries.
approve_hub_site_join_async
async
Approve hub site join request
Approve hub site join request. This will return an approval token that can be used to complete the join request using the join hub site action.
cancel_hub_site_join_approval_async
async
cancel_hub_site_join_approval_async(dataset: str, approval_correlation_id: Optional[str] = None) -> None
Cancel hub site join request
Cancel hub join request. If applicable, you should specify the same Approval Correlation Id as used in the "Set hub site join status to pending" action.
create_sharing_link_async
async
create_sharing_link_async(input: ItemPermissionCreateLinkBody, dataset: str, table: str, id: int) -> dict[str, Any] | None
Create sharing link for a file or folder
Create sharing link for a file or folder.
copy_file_async
async
copy_file_async(dataset: str, source: str, destination: str, overwrite: Optional[bool] = None) -> dict[str, Any] | None
Copy file (deprecated)
Copies a file to a SharePoint site.
copy_file_2_async
async
Copy file
Copies a file. Works in a similar way to the "Copy to" command in SharePoint libraries. Returns information about the new file after copy.
copy_folder_async
async
Copy folder
Copies a folder. Works in a similar way to the "Copy to" command in SharePoint libraries. Returns information about the new folder after copy.
create_file_async
async
Create file
Uploads a file to a SharePoint site. Make sure to pick an existing library.
get_file_metadata_async
async
Get file metadata
Gets information about the file such as size, etag, created date, etc. Uses a file identifier to pick the file. Use "Get file properties" action to get to the values stored in the columns in the library.
update_file_async
async
Update file
Updates the contents of the file specified by the file identifier.
delete_file_async
async
Delete file
Deletes the file specified by the file identifier.
get_file_content_async
async
Get file content
Gets file contents using the file identifier. The contents can be copied somewhere else, or be used as an attachment.
list_root_folder_async
async
List root folder
Returns files in the root SharePoint folder.
list_folder_async
async
List folder
Returns files contained in a SharePoint folder.
get_file_metadata_by_path_async
async
Get file metadata using path
Gets information about the file such as size, etag, created date, etc. Uses a file path to pick the file. Use "Get file properties" action to get to the values stored in the columns in the library.
get_file_content_by_path_async
async
get_file_content_by_path_async(dataset: str, path: str, infer_content_type: Optional[bool] = None) -> bytes
Get file content using path
Gets file contents using the file path.
get_folder_metadata_async
async
Get folder metadata
Gets information about the folder. Uses a file identifier to pick the folder.
get_folder_metadata_by_path_async
async
Get folder metadata using path
Gets information about the folder. Uses a folder path to pick the folder.
http_request_async
async
Send an HTTP request to SharePoint
Construct a SharePoint REST API to invoke. Note - This action may execute any SharePoint REST API you have access to. Please proceed with caution.
join_hub_site_async
async
join_hub_site_async(dataset: str, hub_site_id: str, approval_token: Optional[str] = None, approval_correlation_id: Optional[str] = None) -> None
Join hub site
Join the requested site to the hub site. An Approval Token is required to complete the join successfully if that hub requires approval. If applicable, you should specify the same Approval Correlation Id as used in the "Set hub site join status to pending" action.
move_file_async
async
Move file
Moves a file. Works in a similar way to the "Move to" command in SharePoint libraries. Returns information about the new file after move.
move_folder_async
async
Move folder
Moves a folder. Works in a similar way to the "Move to" command in SharePoint libraries. Returns information about the new folder after move.
notify_hub_site_join_approval_started_async
async
notify_hub_site_join_approval_started_async(dataset: str, approval_correlation_id: Optional[str] = None) -> None
Set hub site join status to pending
Set the requested site's hub join request status to pending. The Approval Correlation Id is an optional parameter that helps SharePoint identify a particular hub join request. The requesting site can only have one pending request at a given time.
get_tables_async
async
Get lists
Gets SharePoint lists from a site.
create_new_document_set_async
async
create_new_document_set_async(input: CreateNewDocumentSetParameters, dataset: str, table: str) -> dict[str, Any] | None
Create new document set
Creates a new document set list item.
create_new_folder_async
async
create_new_folder_async(input: CreateNewFolderParameters, dataset: str, table: str, view: Optional[str] = None) -> dict[str, Any] | None
Create new folder
Creates a new folder or folder path.
search_for_user_async
async
search_for_user_async(dataset: str, table: str, entity_id: str, search_value: str, view: Optional[str] = None) -> dict[str, Any] | None
Resolve person
Returns a single matching user value so it can be assigned to a column of type person. If there are no matches, or multiple matches, this action will error out.
get_table_form_async
async
Get form metadata (preview)
Use this action to get the form metadata, which includes the form ID, title, link, form type, and the output format. It also gets the form questions used to collect information. Document generation forms is a part of AI in SharePoint Public Preview. For more info on getting started, see: https://learn.microsoft.com/sharepoint/dev/declarative-customization/structured-documents.
submit_doc_gen_form_async
async
submit_doc_gen_form_async(input: SubmitDocGenFormInput, dataset: str, table: str, form: str, view: Optional[str] = None) -> dict[str, Any] | None
Generate a document from a form (preview)
Use this action to create documents from a document generation template. Map the template fields to the corresponding content in the data source. Document generation forms is a part of AI in SharePoint Public Preview. For more info on getting started, see: https://learn.microsoft.com/sharepoint/dev/declarative-customization/structured-documents.
get_file_items_async
async
get_file_items_async(dataset: str, table: str, filter: Optional[str] = None, orderby: Optional[str] = None, top: Optional[int] = None, folder_path: Optional[str] = None, view_scope_option: Optional[str] = None, view: Optional[str] = None) -> dict[str, Any] | None
Get files (properties only)
Gets the properties saved in the columns in the library for all folders and files stored in the library. You can also filter down to the items that match a condition. An "Apply to each" section is usually used to work with the output from this action. When using this with the On-Premises Data Gateway, the name of the library to connect to may need to be entered manually.
get_items_async
async
get_items_async(dataset: str, table: str, filter: Optional[str] = None, orderby: Optional[str] = None, top: Optional[int] = None, folder_path: Optional[str] = None, view_scope_option: Optional[str] = None, view: Optional[str] = None) -> dict[str, Any] | None
Get items
Gets items from a SharePoint list.
post_item_async
async
post_item_async(input: PostItemInput, dataset: str, table: str, view: Optional[str] = None) -> dict[str, Any] | None
Create item
Creates a new item in a SharePoint list.
get_item_async
async
get_item_async(dataset: str, table: str, id: int, view: Optional[str] = None) -> dict[str, Any] | None
Get item
Gets a single item by its id from a SharePoint list.
delete_item_async
async
Delete item
Deletes an item from a SharePoint list.
patch_item_async
async
patch_item_async(input: PatchItemInput, dataset: str, table: str, id: int, view: Optional[str] = None) -> dict[str, Any] | None
Update item
Updates an item in a SharePoint list.
create_approval_request_async
async
create_approval_request_async(input: CreateApprovalRequestInput, dataset: str, table: str, id: int, approval_type: int) -> dict[str, Any] | None
Create an approval request for an item or file
Creates an approval request for an item or file.
get_item_changes_async
async
get_item_changes_async(dataset: str, table: str, id: int, since: str, until: Optional[str] = None, include_drafts: Optional[bool] = None, view: Optional[str] = None) -> dict[str, Any] | None
Get changes for an item or a file (properties only)
Returns information about columns that have changed within a given time window. Note: The list must have Versioning turned on.
check_in_file_async
async
Check in file
Check in a checked out file in a document library, which makes the version of the document available to others.
check_out_file_async
async
Check out file
Check out a file in a document library to prevent others from editing the document, and your changes from being visible until the documented is checked in.
discard_file_check_out_async
async
Discard check out
If you check out a file and don't make changes to it, or you make changes that you don't want to keep, you can simply discard the checkout, rather than saving the file. If your organization tracks versions, a new version is created each time you check a file back into the library. By discarding the checkout, you can avoid making new versions when you haven't made any changes to the file.
get_file_item_async
async
get_file_item_async(dataset: str, table: str, id: int, view: Optional[str] = None) -> dict[str, Any] | None
Get file properties
Gets the properties saved in the columns in the library for the item specified by the item id. You can add a "Get file content" step and use the "File identifier" property returned by this action to get to the contents of the file. When using this with the On-Premises Data Gateway, the name of the library to connect to may need to be entered manually.
grant_access_async
async
Grant access to an item or a folder
Grant access to an item or a folder in SharePoint to specific people.
patch_file_item_async
async
patch_file_item_async(input: PatchFileItemInput, dataset: str, table: str, id: int, view: Optional[str] = None) -> dict[str, Any] | None
Update file properties
Updates the properties stored in columns in a library for the item specified by the item id. Use "Update file" action to update file contents. When using this with the On-Premises Data Gateway, the name of the library to connect to may need to be entered manually.
patch_file_item_with_predicted_values_async
async
patch_file_item_with_predicted_values_async(input: PatchFileItemWithPredictedValuesParameters, dataset: str, table: str, id: int) -> dict[str, Any] | None
Update file properties using AI Builder model results
Updates the values stored in library columns for a file analyzed by the model specified by the ModelId.
set_approval_status_async
async
set_approval_status_async(dataset: str, table: str, id: int, approval_action: str, comments: Optional[str] = None, entity_tag: Optional[str] = None) -> dict[str, Any] | None
Set content approval status
Sets the content approval status for an item in a list or library that has content approval turned on. You must provide an ETag for pages and files. You can get the ETag using the Get File Metadata action. This action is only available for SharePoint Online and SharePoint 2019.
unshare_item_async
async
Stop sharing an item or a file
Delete all links giving access to an item or a file and remove all people with direct access except for owners.
get_item_attachments_async
async
Get attachments
Returns the list of attachments for the specified list item. You can add a "Get attachment content" step and use the "File identifier" property returned by this action to get to the contents of the file.
create_attachment_async
async
create_attachment_async(input: bytes, dataset: str, table: str, item_id: int, display_name: str) -> dict[str, Any] | None
Add attachment
Adds a new attachment to the specified list item.
delete_attachment_async
async
Delete attachment
Deletes the specified attachment.
get_attachment_content_async
async
Get attachment content
Returns file contents using the file identifier. The contents can be copied somewhere else, or be used as an attachment.
create_content_assembly_document_async
async
create_content_assembly_document_async(input: CreateContentAssemblyDocumentInput, dataset: str, table: str, template: str, folder_path: Optional[str] = None, file_name: Optional[str] = None, view: Optional[str] = None) -> dict[str, Any] | None
Generate document using Microsoft Syntex (preview)
Use this action to create documents based on modern templates from Microsoft Syntex. This preview requires a Syntex license. Pricing is subject to change. For more info see: https://docs.microsoft.com/en-us/microsoft-365/contentunderstanding/content-assembly.
get_table_views_async
async
Get list views
Gets views from a SharePoint list.
extract_folder_async
async
extract_folder_async(dataset: str, source: str, destination: str, overwrite: Optional[bool] = None) -> dict[str, Any] | None
Extract folder
Extracts an archive file into a SharePoint folder (example: .zip).
get_data_sets_async
async
Get datasets
Gets the most recently used SharePoint sites.
get_agreements_solution_templates_async
async
Agreements Solution - Get Templates
Gets templates from a Agreements Solution workspace.
get_agreements_solution_template_fields_async
async
Agreements Solution - Get template fields
Gets fields from template in a Agreements Solution workspace.
get_tables_for_libraries_async
async
Get libraries
Get libraries
get_table_async
async
get_table_async(dataset: str, table: str, view: Optional[str] = None, content_type_id: Optional[str] = None) -> dict[str, Any] | None
Get list metadata
Gets metadata from a SharePoint list.
get_tables_for_lists_and_libraries_async
async
Get lists and libraries
Get lists and libraries
get_entities_for_user_async
async
get_entities_for_user_async(dataset: str, table: str, view: Optional[str] = None) -> dict[str, Any] | None
Returns User fields for a list
Returns User fields for a list.
get_table_forms_async
async
Get list forms
Gets forms from a SharePoint list.
get_doc_gen_forms_async
async
Get document generation forms
Gets published document generation forms from a SharePoint document library.
get_doc_gen_form_fields_async
async
Get document generation form fields
Gets fields from a document generation form in a SharePoint list.
get_view_scope_options_async
async
Get SPViewScope options to use for folder querying behavior
Default - Only query current folder (non-recursive). Return both Files and Folders. RecursiveAll - Recursively query the folder. Return both Files and Folders.
get_tables_for_lightweight_approval_async
async
Get lists and libraries where lightweight approvals is enabled
Get lists and libraries where lightweight approvals is enabled
get_approval_types_async
async
Get available approval request types
Internal operation to get the available approval request types.
get_approval_schema_async
async
Get the appropriate creation schema for the approval request type
Internal operation to fetch the schema for approval request creation based on the approval type.
get_item_changes_metadata_async
async
Get metadata about the return type of the GetItemChanges operation
Get metadata about the return type of the GetItemChanges operation.
get_tables_for_approval_async
async
Get libraries where Content Approval is supported
Get libraries where Content Approval is supported
get_day_of_week_options_async
async
When to send updates
Internal operation to get day of week options.
get_content_assembly_templates_async
async
Get document library templates
Gets templates from a SharePoint document library.