- create_ats_company - Create a company
- create_crm_company - Create a company
- create_hris_company - Create a company
- get_ats_company - Retrieve a company
- get_crm_company - Retrieve a company
- get_hris_company - Retrieve a company
- list_ats_companies - List all companies
- list_crm_companies - List all companies
- list_enrich_companies - Retrieve enrichment information for a company
- list_hris_companies - List all companies
- patch_ats_company - Update a company
- patch_crm_company - Update a company
- patch_hris_company - Update a company
- remove_ats_company - Remove a company
- remove_crm_company - Remove a company
- remove_hris_company - Remove a company
- update_ats_company - Update a company
- update_crm_company - Update a company
- update_hris_company - Update a company
Create a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.create_ats_company(request={
"ats_company": {},
"connection_id": "<id>",
})
assert res.ats_company is not None
# Handle response
print(res.ats_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.CreateAtsCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.CreateAtsCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Create a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.create_crm_company(request={
"crm_company": {},
"connection_id": "<id>",
})
assert res.crm_company is not None
# Handle response
print(res.crm_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.CreateCrmCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.CreateCrmCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Create a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.create_hris_company(request={
"hris_company": {},
"connection_id": "<id>",
})
assert res.hris_company is not None
# Handle response
print(res.hris_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.CreateHrisCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.CreateHrisCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Retrieve a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.get_ats_company(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res.ats_company is not None
# Handle response
print(res.ats_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetAtsCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetAtsCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Retrieve a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.get_crm_company(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res.crm_company is not None
# Handle response
print(res.crm_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetCrmCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetCrmCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Retrieve a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.get_hris_company(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res.hris_company is not None
# Handle response
print(res.hris_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetHrisCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetHrisCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
List all companies
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.list_ats_companies(request={
"connection_id": "<id>",
})
assert res.ats_companies is not None
# Handle response
print(res.ats_companies)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListAtsCompaniesRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListAtsCompaniesResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
List all companies
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.list_crm_companies(request={
"connection_id": "<id>",
})
assert res.crm_companies is not None
# Handle response
print(res.crm_companies)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListCrmCompaniesRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListCrmCompaniesResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Retrieve enrichment information for a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.list_enrich_companies(request={
"connection_id": "<id>",
})
assert res.enrich_company is not None
# Handle response
print(res.enrich_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListEnrichCompaniesRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListEnrichCompaniesResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
List all companies
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.list_hris_companies(request={
"connection_id": "<id>",
})
assert res.hris_companies is not None
# Handle response
print(res.hris_companies)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListHrisCompaniesRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListHrisCompaniesResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.patch_ats_company(request={
"ats_company": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.ats_company is not None
# Handle response
print(res.ats_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.PatchAtsCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.PatchAtsCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.patch_crm_company(request={
"crm_company": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.crm_company is not None
# Handle response
print(res.crm_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.PatchCrmCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.PatchCrmCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.patch_hris_company(request={
"hris_company": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.hris_company is not None
# Handle response
print(res.hris_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.PatchHrisCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.PatchHrisCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Remove a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.remove_ats_company(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res is not None
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.RemoveAtsCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.RemoveAtsCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Remove a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.remove_crm_company(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res is not None
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.RemoveCrmCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.RemoveCrmCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Remove a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.remove_hris_company(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res is not None
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.RemoveHrisCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.RemoveHrisCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.update_ats_company(request={
"ats_company": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.ats_company is not None
# Handle response
print(res.ats_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.UpdateAtsCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.UpdateAtsCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.update_crm_company(request={
"crm_company": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.crm_company is not None
# Handle response
print(res.crm_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.UpdateCrmCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.UpdateCrmCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a company
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.company.update_hris_company(request={
"hris_company": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.hris_company is not None
# Handle response
print(res.hris_company)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.UpdateHrisCompanyRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.UpdateHrisCompanyResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |