Skip to content

Latest commit

 

History

History
825 lines (545 loc) · 27.1 KB

AtsApi.md

File metadata and controls

825 lines (545 loc) · 27.1 KB

Apideck.Ats

Class Name

AtsApi

Methods

Create Applicant

Method: applicantsAdd

Apideck->getAtsApi()->applicantsAdd($data)

Parameters

Name Type Description Notes
applicant \Apideck\Client\Model\Applicant
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false

Response Type

\Apideck\Client\Model\CreateApplicantResponse

HTTP response details

Status code Description
201 Applicants
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->applicantsAdd($applicant);
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

List Applicants

Method: applicantsAll

Apideck->getAtsApi()->applicantsAll($data)

Parameters

Name Type Description Notes
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
cursor string Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
filter \Apideck\Client\Model\ApplicantsFilter Apply filters
pass_through \Apideck\Client\Model\PassThroughQuery Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
fields string 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.city`

In the example above, the response will only include the fields &quot;name&quot;, &quot;email&quot; and &quot;addresses.city&quot;. If any other fields are available, they will be excluded.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false
limit [int] Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) defaults to 20

Response Type

\Apideck\Client\Model\GetApplicantsResponse

HTTP response details

Status code Description
200 Applicants
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->applicantsAll();
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

Delete Applicant

Method: applicantsDelete

Apideck->getAtsApi()->applicantsDelete($data)

Parameters

Name Type Description Notes
id string ID of the record you are acting upon.
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false

Response Type

\Apideck\Client\Model\DeleteApplicantResponse

HTTP response details

Status code Description
200 Applicants
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->applicantsDelete('id_example');
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

Get Applicant

Method: applicantsOne

Apideck->getAtsApi()->applicantsOne($data)

Parameters

Name Type Description Notes
id string ID of the record you are acting upon.
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
fields string 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.city`

In the example above, the response will only include the fields &quot;name&quot;, &quot;email&quot; and &quot;addresses.city&quot;. If any other fields are available, they will be excluded.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false

Response Type

\Apideck\Client\Model\GetApplicantResponse

HTTP response details

Status code Description
200 Applicants
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->applicantsOne('id_example');
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

Update Applicant

Method: applicantsUpdate

Apideck->getAtsApi()->applicantsUpdate($data)

Parameters

Name Type Description Notes
id string ID of the record you are acting upon.
applicant \Apideck\Client\Model\Applicant
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false

Response Type

\Apideck\Client\Model\UpdateApplicantResponse

HTTP response details

Status code Description
200 Applicants
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->applicantsUpdate('id_example', $applicant);
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

Create Application

Method: applicationsAdd

Apideck->getAtsApi()->applicationsAdd($data)

Parameters

Name Type Description Notes
application \Apideck\Client\Model\Application
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false

Response Type

\Apideck\Client\Model\CreateApplicationResponse

HTTP response details

Status code Description
201 Applications
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->applicationsAdd($application);
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

List Applications

Method: applicationsAll

Apideck->getAtsApi()->applicationsAll($data)

Parameters

Name Type Description Notes
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
cursor string Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
pass_through \Apideck\Client\Model\PassThroughQuery Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false
limit [int] Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) defaults to 20

Response Type

\Apideck\Client\Model\GetApplicationsResponse

HTTP response details

Status code Description
200 Applications
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->applicationsAll();
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

Delete Application

Method: applicationsDelete

Apideck->getAtsApi()->applicationsDelete($data)

Parameters

Name Type Description Notes
id string ID of the record you are acting upon.
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false

Response Type

\Apideck\Client\Model\DeleteApplicationResponse

HTTP response details

Status code Description
200 Applications
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->applicationsDelete('id_example');
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

Get Application

Method: applicationsOne

Apideck->getAtsApi()->applicationsOne($data)

Parameters

Name Type Description Notes
id string ID of the record you are acting upon.
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false

Response Type

\Apideck\Client\Model\GetApplicationResponse

HTTP response details

Status code Description
200 Applications
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->applicationsOne('id_example');
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

Update Application

Method: applicationsUpdate

Apideck->getAtsApi()->applicationsUpdate($data)

Parameters

Name Type Description Notes
id string ID of the record you are acting upon.
application \Apideck\Client\Model\Application
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false

Response Type

\Apideck\Client\Model\UpdateApplicationResponse

HTTP response details

Status code Description
200 Applications
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->applicationsUpdate('id_example', $application);
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

List Jobs

Method: jobsAll

Apideck->getAtsApi()->jobsAll($data)

Parameters

Name Type Description Notes
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
cursor string Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
pass_through \Apideck\Client\Model\PassThroughQuery Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
fields string 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.city`

In the example above, the response will only include the fields &quot;name&quot;, &quot;email&quot; and &quot;addresses.city&quot;. If any other fields are available, they will be excluded.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false
limit [int] Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) defaults to 20

Response Type

\Apideck\Client\Model\GetJobsResponse

HTTP response details

Status code Description
200 Jobs
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->jobsAll();
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]

Get Job

Method: jobsOne

Apideck->getAtsApi()->jobsOne($data)

Parameters

Name Type Description Notes
id string ID of the record you are acting upon.
x_apideck_consumer_id string ID of the consumer which you want to get or push data from
x_apideck_app_id string The ID of your Unify application
x_apideck_service_id string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
fields string 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.city`

In the example above, the response will only include the fields &quot;name&quot;, &quot;email&quot; and &quot;addresses.city&quot;. If any other fields are available, they will be excluded.
raw [bool] Include raw response. Mostly used for debugging purposes (optional) defaults to false

Response Type

\Apideck\Client\Model\GetJobResponse

HTTP response details

Status code Description
200 Jobs
400 Bad Request
401 Unauthorized
402 Payment Required
404 The specified resource was not found
422 Unprocessable
4/5xx Unexpected error

Example Usage

<?php
require('vendor/autoload.php');

use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;

$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');

$apideck = new Apideck($config);

try {
  $response = $apideck->getAtsApi()->jobsOne('id_example');
  var_dump('API called successfully', $response);
} catch(ApiException $error) {
  var_dump('API called failed', $error);
}

[Back to top] [Back to API list] [Back to README]