All URIs are relative to https://crm.example.com/rest
| Method | HTTP request | Description |
|---|---|---|
| create_many_calendar_event_participants | POST /batch/calendarEventParticipants | Create Many calendarEventParticipants |
| create_one_calendar_event_participant | POST /calendarEventParticipants | Create One calendarEventParticipant |
| delete_many_calendar_event_participants | DELETE /calendarEventParticipants | Delete Many calendarEventParticipants |
| delete_one_calendar_event_participant | DELETE /calendarEventParticipants/{id} | Delete One calendarEventParticipant |
| find_calendar_event_participant_duplicates | POST /calendarEventParticipants/duplicates | Find calendarEventParticipant Duplicates |
| find_many_calendar_event_participants | GET /calendarEventParticipants | Find Many calendarEventParticipants |
| find_one_calendar_event_participant | GET /calendarEventParticipants/{id} | Find One calendarEventParticipant |
| group_by_calendar_event_participants | GET /calendarEventParticipants/groupBy | Group By calendarEventParticipants |
| merge_many_calendar_event_participants | PATCH /calendarEventParticipants/merge | Merge Many calendarEventParticipants |
| restore_many_calendar_event_participants | PATCH /restore/calendarEventParticipants | Restore Many calendarEventParticipants |
| restore_one_calendar_event_participant | PATCH /restore/calendarEventParticipants/{id} | Restore One calendarEventParticipant |
| update_many_calendar_event_participants | PATCH /calendarEventParticipants | Update Many calendarEventParticipants |
| update_one_calendar_event_participant | PATCH /calendarEventParticipants/{id} | Update One calendarEventParticipant |
CreateManyCalendarEventParticipants201Response create_many_calendar_event_participants(calendar_event_participant, depth=depth, upsert=upsert)
Create Many calendarEventParticipants
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.calendar_event_participant import CalendarEventParticipant
from twentycrm_client.models.create_many_calendar_event_participants201_response import CreateManyCalendarEventParticipants201Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
calendar_event_participant = [twentycrm_client.CalendarEventParticipant()] # List[CalendarEventParticipant] |
depth = 1 # int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations (optional) (default to 1)
upsert = False # bool | If true, creates the object or updates it if it already exists. (optional) (default to False)
try:
# Create Many calendarEventParticipants
api_response = api_instance.create_many_calendar_event_participants(calendar_event_participant, depth=depth, upsert=upsert)
print("The response of CalendarEventParticipantsApi->create_many_calendar_event_participants:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->create_many_calendar_event_participants: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| calendar_event_participant | List[CalendarEventParticipant] | ||
| depth | int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations | [optional] [default to 1] |
| upsert | bool | If true, creates the object or updates it if it already exists. | [optional] [default to False] |
CreateManyCalendarEventParticipants201Response
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 201 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateOneCalendarEventParticipant201Response create_one_calendar_event_participant(calendar_event_participant, depth=depth, upsert=upsert)
Create One calendarEventParticipant
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.calendar_event_participant import CalendarEventParticipant
from twentycrm_client.models.create_one_calendar_event_participant201_response import CreateOneCalendarEventParticipant201Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
calendar_event_participant = twentycrm_client.CalendarEventParticipant() # CalendarEventParticipant | body
depth = 1 # int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations (optional) (default to 1)
upsert = False # bool | If true, creates the object or updates it if it already exists. (optional) (default to False)
try:
# Create One calendarEventParticipant
api_response = api_instance.create_one_calendar_event_participant(calendar_event_participant, depth=depth, upsert=upsert)
print("The response of CalendarEventParticipantsApi->create_one_calendar_event_participant:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->create_one_calendar_event_participant: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| calendar_event_participant | CalendarEventParticipant | body | |
| depth | int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations | [optional] [default to 1] |
| upsert | bool | If true, creates the object or updates it if it already exists. | [optional] [default to False] |
CreateOneCalendarEventParticipant201Response
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 201 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteManyCalendarEventParticipants200Response delete_many_calendar_event_participants(filter=filter, soft_delete=soft_delete)
Delete Many calendarEventParticipants
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.delete_many_calendar_event_participants200_response import DeleteManyCalendarEventParticipants200Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
filter = 'createdAt[gte]:\"2023-01-01\"' # str | Format: field[COMPARATOR]:value,field2[COMPARATOR]:value2. For like/ilike, use % as a wildcard (e.g. %value% for substring match). Refer to the filter section at the top of the page for more details. (optional)
soft_delete = False # bool | If true, soft deletes the objects. If false, objects are permanently deleted. (optional) (default to False)
try:
# Delete Many calendarEventParticipants
api_response = api_instance.delete_many_calendar_event_participants(filter=filter, soft_delete=soft_delete)
print("The response of CalendarEventParticipantsApi->delete_many_calendar_event_participants:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->delete_many_calendar_event_participants: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| filter | str | Format: field[COMPARATOR]:value,field2[COMPARATOR]:value2. For like/ilike, use % as a wildcard (e.g. %value% for substring match). Refer to the filter section at the top of the page for more details. | [optional] |
| soft_delete | bool | If true, soft deletes the objects. If false, objects are permanently deleted. | [optional] [default to False] |
DeleteManyCalendarEventParticipants200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteOneCalendarEventParticipant200Response delete_one_calendar_event_participant(id, soft_delete=soft_delete)
Delete One calendarEventParticipant
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.delete_one_calendar_event_participant200_response import DeleteOneCalendarEventParticipant200Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
id = UUID('38400000-8cf0-11bd-b23e-10b96e4ef00d') # UUID | Object id.
soft_delete = False # bool | If true, soft deletes the objects. If false, objects are permanently deleted. (optional) (default to False)
try:
# Delete One calendarEventParticipant
api_response = api_instance.delete_one_calendar_event_participant(id, soft_delete=soft_delete)
print("The response of CalendarEventParticipantsApi->delete_one_calendar_event_participant:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->delete_one_calendar_event_participant: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Object id. | |
| soft_delete | bool | If true, soft deletes the objects. If false, objects are permanently deleted. | [optional] [default to False] |
DeleteOneCalendarEventParticipant200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FindCalendarEventParticipantDuplicates200Response find_calendar_event_participant_duplicates(find_calendar_event_participant_duplicates_request, depth=depth)
Find calendarEventParticipant Duplicates
depth can be provided to request your calendarEventParticipant
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.find_calendar_event_participant_duplicates200_response import FindCalendarEventParticipantDuplicates200Response
from twentycrm_client.models.find_calendar_event_participant_duplicates_request import FindCalendarEventParticipantDuplicatesRequest
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
find_calendar_event_participant_duplicates_request = twentycrm_client.FindCalendarEventParticipantDuplicatesRequest() # FindCalendarEventParticipantDuplicatesRequest | body
depth = 1 # int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations (optional) (default to 1)
try:
# Find calendarEventParticipant Duplicates
api_response = api_instance.find_calendar_event_participant_duplicates(find_calendar_event_participant_duplicates_request, depth=depth)
print("The response of CalendarEventParticipantsApi->find_calendar_event_participant_duplicates:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->find_calendar_event_participant_duplicates: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| find_calendar_event_participant_duplicates_request | FindCalendarEventParticipantDuplicatesRequest | body | |
| depth | int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations | [optional] [default to 1] |
FindCalendarEventParticipantDuplicates200Response
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FindManyCalendarEventParticipants200Response find_many_calendar_event_participants(order_by=order_by, filter=filter, limit=limit, depth=depth, starting_after=starting_after, ending_before=ending_before)
Find Many calendarEventParticipants
order_by, filter, limit, depth, starting_after or ending_before can be provided to request your calendarEventParticipants
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.find_many_calendar_event_participants200_response import FindManyCalendarEventParticipants200Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
order_by = 'createdAt' # str | Format: **field_name_1,field_name_2[DIRECTION_2] Refer to the filter section at the top of the page for more details. (optional)
filter = 'createdAt[gte]:\"2023-01-01\"' # str | Format: field[COMPARATOR]:value,field2[COMPARATOR]:value2. For like/ilike, use % as a wildcard (e.g. %value% for substring match). Refer to the filter section at the top of the page for more details. (optional)
limit = 60 # int | Limits the number of objects returned. (optional) (default to 60)
depth = 1 # int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations (optional) (default to 1)
starting_after = 'starting_after_example' # str | Returns objects starting after a specific cursor. You can find cursors in **startCursor** and **endCursor** in **pageInfo** in response data (optional)
ending_before = 'ending_before_example' # str | Returns objects ending before a specific cursor. You can find cursors in **startCursor** and **endCursor** in **pageInfo** in response data (optional)
try:
# Find Many calendarEventParticipants
api_response = api_instance.find_many_calendar_event_participants(order_by=order_by, filter=filter, limit=limit, depth=depth, starting_after=starting_after, ending_before=ending_before)
print("The response of CalendarEventParticipantsApi->find_many_calendar_event_participants:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->find_many_calendar_event_participants: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| order_by | str | Format: **field_name_1,field_name_2[DIRECTION_2] Refer to the filter section at the top of the page for more details. | [optional] |
| filter | str | Format: field[COMPARATOR]:value,field2[COMPARATOR]:value2. For like/ilike, use % as a wildcard (e.g. %value% for substring match). Refer to the filter section at the top of the page for more details. | [optional] |
| limit | int | Limits the number of objects returned. | [optional] [default to 60] |
| depth | int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations | [optional] [default to 1] |
| starting_after | str | Returns objects starting after a specific cursor. You can find cursors in startCursor and endCursor in pageInfo in response data | [optional] |
| ending_before | str | Returns objects ending before a specific cursor. You can find cursors in startCursor and endCursor in pageInfo in response data | [optional] |
FindManyCalendarEventParticipants200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FindOneCalendarEventParticipant200Response find_one_calendar_event_participant(id, depth=depth)
Find One calendarEventParticipant
depth can be provided to request your calendarEventParticipant
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.find_one_calendar_event_participant200_response import FindOneCalendarEventParticipant200Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
id = UUID('38400000-8cf0-11bd-b23e-10b96e4ef00d') # UUID | Object id.
depth = 1 # int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations (optional) (default to 1)
try:
# Find One calendarEventParticipant
api_response = api_instance.find_one_calendar_event_participant(id, depth=depth)
print("The response of CalendarEventParticipantsApi->find_one_calendar_event_participant:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->find_one_calendar_event_participant: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Object id. | |
| depth | int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations | [optional] [default to 1] |
FindOneCalendarEventParticipant200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupByCalendarEventParticipants200Response group_by_calendar_event_participants(group_by, filter=filter, order_by=order_by, limit=limit, view_id=view_id, aggregate=aggregate, include_records_sample=include_records_sample, order_by_for_records=order_by_for_records)
Group By calendarEventParticipants
Groups calendarEventParticipants by specified fields and optionally computes aggregate values for each group.
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.group_by_calendar_event_participants200_response import GroupByCalendarEventParticipants200Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
group_by = '[{\"updatedAt\": true}]' # str | Array of fields to group by. Each element can specify a field and optionally a subfield or granularity for date fields.
filter = 'createdAt[gte]:\"2023-01-01\"' # str | Format: field[COMPARATOR]:value,field2[COMPARATOR]:value2. For like/ilike, use % as a wildcard (e.g. %value% for substring match). Refer to the filter section at the top of the page for more details. (optional)
order_by = 'createdAt' # str | Format: **field_name_1,field_name_2[DIRECTION_2] Refer to the filter section at the top of the page for more details. (optional)
limit = 60 # int | Limits the number of objects returned. (optional) (default to 60)
view_id = UUID('38400000-8cf0-11bd-b23e-10b96e4ef00d') # UUID | View ID to apply filters from. (optional)
aggregate = '[\"countNotEmptyId\"]' # str | Array of aggregate operations to compute for each group. (optional)
include_records_sample = False # bool | If true, includes a sample of records for each group in the response. (optional) (default to False)
order_by_for_records = 'createdAt' # str | Order by clause for records within each group. Only applicable when include_records_sample is true. (optional)
try:
# Group By calendarEventParticipants
api_response = api_instance.group_by_calendar_event_participants(group_by, filter=filter, order_by=order_by, limit=limit, view_id=view_id, aggregate=aggregate, include_records_sample=include_records_sample, order_by_for_records=order_by_for_records)
print("The response of CalendarEventParticipantsApi->group_by_calendar_event_participants:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->group_by_calendar_event_participants: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| group_by | str | Array of fields to group by. Each element can specify a field and optionally a subfield or granularity for date fields. | |
| filter | str | Format: field[COMPARATOR]:value,field2[COMPARATOR]:value2. For like/ilike, use % as a wildcard (e.g. %value% for substring match). Refer to the filter section at the top of the page for more details. | [optional] |
| order_by | str | Format: **field_name_1,field_name_2[DIRECTION_2] Refer to the filter section at the top of the page for more details. | [optional] |
| limit | int | Limits the number of objects returned. | [optional] [default to 60] |
| view_id | UUID | View ID to apply filters from. | [optional] |
| aggregate | str | Array of aggregate operations to compute for each group. | [optional] |
| include_records_sample | bool | If true, includes a sample of records for each group in the response. | [optional] [default to False] |
| order_by_for_records | str | Order by clause for records within each group. Only applicable when include_records_sample is true. | [optional] |
GroupByCalendarEventParticipants200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MergeManyCalendarEventParticipants200Response merge_many_calendar_event_participants(merge_many_calendar_event_participants_request, depth=depth)
Merge Many calendarEventParticipants
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.merge_many_calendar_event_participants200_response import MergeManyCalendarEventParticipants200Response
from twentycrm_client.models.merge_many_calendar_event_participants_request import MergeManyCalendarEventParticipantsRequest
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
merge_many_calendar_event_participants_request = twentycrm_client.MergeManyCalendarEventParticipantsRequest() # MergeManyCalendarEventParticipantsRequest | body
depth = 1 # int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations (optional) (default to 1)
try:
# Merge Many calendarEventParticipants
api_response = api_instance.merge_many_calendar_event_participants(merge_many_calendar_event_participants_request, depth=depth)
print("The response of CalendarEventParticipantsApi->merge_many_calendar_event_participants:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->merge_many_calendar_event_participants: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| merge_many_calendar_event_participants_request | MergeManyCalendarEventParticipantsRequest | body | |
| depth | int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations | [optional] [default to 1] |
MergeManyCalendarEventParticipants200Response
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestoreManyCalendarEventParticipants200Response restore_many_calendar_event_participants(filter=filter, depth=depth)
Restore Many calendarEventParticipants
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.restore_many_calendar_event_participants200_response import RestoreManyCalendarEventParticipants200Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
filter = 'createdAt[gte]:\"2023-01-01\"' # str | Format: field[COMPARATOR]:value,field2[COMPARATOR]:value2. For like/ilike, use % as a wildcard (e.g. %value% for substring match). Refer to the filter section at the top of the page for more details. (optional)
depth = 1 # int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations (optional) (default to 1)
try:
# Restore Many calendarEventParticipants
api_response = api_instance.restore_many_calendar_event_participants(filter=filter, depth=depth)
print("The response of CalendarEventParticipantsApi->restore_many_calendar_event_participants:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->restore_many_calendar_event_participants: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| filter | str | Format: field[COMPARATOR]:value,field2[COMPARATOR]:value2. For like/ilike, use % as a wildcard (e.g. %value% for substring match). Refer to the filter section at the top of the page for more details. | [optional] |
| depth | int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations | [optional] [default to 1] |
RestoreManyCalendarEventParticipants200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RestoreOneCalendarEventParticipant200Response restore_one_calendar_event_participant(id, depth=depth)
Restore One calendarEventParticipant
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.restore_one_calendar_event_participant200_response import RestoreOneCalendarEventParticipant200Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
id = UUID('38400000-8cf0-11bd-b23e-10b96e4ef00d') # UUID | Object id.
depth = 1 # int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations (optional) (default to 1)
try:
# Restore One calendarEventParticipant
api_response = api_instance.restore_one_calendar_event_participant(id, depth=depth)
print("The response of CalendarEventParticipantsApi->restore_one_calendar_event_participant:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->restore_one_calendar_event_participant: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Object id. | |
| depth | int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations | [optional] [default to 1] |
RestoreOneCalendarEventParticipant200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateManyCalendarEventParticipants200Response update_many_calendar_event_participants(calendar_event_participant_for_update, depth=depth, filter=filter)
Update Many calendarEventParticipants
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.calendar_event_participant_for_update import CalendarEventParticipantForUpdate
from twentycrm_client.models.update_many_calendar_event_participants200_response import UpdateManyCalendarEventParticipants200Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
calendar_event_participant_for_update = twentycrm_client.CalendarEventParticipantForUpdate() # CalendarEventParticipantForUpdate | body
depth = 1 # int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations (optional) (default to 1)
filter = 'createdAt[gte]:\"2023-01-01\"' # str | Format: field[COMPARATOR]:value,field2[COMPARATOR]:value2. For like/ilike, use % as a wildcard (e.g. %value% for substring match). Refer to the filter section at the top of the page for more details. (optional)
try:
# Update Many calendarEventParticipants
api_response = api_instance.update_many_calendar_event_participants(calendar_event_participant_for_update, depth=depth, filter=filter)
print("The response of CalendarEventParticipantsApi->update_many_calendar_event_participants:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->update_many_calendar_event_participants: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| calendar_event_participant_for_update | CalendarEventParticipantForUpdate | body | |
| depth | int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations | [optional] [default to 1] |
| filter | str | Format: field[COMPARATOR]:value,field2[COMPARATOR]:value2. For like/ilike, use % as a wildcard (e.g. %value% for substring match). Refer to the filter section at the top of the page for more details. | [optional] |
UpdateManyCalendarEventParticipants200Response
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateOneCalendarEventParticipant200Response update_one_calendar_event_participant(id, calendar_event_participant_for_update, depth=depth)
Update One calendarEventParticipant
- Bearer (JWT) Authentication (bearerAuth):
import twentycrm_client
from twentycrm_client.models.calendar_event_participant_for_update import CalendarEventParticipantForUpdate
from twentycrm_client.models.update_one_calendar_event_participant200_response import UpdateOneCalendarEventParticipant200Response
from twentycrm_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://crm.example.com/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = twentycrm_client.Configuration(
host = "https://crm.example.com/rest"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = twentycrm_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with twentycrm_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = twentycrm_client.CalendarEventParticipantsApi(api_client)
id = UUID('38400000-8cf0-11bd-b23e-10b96e4ef00d') # UUID | Object id.
calendar_event_participant_for_update = twentycrm_client.CalendarEventParticipantForUpdate() # CalendarEventParticipantForUpdate | body
depth = 1 # int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations (optional) (default to 1)
try:
# Update One calendarEventParticipant
api_response = api_instance.update_one_calendar_event_participant(id, calendar_event_participant_for_update, depth=depth)
print("The response of CalendarEventParticipantsApi->update_one_calendar_event_participant:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CalendarEventParticipantsApi->update_one_calendar_event_participant: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | Object id. | |
| calendar_event_participant_for_update | CalendarEventParticipantForUpdate | body | |
| depth | int | Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations | [optional] [default to 1] |
UpdateOneCalendarEventParticipant200Response
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful operation | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]