(ats.applicants)
- list - List Applicants
- create - Create Applicant
- get - Get Applicant
- update - Update Applicant
- delete - Delete Applicant
List Applicants
from apideck_unify import Apideck
import os
with Apideck(
consumer_id="test-consumer",
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
api_key=os.getenv("APIDECK_API_KEY", ""),
) as apideck:
res = apideck.ats.applicants.list(raw=False, service_id="salesforce", limit=20, filter_={
"job_id": "1234",
}, pass_through={
"search": "San Francisco",
}, fields="id,updated_at")
while res is not None:
# Handle items
res = res.next()| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
raw |
Optional[bool] | ➖ | Include raw response. Mostly used for debugging purposes | |
consumer_id |
Optional[str] | ➖ | ID of the consumer which you want to get or push data from | test-consumer |
app_id |
Optional[str] | ➖ | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX |
service_id |
Optional[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. | salesforce |
cursor |
OptionalNullable[str] | ➖ | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | |
limit |
Optional[int] | ➖ | Number of results to return. Minimum 1, Maximum 200, Default 20 | |
filter_ |
Optional[models.ApplicantsFilter] | ➖ | Apply filters | { "job_id": "1234" } |
pass_through |
Dict[str, Any] | ➖ | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | { "search": "San Francisco" } |
fields |
OptionalNullable[str] | ➖ | 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. Example: fields=name,email,addresses.cityIn 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. |
id,updated_at |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.AtsApplicantsAllResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| models.BadRequestResponse | 400 | application/json |
| models.UnauthorizedResponse | 401 | application/json |
| models.PaymentRequiredResponse | 402 | application/json |
| models.NotFoundResponse | 404 | application/json |
| models.UnprocessableResponse | 422 | application/json |
| models.APIError | 4XX, 5XX | */* |
Create Applicant
import apideck_unify
from apideck_unify import Apideck
from datetime import date
import os
with Apideck(
consumer_id="test-consumer",
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
api_key=os.getenv("APIDECK_API_KEY", ""),
) as apideck:
res = apideck.ats.applicants.create(raw=False, service_id="salesforce", name="Elon Musk", salutation="Mr", first_name="Elon", last_name="Musk", middle_name="D.", initials="EM", birthday=date.fromisoformat("2000-08-12"), gender=apideck_unify.ApplicantGender.MALE, social_security_number="123456789", type_="Candidate", cover_letter="I submit this application to express my sincere interest in the API developer position. In the previous role, I was responsible for leadership and ...", photo_url="https://unavatar.io/elon-musk", headline="PepsiCo, Inc, Central Perk", title="CEO", emails=[
{
"id": "123",
"email": "elon@musk.com",
"type": apideck_unify.EmailType.PRIMARY,
},
], custom_fields=[
{
"id": "2389328923893298",
"name": "employee_level",
"description": "Employee Level",
"value": {
},
},
{
"id": "2389328923893298",
"name": "employee_level",
"description": "Employee Level",
"value": {
},
},
], phone_numbers=[
{
"id": "12345",
"country_code": "1",
"area_code": "323",
"number": "111-111-1111",
"extension": "105",
"type": apideck_unify.PhoneNumberType.PRIMARY,
},
{
"id": "12345",
"country_code": "1",
"area_code": "323",
"number": "111-111-1111",
"extension": "105",
"type": apideck_unify.PhoneNumberType.PRIMARY,
},
], addresses=[
{
"id": "123",
"type": apideck_unify.Type.PRIMARY,
"string": "25 Spring Street, Blackburn, VIC 3130",
"name": "HQ US",
"line1": "Main street",
"line2": "apt #",
"line3": "Suite #",
"line4": "delivery instructions",
"street_number": "25",
"city": "San Francisco",
"state": "CA",
"postal_code": "94104",
"country": "US",
"latitude": "40.759211",
"longitude": "-73.984638",
"county": "Santa Clara",
"contact_name": "Elon Musk",
"salutation": "Mr",
"phone_number": "111-111-1111",
"fax": "122-111-1111",
"email": "elon@musk.com",
"website": "https://elonmusk.com",
"notes": "Address notes or delivery instructions.",
"row_version": "1-12345",
},
{
"id": "123",
"type": apideck_unify.Type.PRIMARY,
"string": "25 Spring Street, Blackburn, VIC 3130",
"name": "HQ US",
"line1": "Main street",
"line2": "apt #",
"line3": "Suite #",
"line4": "delivery instructions",
"street_number": "25",
"city": "San Francisco",
"state": "CA",
"postal_code": "94104",
"country": "US",
"latitude": "40.759211",
"longitude": "-73.984638",
"county": "Santa Clara",
"contact_name": "Elon Musk",
"salutation": "Mr",
"phone_number": "111-111-1111",
"fax": "122-111-1111",
"email": "elon@musk.com",
"website": "https://elonmusk.com",
"notes": "Address notes or delivery instructions.",
"row_version": "1-12345",
},
], websites=[
{
"id": "12345",
"url": "http://example.com",
"type": apideck_unify.ApplicantType.PRIMARY,
},
{
"id": "12345",
"url": "http://example.com",
"type": apideck_unify.ApplicantType.PRIMARY,
},
{
"id": "12345",
"url": "http://example.com",
"type": apideck_unify.ApplicantType.PRIMARY,
},
], social_links=[
{
"id": "12345",
"url": "https://www.twitter.com/apideck",
"type": "twitter",
},
{
"id": "12345",
"url": "https://www.twitter.com/apideck",
"type": "twitter",
},
], stage_id="12345", recruiter_id="12345", coordinator_id="12345", application_ids=[
"a0d636c6-43b3-4bde-8c70-85b707d992f4",
"a98lfd96-43b3-4bde-8c70-85b707d992e6",
], applications=[
"a0d636c6-43b3-4bde-8c70-85b707d992f4",
"a98lfd96-43b3-4bde-8c70-85b707d992e6",
], followers=[
"a0d636c6-43b3-4bde-8c70-85b707d992f4",
"a98lfd96-43b3-4bde-8c70-85b707d992e6",
], sources=[
"Job site",
], confidential=False, anonymized=True, tags=[
"New",
], archived=False, owner_id="54321", record_url="https://app.intercom.io/contacts/12345", deleted=True, pass_through=[
{
"service_id": "<id>",
"extend_paths": [
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
],
},
{
"service_id": "<id>",
"extend_paths": [
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
],
},
{
"service_id": "<id>",
"extend_paths": [
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
],
},
])
assert res.create_applicant_response is not None
# Handle response
print(res.create_applicant_response)| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
raw |
Optional[bool] | ➖ | Include raw response. Mostly used for debugging purposes | |
consumer_id |
Optional[str] | ➖ | ID of the consumer which you want to get or push data from | test-consumer |
app_id |
Optional[str] | ➖ | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX |
service_id |
Optional[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. | salesforce |
name |
Optional[str] | ➖ | The name of an applicant. | Elon Musk |
salutation |
OptionalNullable[str] | ➖ | A formal salutation for the person. For example, 'Mr', 'Mrs' | Mr |
first_name |
OptionalNullable[str] | ➖ | The first name of the person. | Elon |
last_name |
OptionalNullable[str] | ➖ | The last name of the person. | Musk |
middle_name |
OptionalNullable[str] | ➖ | Middle name of the person. | D. |
initials |
OptionalNullable[str] | ➖ | The initials of the person, usually derived from their first, middle, and last names. | EM |
birthday |
datetime | ➖ | The date of birth of the person. | 2000-08-12 |
gender |
OptionalNullable[models.ApplicantGender] | ➖ | The gender represents the gender identity of a person. | male |
social_security_number |
OptionalNullable[str] | ➖ | A unique identifier assigned by the government. This field is considered sensitive information and may be subject to special security and privacy restrictions. | 123456789 |
type |
Optional[str] | ➖ | N/A | Candidate |
cover_letter |
Optional[str] | ➖ | N/A | I submit this application to express my sincere interest in the API developer position. In the previous role, I was responsible for leadership and ... |
photo_url |
OptionalNullable[str] | ➖ | The URL of the photo of a person. | https://unavatar.io/elon-musk |
headline |
Optional[str] | ➖ | Typically a list of previous companies where the contact has worked or schools that the contact has attended | PepsiCo, Inc, Central Perk |
title |
OptionalNullable[str] | ➖ | The job title of the person. | CEO |
emails |
List[models.Email] | ➖ | N/A | |
custom_fields |
List[models.CustomField] | ➖ | N/A | |
phone_numbers |
List[models.PhoneNumber] | ➖ | N/A | |
addresses |
List[models.Address] | ➖ | N/A | |
websites |
List[models.Websites] | ➖ | N/A | |
social_links |
List[models.SocialLinks] | ➖ | N/A | |
stage_id |
Optional[str] | ➖ | N/A | 12345 |
recruiter_id |
Optional[str] | ➖ | N/A | 12345 |
coordinator_id |
Optional[str] | ➖ | N/A | 12345 |
application_ids |
List[str] | ➖ | N/A | [ "a0d636c6-43b3-4bde-8c70-85b707d992f4", "a98lfd96-43b3-4bde-8c70-85b707d992e6" ] |
applications |
List[str] | ➖ | : warning: ** DEPRECATED **: Deprecated. Use application_ids instead.. Deprecated: Use application_ids instead. Array of application IDs associated with the applicant. |
[ "a0d636c6-43b3-4bde-8c70-85b707d992f4", "a98lfd96-43b3-4bde-8c70-85b707d992e6" ] |
followers |
List[str] | ➖ | N/A | [ "a0d636c6-43b3-4bde-8c70-85b707d992f4", "a98lfd96-43b3-4bde-8c70-85b707d992e6" ] |
sources |
List[str] | ➖ | N/A | [ "Job site" ] |
confidential |
Optional[bool] | ➖ | N/A | false |
anonymized |
Optional[bool] | ➖ | N/A | true |
tags |
List[str] | ➖ | N/A | [ "New" ] |
archived |
OptionalNullable[bool] | ➖ | N/A | false |
owner_id |
OptionalNullable[str] | ➖ | N/A | 54321 |
record_url |
OptionalNullable[str] | ➖ | N/A | https://app.intercom.io/contacts/12345 |
deleted |
OptionalNullable[bool] | ➖ | Flag to indicate if the object is deleted. | true |
pass_through |
List[models.PassThroughBody] | ➖ | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.AtsApplicantsAddResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| models.BadRequestResponse | 400 | application/json |
| models.UnauthorizedResponse | 401 | application/json |
| models.PaymentRequiredResponse | 402 | application/json |
| models.NotFoundResponse | 404 | application/json |
| models.UnprocessableResponse | 422 | application/json |
| models.APIError | 4XX, 5XX | */* |
Get Applicant
from apideck_unify import Apideck
import os
with Apideck(
consumer_id="test-consumer",
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
api_key=os.getenv("APIDECK_API_KEY", ""),
) as apideck:
res = apideck.ats.applicants.get(id="<id>", service_id="salesforce", raw=False, fields="id,updated_at")
assert res.get_applicant_response is not None
# Handle response
print(res.get_applicant_response)| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
id |
str | ✔️ | ID of the record you are acting upon. | |
consumer_id |
Optional[str] | ➖ | ID of the consumer which you want to get or push data from | test-consumer |
app_id |
Optional[str] | ➖ | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX |
service_id |
Optional[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. | salesforce |
raw |
Optional[bool] | ➖ | Include raw response. Mostly used for debugging purposes | |
fields |
OptionalNullable[str] | ➖ | 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. Example: fields=name,email,addresses.cityIn 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. |
id,updated_at |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.AtsApplicantsOneResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| models.BadRequestResponse | 400 | application/json |
| models.UnauthorizedResponse | 401 | application/json |
| models.PaymentRequiredResponse | 402 | application/json |
| models.NotFoundResponse | 404 | application/json |
| models.UnprocessableResponse | 422 | application/json |
| models.APIError | 4XX, 5XX | */* |
Update Applicant
import apideck_unify
from apideck_unify import Apideck
from datetime import date
import os
with Apideck(
consumer_id="test-consumer",
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
api_key=os.getenv("APIDECK_API_KEY", ""),
) as apideck:
res = apideck.ats.applicants.update(id="<id>", service_id="salesforce", raw=False, name="Elon Musk", salutation="Mr", first_name="Elon", last_name="Musk", middle_name="D.", initials="EM", birthday=date.fromisoformat("2000-08-12"), gender=apideck_unify.ApplicantGender.MALE, social_security_number="123456789", type_="Candidate", cover_letter="I submit this application to express my sincere interest in the API developer position. In the previous role, I was responsible for leadership and ...", photo_url="https://unavatar.io/elon-musk", headline="PepsiCo, Inc, Central Perk", title="CEO", emails=[
{
"id": "123",
"email": "elon@musk.com",
"type": apideck_unify.EmailType.PRIMARY,
},
{
"id": "123",
"email": "elon@musk.com",
"type": apideck_unify.EmailType.PRIMARY,
},
{
"id": "123",
"email": "elon@musk.com",
"type": apideck_unify.EmailType.PRIMARY,
},
], custom_fields=[
{
"id": "2389328923893298",
"name": "employee_level",
"description": "Employee Level",
"value": {
"0": {
},
"1": {
},
},
},
], phone_numbers=[
{
"id": "12345",
"country_code": "1",
"area_code": "323",
"number": "111-111-1111",
"extension": "105",
"type": apideck_unify.PhoneNumberType.PRIMARY,
},
{
"id": "12345",
"country_code": "1",
"area_code": "323",
"number": "111-111-1111",
"extension": "105",
"type": apideck_unify.PhoneNumberType.PRIMARY,
},
{
"id": "12345",
"country_code": "1",
"area_code": "323",
"number": "111-111-1111",
"extension": "105",
"type": apideck_unify.PhoneNumberType.PRIMARY,
},
], addresses=[
{
"id": "123",
"type": apideck_unify.Type.PRIMARY,
"string": "25 Spring Street, Blackburn, VIC 3130",
"name": "HQ US",
"line1": "Main street",
"line2": "apt #",
"line3": "Suite #",
"line4": "delivery instructions",
"street_number": "25",
"city": "San Francisco",
"state": "CA",
"postal_code": "94104",
"country": "US",
"latitude": "40.759211",
"longitude": "-73.984638",
"county": "Santa Clara",
"contact_name": "Elon Musk",
"salutation": "Mr",
"phone_number": "111-111-1111",
"fax": "122-111-1111",
"email": "elon@musk.com",
"website": "https://elonmusk.com",
"notes": "Address notes or delivery instructions.",
"row_version": "1-12345",
},
{
"id": "123",
"type": apideck_unify.Type.PRIMARY,
"string": "25 Spring Street, Blackburn, VIC 3130",
"name": "HQ US",
"line1": "Main street",
"line2": "apt #",
"line3": "Suite #",
"line4": "delivery instructions",
"street_number": "25",
"city": "San Francisco",
"state": "CA",
"postal_code": "94104",
"country": "US",
"latitude": "40.759211",
"longitude": "-73.984638",
"county": "Santa Clara",
"contact_name": "Elon Musk",
"salutation": "Mr",
"phone_number": "111-111-1111",
"fax": "122-111-1111",
"email": "elon@musk.com",
"website": "https://elonmusk.com",
"notes": "Address notes or delivery instructions.",
"row_version": "1-12345",
},
], websites=[
{
"id": "12345",
"url": "http://example.com",
"type": apideck_unify.ApplicantType.PRIMARY,
},
{
"id": "12345",
"url": "http://example.com",
"type": apideck_unify.ApplicantType.PRIMARY,
},
{
"id": "12345",
"url": "http://example.com",
"type": apideck_unify.ApplicantType.PRIMARY,
},
], social_links=[
{
"id": "12345",
"url": "https://www.twitter.com/apideck",
"type": "twitter",
},
], stage_id="12345", recruiter_id="12345", coordinator_id="12345", application_ids=[
"a0d636c6-43b3-4bde-8c70-85b707d992f4",
"a98lfd96-43b3-4bde-8c70-85b707d992e6",
], applications=[
"a0d636c6-43b3-4bde-8c70-85b707d992f4",
"a98lfd96-43b3-4bde-8c70-85b707d992e6",
], followers=[
"a0d636c6-43b3-4bde-8c70-85b707d992f4",
"a98lfd96-43b3-4bde-8c70-85b707d992e6",
], sources=[
"Job site",
], confidential=False, anonymized=True, tags=[
"New",
], archived=False, owner_id="54321", record_url="https://app.intercom.io/contacts/12345", deleted=True, pass_through=[
{
"service_id": "<id>",
"extend_paths": [
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
],
},
{
"service_id": "<id>",
"extend_paths": [
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
],
},
{
"service_id": "<id>",
"extend_paths": [
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
{
"path": "$.nested.property",
"value": {
"TaxClassificationRef": {
"value": "EUC-99990201-V1-00020000",
},
},
},
],
},
])
assert res.update_applicant_response is not None
# Handle response
print(res.update_applicant_response)| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
id |
str | ✔️ | ID of the record you are acting upon. | |
consumer_id |
Optional[str] | ➖ | ID of the consumer which you want to get or push data from | test-consumer |
app_id |
Optional[str] | ➖ | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX |
service_id |
Optional[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. | salesforce |
raw |
Optional[bool] | ➖ | Include raw response. Mostly used for debugging purposes | |
name |
Optional[str] | ➖ | The name of an applicant. | Elon Musk |
salutation |
OptionalNullable[str] | ➖ | A formal salutation for the person. For example, 'Mr', 'Mrs' | Mr |
first_name |
OptionalNullable[str] | ➖ | The first name of the person. | Elon |
last_name |
OptionalNullable[str] | ➖ | The last name of the person. | Musk |
middle_name |
OptionalNullable[str] | ➖ | Middle name of the person. | D. |
initials |
OptionalNullable[str] | ➖ | The initials of the person, usually derived from their first, middle, and last names. | EM |
birthday |
datetime | ➖ | The date of birth of the person. | 2000-08-12 |
gender |
OptionalNullable[models.ApplicantGender] | ➖ | The gender represents the gender identity of a person. | male |
social_security_number |
OptionalNullable[str] | ➖ | A unique identifier assigned by the government. This field is considered sensitive information and may be subject to special security and privacy restrictions. | 123456789 |
type |
Optional[str] | ➖ | N/A | Candidate |
cover_letter |
Optional[str] | ➖ | N/A | I submit this application to express my sincere interest in the API developer position. In the previous role, I was responsible for leadership and ... |
photo_url |
OptionalNullable[str] | ➖ | The URL of the photo of a person. | https://unavatar.io/elon-musk |
headline |
Optional[str] | ➖ | Typically a list of previous companies where the contact has worked or schools that the contact has attended | PepsiCo, Inc, Central Perk |
title |
OptionalNullable[str] | ➖ | The job title of the person. | CEO |
emails |
List[models.Email] | ➖ | N/A | |
custom_fields |
List[models.CustomField] | ➖ | N/A | |
phone_numbers |
List[models.PhoneNumber] | ➖ | N/A | |
addresses |
List[models.Address] | ➖ | N/A | |
websites |
List[models.Websites] | ➖ | N/A | |
social_links |
List[models.SocialLinks] | ➖ | N/A | |
stage_id |
Optional[str] | ➖ | N/A | 12345 |
recruiter_id |
Optional[str] | ➖ | N/A | 12345 |
coordinator_id |
Optional[str] | ➖ | N/A | 12345 |
application_ids |
List[str] | ➖ | N/A | [ "a0d636c6-43b3-4bde-8c70-85b707d992f4", "a98lfd96-43b3-4bde-8c70-85b707d992e6" ] |
applications |
List[str] | ➖ | : warning: ** DEPRECATED **: Deprecated. Use application_ids instead.. Deprecated: Use application_ids instead. Array of application IDs associated with the applicant. |
[ "a0d636c6-43b3-4bde-8c70-85b707d992f4", "a98lfd96-43b3-4bde-8c70-85b707d992e6" ] |
followers |
List[str] | ➖ | N/A | [ "a0d636c6-43b3-4bde-8c70-85b707d992f4", "a98lfd96-43b3-4bde-8c70-85b707d992e6" ] |
sources |
List[str] | ➖ | N/A | [ "Job site" ] |
confidential |
Optional[bool] | ➖ | N/A | false |
anonymized |
Optional[bool] | ➖ | N/A | true |
tags |
List[str] | ➖ | N/A | [ "New" ] |
archived |
OptionalNullable[bool] | ➖ | N/A | false |
owner_id |
OptionalNullable[str] | ➖ | N/A | 54321 |
record_url |
OptionalNullable[str] | ➖ | N/A | https://app.intercom.io/contacts/12345 |
deleted |
OptionalNullable[bool] | ➖ | Flag to indicate if the object is deleted. | true |
pass_through |
List[models.PassThroughBody] | ➖ | The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. | |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.AtsApplicantsUpdateResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| models.BadRequestResponse | 400 | application/json |
| models.UnauthorizedResponse | 401 | application/json |
| models.PaymentRequiredResponse | 402 | application/json |
| models.NotFoundResponse | 404 | application/json |
| models.UnprocessableResponse | 422 | application/json |
| models.APIError | 4XX, 5XX | */* |
Delete Applicant
from apideck_unify import Apideck
import os
with Apideck(
consumer_id="test-consumer",
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
api_key=os.getenv("APIDECK_API_KEY", ""),
) as apideck:
res = apideck.ats.applicants.delete(id="<id>", service_id="salesforce", raw=False)
assert res.delete_applicant_response is not None
# Handle response
print(res.delete_applicant_response)| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
id |
str | ✔️ | ID of the record you are acting upon. | |
consumer_id |
Optional[str] | ➖ | ID of the consumer which you want to get or push data from | test-consumer |
app_id |
Optional[str] | ➖ | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX |
service_id |
Optional[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. | salesforce |
raw |
Optional[bool] | ➖ | Include raw response. Mostly used for debugging purposes | |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.AtsApplicantsDeleteResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| models.BadRequestResponse | 400 | application/json |
| models.UnauthorizedResponse | 401 | application/json |
| models.PaymentRequiredResponse | 402 | application/json |
| models.NotFoundResponse | 404 | application/json |
| models.UnprocessableResponse | 422 | application/json |
| models.APIError | 4XX, 5XX | */* |