You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/apis/HrisApi.md
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1704,6 +1704,7 @@ with apideck.ApiClient(configuration) as api_client:
1704
1704
payment_unit=PaymentUnit("year"),
1705
1705
hired_at=dateutil_parser('Wed Aug 12 00:00:00 UTC 2020').date(),
1706
1706
is_primary=True,
1707
+
is_manager=True,
1707
1708
location=Address(
1708
1709
id="123",
1709
1710
type="primary",
@@ -2139,6 +2140,7 @@ Get Employee
2139
2140
import time
2140
2141
import apideck
2141
2142
from apideck.api import hris_api
2143
+
from apideck.model.employees_one_filter import EmployeesOneFilter
2142
2144
from apideck.model.get_employee_response import GetEmployeeResponse
2143
2145
from apideck.model.bad_request_response import BadRequestResponse
2144
2146
from apideck.model.payment_required_response import PaymentRequiredResponse
@@ -2174,6 +2176,9 @@ with apideck.ApiClient(configuration) as api_client:
2174
2176
service_id ="x-apideck-service-id_example"# str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional)
2175
2177
raw =False# bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False
2176
2178
fields ="id,updated_at"# str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional)
2179
+
filter= EmployeesOneFilter(
2180
+
company_id="1234",
2181
+
) # EmployeesOneFilter | Apply filters (optional)
2177
2182
2178
2183
# example passing only required values which don't have defaults set
2179
2184
try:
@@ -2187,7 +2192,7 @@ with apideck.ApiClient(configuration) as api_client:
print("Exception when calling HrisApi->employees_one: %s\n"% e)
@@ -2204,6 +2209,7 @@ Name | Type | Description | Notes
2204
2209
**service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional]
2205
2210
**raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False
2206
2211
**fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional]
@@ -669,6 +670,113 @@ Name | Type | Description | Notes
669
670
-**Accept**: application/json
670
671
671
672
673
+
### HTTP response details
674
+
675
+
| Status code | Description | Response headers |
676
+
|-------------|-------------|------------------|
677
+
**200** | Connection | - |
678
+
**400** | Bad Request | - |
679
+
**401** | Unauthorized | - |
680
+
**402** | Payment Required | - |
681
+
**404** | The specified resource was not found | - |
682
+
**422** | Unprocessable | - |
683
+
**0** | Unexpected error | - |
684
+
685
+
[[Back to top]](#)[[Back to API list]](../../README.md#documentation-for-api-endpoints)[[Back to Model list]](../../README.md#documentation-for-models)[[Back to README]](../../README.md)
Triggers exchanging persisted connection credentials for an access token and store it in Vault. Currently supported for connections with the `client_credentials` or `password` OAuth grant type. Note: - Do not include any credentials in the request body. This operation does not persist changes, but only triggers the exchange of persisted connection credentials for an access token. - The access token will not be returned in the response. A 200 response code indicates the authorization was successful and that a valid access token was stored on the connection. - The access token will be used for subsequent API requests.
693
+
694
+
### Example
695
+
696
+
* Api Key Authentication (apiKey):
697
+
698
+
```python
699
+
import time
700
+
import apideck
701
+
from apideck.api import vault_api
702
+
from apideck.model.get_connection_response import GetConnectionResponse
703
+
from apideck.model.bad_request_response import BadRequestResponse
704
+
from apideck.model.payment_required_response import PaymentRequiredResponse
705
+
from apideck.model.unexpected_error_response import UnexpectedErrorResponse
706
+
from apideck.model.unauthorized_response import UnauthorizedResponse
707
+
from apideck.model.unprocessable_response import UnprocessableResponse
708
+
from apideck.model.not_found_response import NotFoundResponse
709
+
from pprint import pprint
710
+
# Defining the host is optional and defaults to https://unify.apideck.com
711
+
# See configuration.py for a list of all supported configuration parameters.
712
+
configuration = apideck.Configuration(
713
+
host="https://unify.apideck.com"
714
+
)
715
+
716
+
# The client must configure the authentication and authorization parameters
717
+
# in accordance with the API server security policy.
718
+
# Examples for each auth method are provided below, use the example that
719
+
# satisfies your auth use case.
720
+
721
+
# Configure API key authorization: apiKey
722
+
configuration.api_key['apiKey'] ='YOUR_API_KEY'
723
+
724
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
@@ -1486,6 +1594,7 @@ with apideck.ApiClient(configuration) as api_client:
1486
1594
resource ="leads"# str | Name of the resource (plural)
1487
1595
consumer_id ="x-apideck-consumer-id_example"# str | ID of the consumer which you want to get or push data from (optional)
1488
1596
app_id ="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"# str | The ID of your Unify application (optional)
1597
+
resource_id ="1234"# str | This is the id of the resource you want to fetch when listing custom fields. For example, if you want to fetch custom fields for a specific contact, you would use the contact id. (optional)
1489
1598
1490
1599
# example passing only required values which don't have defaults set
1491
1600
try:
@@ -1499,7 +1608,7 @@ with apideck.ApiClient(configuration) as api_client:
print("Exception when calling VaultApi->custom_fields_all: %s\n"% e)
@@ -1515,6 +1624,7 @@ Name | Type | Description | Notes
1515
1624
**resource** | **str**| Name of the resource (plural) |
1516
1625
**consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional]
1517
1626
**app_id** | **str**| The ID of your Unify application | [optional]
1627
+
**resource_id** | **str**| This is the id of the resource you want to fetch when listing custom fields. For example, if you want to fetch custom fields for a specific contact, you would use the contact id. | [optional]
**custom_mappings** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | When custom mappings are configured on the resource, the result is included here. | [optional][readonly]
13
+
**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional]
14
+
**updated_by** | **str, none_type** | The user who last updated the object. | [optional][readonly]
15
+
**created_by** | **str, none_type** | The user who created the object. | [optional][readonly]
16
+
**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional][readonly]
17
+
**created_at** | **datetime, none_type** | The date and time when the object was created. | [optional][readonly]
18
+
19
+
[[Back to Model list]](../../README.md#documentation-for-models)[[Back to API list]](../../README.md#documentation-for-api-endpoints)[[Back to README]](../../README.md)
**subsidiary** | **str** | Id of the subsidiary to search for | [optional]
8
+
9
+
[[Back to Model list]](../../README.md#documentation-for-models)[[Back to API list]](../../README.md#documentation-for-api-endpoints)[[Back to README]](../../README.md)
**custom_mappings** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | When custom mappings are configured on the resource, the result is included here. | [optional][readonly]
15
+
**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional]
16
+
**updated_by** | **str, none_type** | The user who last updated the object. | [optional][readonly]
17
+
**created_by** | **str, none_type** | The user who created the object. | [optional][readonly]
18
+
**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional][readonly]
19
+
**created_at** | **datetime, none_type** | The date and time when the object was created. | [optional][readonly]
20
+
21
+
[[Back to Model list]](../../README.md#documentation-for-models)[[Back to API list]](../../README.md#documentation-for-api-endpoints)[[Back to README]](../../README.md)
**subsidiary** | **str** | Id of the subsidiary to search for | [optional]
8
+
9
+
[[Back to Model list]](../../README.md#documentation-for-models)[[Back to API list]](../../README.md#documentation-for-api-endpoints)[[Back to README]](../../README.md)
**description** | **str, none_type** | Optional description of the file | [optional]
13
+
**updated_by** | **str, none_type** | The user who last updated the object. | [optional][readonly]
14
+
**created_by** | **str, none_type** | The user who created the object. | [optional][readonly]
15
+
**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional][readonly]
16
+
**created_at** | **datetime, none_type** | The date and time when the object was created. | [optional][readonly]
17
+
18
+
[[Back to Model list]](../../README.md#documentation-for-models)[[Back to API list]](../../README.md#documentation-for-api-endpoints)[[Back to README]](../../README.md)
**id** | **str** | A unique identifier for an object. | [optional][readonly]
9
+
10
+
[[Back to Model list]](../../README.md#documentation-for-models)[[Back to API list]](../../README.md#documentation-for-api-endpoints)[[Back to README]](../../README.md)
**value** | **str** | | must be one of ["invoice", "bill", ]
8
+
9
+
[[Back to Model list]](../../README.md#documentation-for-models)[[Back to API list]](../../README.md#documentation-for-api-endpoints)[[Back to README]](../../README.md)
0 commit comments