(crm.users)
List Users
from panora_sdk import Panora
s = Panora(
api_key="<YOUR_API_KEY_HERE>",
)
res = s.crm.users.list(x_connection_token="<value>", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874")
if res is not None:
while True:
# handle items
res = res.Next()
if res is None:
break
Parameter |
Type |
Required |
Description |
Example |
x_connection_token |
str |
✔️ |
The connection token |
|
remote_data |
Optional[bool] |
➖ |
Set to true to include data from the original software. |
true |
limit |
Optional[float] |
➖ |
Set to get the number of records. |
10 |
cursor |
Optional[str] |
➖ |
Set to get the number of records after this cursor. |
1b8b05bb-5273-4012-b520-8657b0b90874 |
retries |
Optional[utils.RetryConfig] |
➖ |
Configuration to override the default retry behavior of the client. |
|
models.ListCrmUsersResponse
Error Object |
Status Code |
Content Type |
models.SDKError |
4xx-5xx |
/ |
Retrieve Users from any connected Crm software
from panora_sdk import Panora
s = Panora(
api_key="<YOUR_API_KEY_HERE>",
)
res = s.crm.users.retrieve(x_connection_token="<value>", id="b008e199-eda9-4629-bd41-a01b6195864a", remote_data=True)
if res is not None:
# handle response
pass
Parameter |
Type |
Required |
Description |
Example |
x_connection_token |
str |
✔️ |
The connection token |
|
id |
str |
✔️ |
id of the user you want to retrieve. |
b008e199-eda9-4629-bd41-a01b6195864a |
remote_data |
Optional[bool] |
➖ |
Set to true to include data from the original Crm software. |
true |
retries |
Optional[utils.RetryConfig] |
➖ |
Configuration to override the default retry behavior of the client. |
|
models.UnifiedCrmUserOutput
Error Object |
Status Code |
Content Type |
models.SDKError |
4xx-5xx |
/ |