- Documentation
- Sandbox
The REST APIs provide programmatic access to read and write TempBuddy data.
Before using the API you need to request your credentials. You can do it from the admin settings panel in TempBuddy.
All calls are done using POST or GET methods.
All content, unless specified, must be send as Form Data (application/x-www-form-urlencoded).
All response, unless specified, are in JSON. Some exceptions are: Profile Pictures and Files.
Get API Credentials from admin settings panel.
Send the client_id and client_secret as body parameters in each request.
You can have a look to the Api Example Section to know how to call the API.
Operators usually work as: parameter=value and parameter_op=operator
Some types available:
Some operators available:
If request allows to sort data it should be as:
Allowed directions are: ASC or DESC.
[GET]/application.json: Gets the application information.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
ids | integer | false | multi | id/ids(comma separated) | |
modifiedAfter | datetime | false | YYYY-MM-DD HH:mm:ss | Entities created or modified after specific date time (in UTC) | |
orderBy | integer | false | id,id | OrderBy | |
page | integer | false | Offset or initial page index to retrieve entites. First element will be: page * limit | ||
limit | integer | false | Total of entities to retrieve |
Parameter | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | |||||||||||||||||||||||||||||||||||||||||||||
data | collection | Result of the operation | |||||||||||||||||||||||||||||||||||||||||||||
data (collection : Result of the operation)
|
[POST]/application/post.json: Insert an application.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
jobID | integer | true | Job id | ||
candidateID | integer | true | candidate id | ||
info | string | false | Any extra information to send with the application | ||
status | string | true | Values allowed: ACCEPTED, APPLIED, REJECTED, IN_RESERVE |
Parameter | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | |||||||||
data | collection | Result of the operation (error string or object data) | |||||||||
data (collection : Result of the operation (error string or object data))
|
[PUT]/application/put.json: Update an application.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | Application id | ||
info | string | false | Any extra information to send with the application | ||
status | string | false | Values allowed: ACCEPTED, APPLIED, REJECTED, IN_RESERVE | ||
sendEmailCandidate | boolean | false | Send notification email to candidate |
Parameter | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | |||||||||||||||
data | collection | Result of the operation | |||||||||||||||
data (collection : Result of the operation)
|
[GET]/assignment.json: Gets the assignment information.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
ids | integer | false | multi | assignment id | |
candidateID | integer | false | multi | Candidate Id | |
clientID | integer | false | multi | Client Id | |
modifiedAfter | datetime | false | YYYY-MM-DD HH:mm:ss | Entities created or modified after specific date time (in UTC) | |
orderBy | integer | false | id,state | OrderBy | |
page | integer | false | Offset or initial page index to retrieve entites. First element will be: page * limit | ||
limit | integer | false | Total of entities to retrieve |
Parameter | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
page | integer | Number of the page of paginated results | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
limit | integer | Limit of row per page result | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data | collection | Result of the request | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data (collection : Result of the request)
|
[PUT]/assignment/cancel/put.json: Cancel an assignment.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | Local Assignment id | ||
notifyClient | boolean | true | Send email to Client | ||
notifyCandidate | boolean | true | Send email to Candidate |
[DELETE]/assignment/delete.json: Delete an assignment. Assignments may be cancelled in some cases and an already cancelled assignment cannot be deleted.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | Local Assignment id |
Insert an Assignment.
Any optional field that is not specied in the request will be copied from the job.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
jobID | integer | true | assignment ID | ||
candidateID | integer | true | Candidate ID | ||
title | string | false | Title | ||
comment | string | false | Extra comment | ||
autoConfirmCandidate | boolean | false | Auto confirm candidate | ||
autoConfirmClient | boolean | false | Auto confirm client | ||
sendEmailClient | boolean | false | Send notification email to client | ||
locationID | string | false | [Job Field] Location UUID | ||
strictPayment | integer | false | [Job Field] Strict Payment on check in | ||
strictPaymentOut | integer | false | [Job Field] Strict Payment on check out | ||
fixPaymentIn | integer | false | [Job Field] Fix/align Payment on check in | ||
fixPaymentOut | integer | false | [Job Field] Fix/align Payment on check out | ||
minimumHoursPerShift | integer | false | [Job Field] Minimum hours per shift | ||
overwritePayrateWithCand | integer | false | [Job Field] Overwrite Job's pay rate with Candidate's pay rate | ||
requiredPictureCheckIn | integer | false | Set up mandatory picture on check in | ||
requiredPictureCheckOut | integer | false | Set up mandatory picture on check out | ||
description | string | false | [Job Field] Description | ||
templateID | string | false | [Job Field] Complex billing template id | ||
awrTemplateID | integer | false | [Job Field] AWR template id | ||
billingType | string | false | [Job Field] Billing method. Enum with values 'HOURLY' or 'DAILY' | ||
payrate | double | false | [Job Field] Pay rate per hour/day | ||
margin | double | false | [Job Field] % Margin or markup. it must be between 0 and 1. | ||
taxes | double | false | [Job Field] % Total taxes and costs . It must be between 0 and 1 | ||
taxes1 | double | false | [Job Field] % Tax or cost 1. It must be between 0 and 1. | ||
taxes2 | double | false | [Job Field] % Tax or cost 2. It must be between 0 and 1. | ||
taxes3 | double | false | [Job Field] % Tax or cost 3. It must be between 0 and 1. | ||
taxes4 | double | false | [Job Field] % Tax or cost 4. It must be between 0 and 1. | ||
taxes5 | double | false | [Job Field] % Tax or cost 5. It must be between 0 and 1. | ||
taxes6 | double | false | [Job Field] % Tax or cost 6. It must be between 0 and 1. | ||
taxes7 | double | false | [Job Field] % Tax or cost 7. It must be between 0 and 1. | ||
taxesHolidays | double | false | [Job Field] % Tax or cost according to holidays. It must be between 0 and 1. | ||
taxesNumHolidays | double | false | [Job Field] Number of holidays that worker should be entitled per year. | ||
billrate | double | false | [Job Field] Bill Rate rate per hour/day | ||
bookingFee | double | false | [Job Field] Booking Fee to be applied | ||
feeFrequency | string | false | [Job Field] Fee frequency. Available values: HOURLY, DAILY. | ||
shifts[] | [datetime] | false | ["2016-01-01 09:00:00", "2016-01-01 17:00:00", "2016-01-02 09:00:00", "2016-01-02 17:00:00"] | [Job Field] Shifts with dates and hours of work. This array will define the pattern for each week and it will be repeated according to the number of weeks. An array of dates, where they are paired by start and end times, as "start_date", "end_date", "start_date", "end_date", ... | |
numberWeeks | int | false | [Job Field] Duration of the job in number of weeks. The amount of weeks that pattern will be repeated. | ||
attributes | array | false | [[attribute_id, "attribute_value"], [attribute_id, attribute_list_value_id], [...]] | Custom Attributes to set up, it is an array of pairs 'attribute_id, value'. In case attribute type is a list the attribute value id has to be sent as value. | |
externalRef | string | false | [Job Field] External Reference | ||
approvers | integer | false | multi | [Job Field] Unique id or list of ids of Agency Approvers. | |
approversContact | integer | false | multi | [Job Field] Unique id or list of ids of Client Contact that will be approvers. | |
owner[id] | integer | false | Ownership ID which must be the owner ID | ||
owner[type] | string | false | Ownership type which could be 'RECRUITER' or 'TEAM' (without quoutes) | ||
timesheetGeneration | boolean | false | Enable or disable the timesheet generation funcions | ||
timeCapture | boolean | false | Enable or disable the time capture functions |
Update an Assignment.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | Local Assignment ID | ||
title | string | false | Title | ||
comment | string | false | Extra comment | ||
strictPayment | integer | false | Strict Payment on check in | ||
strictPaymentOut | integer | false | Strict Payment on check out | ||
fixPaymentIn | integer | false | Fix/align Payment on check in | ||
fixPaymentOut | integer | false | Fix/align Payment on check out | ||
minimumHoursPerShift | integer | false | Minimum hours per shift | ||
requiredPictureCheckIn | integer | false | Set up mandatory picture on check in | ||
requiredPictureCheckOut | integer | false | Set up mandatory picture on check out | ||
description | string | false | Description | ||
templateID | string | false | Complex billing template id | ||
awrTemplateID | integer | false | AWR template id | ||
billingType | string | false | Billing method. Enum with values 'HOURLY' or 'DAILY' | ||
payrate | double | false | Pay rate per hour/day | ||
margin | double | false | % Margin or markup. it must be between 0 and 1. | ||
taxes | double | false | % Total taxes and costs . It must be between 0 and 1 | ||
taxes1 | double | false | % Tax or cost 1. It must be between 0 and 1. | ||
taxes2 | double | false | % Tax or cost 2. It must be between 0 and 1. | ||
taxes3 | double | false | % Tax or cost 3. It must be between 0 and 1. | ||
taxes4 | double | false | % Tax or cost 4. It must be between 0 and 1. | ||
taxes5 | double | false | % Tax or cost 5. It must be between 0 and 1. | ||
taxes6 | double | false | % Tax or cost 6. It must be between 0 and 1. | ||
taxes7 | double | false | % Tax or cost 7. It must be between 0 and 1. | ||
taxesHolidays | double | false | % Tax or cost according to holidays. It must be between 0 and 1. | ||
taxesNumHolidays | double | false | Number of holidays that worker should be entitled per year. | ||
billrate | double | false | Bill Rate rate per hour/day | ||
bookingFee | double | false | Booking Fee to be applied | ||
feeFrequency | string | false | Fee frequency. Available values: HOURLY, DAILY. | ||
shifts[] | [datetime] | false | ["2016-01-01 09:00:00", "2016-01-01 17:00:00", "2016-01-02 09:00:00", "2016-01-02 17:00:00"] | Shifts with dates and hours of work. This array will define the pattern for each week and it will be repeated according to the number of weeks. An array of dates, where they are paired by start and end times, as "start_date", "end_date", "start_date", "end_date", ... | |
numberWeeks | int | false | Duration of the job in number of weeks. The amount of weeks that pattern will be repeated. | ||
addAttributes | array | false | [[attribute_id, "attribute_value"], [attribute_id, attribute_list_value_id], [...]] | Custom Attributes with format [[id, value], [...], ...]. If attribute is a list the value must be the attr value id | |
removeAttributes | array | false | Custom Attributes ids to be removed | ||
externalRef | string | false | External Ref | ||
owner[id] | integer | false | Ownership ID which must be the owner ID | ||
owner[type] | string | false | Ownership type which could be 'RECRUITER' or 'TEAM' (without quoutes) | ||
approvers | integer | false | multi | It will replace the current approvers. Unique id or list of ids of Agency Approvers. Send 0 to delete all. | |
approversContact | integer | false | multi | It will replace the current client contact approvers. Unique id or list of ids of Client Contact that will be approvers. Send 0 to delete all. | |
confirmCandidate | boolean | false | Confirm Candidate in case he/she has not confirmed yet. | ||
confirmClient | boolean | false | Confirm Client in case he/she has not confirmed yet. |
[PUT]/assignment/recover/put.json: Recover a cancelled assignment.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | Local Assignment id | ||
autoConfirmCandidate | boolean | false | Autoconfirm candidate. If not specified, already existing value will be inherited from assignemnt. | ||
autoConfirmClient | boolean | false | Autoconfirm client. If not specified, already existing value will be inherited from assignemnt. | ||
sendClientEmail | boolean | false | Send email to client. If not specified, it will be set to false. |
Gets the comment information.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
ids | integer | false | multi | id/ids(comma separated) | |
name | string | false | LIKE,eq | Branch name |
Add a comment.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
name | string | true | Branch name | ||
description | string | true | Branch description | ||
agencyDefault | boolean | false | If the branch is the agency default branch | ||
active | boolean | false | If the branch is active | ||
readOnly | boolean | false | If the branch is read only |
Edit a comment.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | The Branch id | ||
name | string | false | Branch name | ||
description | string | false | Branch description | ||
agencyDefault | boolean | false | If the branch is the agency default branch | ||
active | boolean | false | If the branch is active | ||
readOnly | boolean | false | If the branch is read only |
Gets the candidate information.
Geosearch: lat, lng and radius are mandatory. It will get back a set of candidate inside the circle with centre (lat, lng) and radius.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
ids | integer | false | multi | id/ids(comma separated) | |
string | false | eq | Candidate email address | ||
name | string | false | LIKE,eq | Candidate name | |
pRate | integer | false | =,<,>,<=,>= | Candidate pRate | |
lat | double | false | Latitude | ||
lon | double | false | Longitude | ||
radius | double | false | < | Radius from lat/long point in miles/km. | |
modifiedAfter | datetime | false | YYYY-MM-DD HH:mm:ss | Entities created or modified after specific date time (in UTC) | |
orderBy | integer | false | id,name,pRate,createdOn | OrderBy | |
page | integer | false | Offset or initial page index to retrieve entites. First element will be: page * limit | ||
limit | integer | false | Total of entities to retrieve |
Parameter | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data | collection | Result of the query | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data (collection : Result of the query)
|
[DELETE]/candidate/delete.json: Delete a candidate.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | Candidate id |
Parameter | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | ||||||
data | collection | Result of the query | ||||||
data (collection : Result of the query)
|
[POST]/candidate/post.json: Insert a candidate.
Insert a new candidate in TempBuddy. If some of [country, postalCode, county, city, address2, address1] is used, then the field address will be overwriten by the concatenation of the previous fields. The name field is going to be replaced by first_name, middle_name and last_name fields.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
username | string | false | Username. If not provided, an automaticatilly generated username will be used. | ||
string | true | ||||
name | string | false | Full Name. It's strongly recommended to use separated fields of the name, since in the next versions this field will be removed. | ||
first_name | string | true | First Name | ||
middle_name | string | false | Middle Name | ||
last_name | string | false | Last Name | ||
jobTypes[] | string | false | {'externalId': 1, 'value': 'Nursery'} | Candidate Job Types | |
phone | string | true | + XXX YYY YYYYYY | Main phone number. Number should be international. | |
address | string | false | Complete address [address2, address1, city, county, postalCode, country]. It's strongly recommended to use separated fields of the address, since in the next versions this field will be removed. | ||
postalCode | string | false | ZIP / Postal Code | ||
country | string | false | Country (Complete name or ISO code) | ||
county | string | false | State / Province / County / Region | ||
city | string | false | City / Town / District | ||
address2 | string | false | Street name and number | ||
address1 | string | false | Floor / Apt / Unit | ||
categories | [string] | true | ["Engineer"] | Category. Only one category can be sent in the array. If both are used the categoryIds takes preference over the categories. One of them is required. | |
categoryIds | [string] | false | [1] | Category id. Only one category id can be sent in the array. If both are used the categoryIds takes preference over the categories. One of them is required. | |
password | string | false | password | ||
status | string | false | unavailable | Status. Only 'unavailable' status or having an expiryDate in the past, will prevent the user from being matched with jobs. | |
expiryDate | datetime | false | 2020-01-01 00:00:00 | Datetime when the candidate stops being 'available' (UTC). | |
dob | date | false | Date of Birth | ||
ssn | string | false | Social Security Number (SSN, NI or similar) | ||
string | false | URL to facebook profile | |||
string | false | URL to twitter profile | |||
string | false | URL to linkedin profile | |||
skype | string | false | Skype username | ||
pRate | double | false | Default pay rate | ||
tagValues | [string] | false | ["tag1", "tag2", ...] | array of tag values | |
tag_ids | [string] | false | ["tag1", "tag2", ...] | array of tag ids | |
attributes | array | false | [[attribute_id, "attribute_value", attribute_list_id, attribute_value_id], [...]] | Custom Attributes to set up, it is an array of pairs attribute_id, "value". In case attribute type is a list the attribute value id has to be sent as value. | |
externalRef | string | false | External Ref | ||
ownerId | integer | false | User id of the owner. If both (ownerId and externalOwnerId) are used the ownerId takes preference over the externalOwnerId. | ||
owner[id] | integer | false | Owner ID | ||
owner[type] | string | false | Owner type | ||
externalOwnerId | string | false | External user ID of the owner. If both (ownerId and externalOwnerId) are used the ownerId takes preference over the externalOwnerId. | ||
branchId | integer | false | Branch id | ||
usernameHint | boolean | false | When it is TRUE instead of an error (default behaviour), the candidate is created even when the provided username is already taken by any other user, but the username value is slightly changed making it unique. |
Parameter | Type | Description |
---|---|---|
code | integer | Status code of the request |
data | integer | Candidate ID |
[GET]/candidate/profilePicture: Gets candidate profile pictures.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
ids | integer | true | multi | Candidate Id | |
format | string | false | Format allowed: json, jpeg. In case of json, pictures are in base64. In case of jpeg, only one picture can be retrieved. |
Parameter | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
code | integer | Petition status code | ||||||
data | collection | Result of the query | ||||||
data (collection : Result of the query)
|
Update a candidate. To change part of the location address, need to fill all split address fields. Empty address fields will be also updated.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | Candidate id | ||
string | false | ||||
name | string | false | Full name It's strongly recommended to use separated fields of the name, since in the next versions this field will be removed. | ||
first_name | string | false | First Name | ||
middle_name | string | false | Middle Name | ||
last_name | string | false | Last Name | ||
jobTypes[] | string | false | {'externalId': 1, 'value': 'Nursery'} | Candidate Job Types | |
dob | date | false | Date of Birth | ||
ssn | string | false | Social Security Number (SSN, NI or similar) | ||
phone | string | false | + XXX YYY YYYYYY | Main phone number. Number should be international. | |
address | string | false | Complete address [address1, address2, city, county, postalCode, country]. It's strongly recommended to use separated fields of the address, since in the next versions this field will be removed. | ||
postalCode | string | false | ZIP / Postal Code | ||
country | string | false | Country (Complete name or ISO code) | ||
county | string | false | State / Province / County / Region | ||
city | string | false | City / Town / District | ||
address2 | string | false | Street name and number | ||
address1 | string | false | Floor / Apt / Unit | ||
status | string | false | unavailable | Status. Only 'unavailable' status or having an expiryDate in the past, will prevent the user from being matched with jobs. | |
expiryDate | datetime | false | 2020-01-01 00:00:00 | Datetime when the candidate stops being 'available' (UTC). | |
string | false | URL to facebook profile | |||
string | false | URL to twitter profile | |||
string | false | URL to linkedin profile | |||
skype | string | false | Skype username | ||
pRate | double | false | Default pay rate | ||
externalRef | string | false | External Ref | ||
tagValues | [string] | false | ["tag1", "tag2", ...] | array of tag values. It will replace the current values. | |
tag_ids | [string] | false | ["tag1", "tag2", ...] | array of tag ids | |
categories | [string] | false | ["Engineer"] | Category. Only one category can be sent in the array. If both are used the categoryIds takes preference over the categories. One of them is required. | |
categoryIds | [string] | false | [1] | Category id. Only one category id can be sent in the array. If both are used the categoryIds takes preference over the categories. One of them is required. | |
branchId | integer | false | Branch id | ||
addAttributes | array | false | [[attribute_id, attribute_value, attribute_list_id, attribute_value_id], [...]] | Custom Attributes to set up, it is an array of pairs 'attribute_id, value'. In case attribute type is a list the attribute value id has to be sent as value. | |
removeAttributes | array | false | [attribute_id_1, attribute_id_2, ...] | Custom Attributes ids to be removed | |
ownerId | integer | false | User id of the owner. If both (ownerId and externalOwnerId) are used the ownerId takes preference over the externalOwnerId. | ||
owner[id] | integer | false | Owner ID | ||
owner[type] | integer | false | Owner type | ||
externalOwnerId | string | false | External user ID of the owner. If both (ownerId and externalOwnerId) are used the ownerId takes preference over the externalOwnerId. |
Parameter | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
code | integer | Petition status code | ||||||
data | collection | Result of the query | ||||||
data (collection : Result of the query)
|
[GET]/client.json: Gets the client information.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
ids | integer | false | multi | client id | |
name | string | false | LIKE,eq | Client name | |
modifiedAfter | datetime | false | YYYY-MM-DD HH:mm:ss | Entities created or modified after specific date time (in UTC) | |
orderBy | integer | false | id,name | OrderBy | |
page | integer | false | Offset or initial page index to retrieve entites. First element will be: page * limit | ||
limit | integer | false | Total of entities to retrieve |
Parameter | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
page | integer | Number of the page of paginated results | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
limit | integer | Limit of row per page result | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data | collection | Result of the request | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data (collection : Result of the request)
|
Delete a client contact.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | Contact Id to delete |
Parameter | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | |||||||||
data | collection | Response data of the endpoint | |||||||||
data (collection : Response data of the endpoint)
|
Get a client contact. They can be retrieve by client IDs or by specific contact IDs.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
clientID | integer | false | multi | Client Id | |
contactID | integer | false | multi | Contact Id | |
modifiedAfter | datetime | false | YYYY-MM-DD HH:mm:ss | Entities created or modified after specific date time (in UTC) |
Parameter | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data | collection | Result of the query | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data (collection : Result of the query)
|
Add a new contact to a client.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
clientID | integer | true | Client id | ||
name | string | false | Contact Full Name. It's strongly recommended to use separated fields of the name, since in the next versions this field will be removed. | ||
first_name | string | false | Contact name | ||
middle_name | string | false | Contact name | ||
last_name | string | false | Contact name | ||
department | string | false | Department | ||
company_position | string | false | Position in the company | ||
string | true | Contact email | |||
location_uuid | string | false | UUID to attach this contact to a specific location. Omit to assign to 'All Locations' | ||
phone_extension | string | false | Phone extension | ||
phone1 | string | true | Main Contact Phone | ||
phone2 | string | false | Option Contact Phone 1 | ||
phone3 | string | false | Optional Contact Phone 2 | ||
attributes | array | false | [[attribute_id, "attribute_value", attribute_list_id, attribute_value_id], [...]] | Custom Attributes to set up, it is an array of pairs 'attribute_id, value'. In case attribute type is a list the attribute value id has to be sent as value. |
Parameter | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data | collection | Result of the query | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data (collection : Result of the query)
|
Edit a client contact.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | Contact Id to edit | ||
name | string | false | Contact Full Name. It's strongly recommended to use separated fields of the name, since in the next versions this field will be removed. | ||
first_name | string | false | Contact name | ||
middle_name | string | false | Contact name | ||
last_name | string | false | Contact name | ||
department | string | false | Department | ||
company_position | string | false | Position in the company | ||
string | false | Contact email | |||
location_uuid | string | false | UUID to attach this contact to a specific location. Omit to assign to 'All Locations' | ||
phone_extension | string | false | Phone extension | ||
phone1 | string | false | Main Contact Phone | ||
phone2 | string | false | Option Contact Phone 1 | ||
phone3 | string | false | Optional Contact Phone 2 | ||
addAttributes | array | false | [[attribute_id, attribute_value, attribute_list_id, attribute_value_id], [attribute_id, attribute_value]] | Custom Attributes to set up, it is an array of pairs 'attribute_id, value'. In case attribute type is a list the attribute value id has to be sent as value. | |
removeAttributes | array | false | [attribute_id_1, attribute_id_2, ...] | Custom Attributes ids to be removed |
Parameter | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | ||||||
data | collection | Result of the query | ||||||
data (collection : Result of the query)
|
Delete a client.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
id | integer | true | Client id |
Parameter | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | |||||||||
data | collection | Result of the query | |||||||||
data (collection : Result of the query)
|
[DELETE]/client/location/delete.json: Delete a client location.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
uuid | string | true | UUID of location |
Parameter | Type | Description |
---|---|---|
code | integer | Status code of the request |
data | collection | Result of the query |
Get a client location. They can be retrieve by client IDs or by specific UUIDs.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
clientID | integer | false | multi | Client Id. Either this field or uuid are required. | |
uuid | string | false | multi | UUID of location. Either this field or clientID are required. | |
modifiedAfter | datetime | false | YYYY-MM-DD HH:mm:ss | Entities created or modified after specific date time (in UTC) |
Parameter | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code | integer | Status code of the request | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data | collection | Result of the query | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data (collection : Result of the query)
|
[POST]/client/location/post.json: Add a new location to a client. If some of [country, postalCode, county, city, address2, address1] is used, then the field address will be overwriten by the concatenation of the previous fields.
Status Code | Description |
---|---|
200 |
|
300 |
|
350 |
|
400 |
|
Parameter | Type | Required | Operators | Example | Description |
---|---|---|---|---|---|
clientID | integer | true | Client id | ||
label | string | true | Label for the location | ||
address | string | false | Complete address [address2, address1, city, county, postalCode, country]. It's strongly recommended to use separated fields of the address, since in the next versions this field will be removed. | ||
postalCode | string | false | ZIP / Postal Code | ||
country | string | false | Country (Complete name or ISO code) | ||
county | string | false | State / Province / County / Region | ||
city | string | false | City / Town / District | ||
address2 | string | false | Street name and number | ||
address1 | string | false | Floor / Apt / Unit | ||
phones |