Other: Retrieving Tasks, Child Projects, Job Creation Setup, and Articles, and Accepting Terms of Service via the API

This article covers the entity-specific endpoints available under the Other scope group.

Unlike the pure reference/lookup lists, these endpoints return structured data tied to specific records – tasks, child projects, job creation setup for a candidate/project pairing, and salary/addition/deduction/absence articles – plus a POST operation for accepting terms of service on behalf of a candidate.

Get Task

Retrieve a list of tasks with their corresponding details, 100 tasks per page.

GET

https://api.recman.io/v2/get/index.php?key={{api_key}}&
scope=task&page=1

Parameters

FieldTypeRequiredDescription
keystringYesYour API key
scopestringYesMust be set to task
pageintegerYesPage number of results to return. Each page contains up to 100 tasks.

Response Fields

FieldTypeRequiredDescription
taskIdintegerNoID of the task
createUserIdintegerNoID of the co-worker who created the task
createdstringNoDate/time the task was created
deadlinestringNoTask due date
descriptionstringNoShort description of the task
bodystringNoFull task body/notes
userIdintegerNoID of the co-worker the task is assigned to
projectIdintegerNoID of the linked project, if any
companyIdintegerNoID of the linked company, if any
companyContactIdintegerNoID of the linked contact person, if any
candidateIdintegerNoID of the linked candidate, if any
completedintegerNoWhether the task is completed (1) or not (0)
responsiblearrayNoList of co-workers responsible for the task
followersarrayNoList of co-workers following the task
companiesarrayNoList of companies linked to the task
projectsarrayNoList of projects linked to the task
candidatesarrayNoList of candidates linked to the task
companyContactsarrayNoList of contact persons linked to the task

A task can be linked to any combination of a project, company, contact person, and candidate at once, and a single task can have multiple responsible co-workers and followers. To page through all tasks, keep incrementing the page parameter until an empty result is returned.

Get Child Project

Retrieve a list of child projects available in the system, with their corresponding details.

GET

https://api.recman.io/v2/get/?key={{api_key}}&
scope=childProject

Parameters

FieldTypeRequiredDescription
keystringYesYour API key
scopestringYesMust be set to childProject

Response Fields

FieldTypeRequiredDescription
childProjectIdintegerNoID of the child project
namestringNoName of the child project
companyIdintegerNoID of the company the child project is tied to
createdstringNoDate/time the child project was created
creditTimestringNoCredit time setting for the child project
invoiceNotesstringNoNotes to appear on invoices generated for the child project

Results are returned in a nested childProject list. Recall that a child project is a subdivision of a parent project tied to a specific customer, used to separate logged work and invoicing into distinct buckets under the same company.

Get Job Creation Setup

Retrieve job setup details for a specific candidate and project combination, useful when preparing to create a new job for that candidate on that project.

GET

https://api.recman.io/v2/get/?key={{api_key}}&
scope=jobSetup&candidateId=5776144&projectId=856623

Parameters

FieldTypeRequiredDescription
keystringYesYour API key
scopestringYesMust be set to jobSetup
candidateIdintegerYesID of the candidate to retrieve job setup details for
projectIdintegerYesID of the project to retrieve job setup details for

Response Fields

FieldTypeRequiredDescription
defaultobjectNoDefault setup values, containing invoice, salary, salaryMatrixCategoryId, and collectiveAgreementId
salaryMatrixarrayNoList of available salary matrices that can be applied to the job
collectiveAgreementarrayNoList of available collective agreements that can be applied to the job
employmentarrayNoList of available employments, each with an employmentId and name

Use this endpoint before creating a job via the API, so that you can pick valid values for the salary matrix, collective agreement, and employment for that candidate/project pairing rather than guessing IDs.

Get Articles

Retrieve a list of all salary, addition, deduction, and absence articles, with their associated information.

GET

https://api.recman.io/v2/get/?key={{api_key}}&
scope=article

Parameters

FieldTypeRequiredDescription
keystringYesYour API key
scopestringYesMust be set to article

Response Fields

FieldTypeRequiredDescription
articleIdintegerNoID of the article
articleNumberstringNoPrimary article number
typestringNoArticle type. See Valid Values below.
socialCoststringNoSocial cost associated with the article
namestringNoName of the article
notesstringNoNotes attached to the article
createdstringNoDate/time the article was created
updatedstringNoDate/time the article was last updated
secondaryArticleNumberstringNoSecondary article number, if applicable

Possible article types:

  • salary
  • addition
  • deduction
  • absence

Recall that these article types correspond to the four kinds of logged-work entries in RecMan: salary articles pay for regular work, addition and deduction articles adjust pay up or down, and absence articles record time an employee was not at work.

Accept Terms of Service

Accept the terms of service on behalf of a specific candidate.

POST

https://api.recman.io/v2/post/

Body Parameters

FieldTypeRequiredDescription
keystringYesYour API key
scopestringYesMust be set to candidateAcceptTerms
operationstringYesMust be set to insert
dataobjectYesObject containing candidateId and userId. See fields below.

data Object Fields

FieldTypeRequiredDescription
candidateIdintegerYesID of the candidate accepting the terms of service
userIdintegerYesID of the co-worker registering the acceptance on the candidate's behalf

On success, the operation confirms the acceptance was registered. Use this endpoint when a candidate's terms of service acceptance is being recorded through an external integration rather than through the candidate's own Career page action.

Was this article helpful?
0 out of 0 found this helpful