You are viewing a section of Superface that will be deprecated in Q4 2023. Until then, you can continue to use it as you have before but we recommend that you migrate to our latest version soon. For more details visit superface.ai/docs/migrate.

Retrieve Stage Changes

recruitment/list-stage-changes@1.0.0
14 providers

List Stage Changes

Retrieves a list of stages for specific candidate or lead throughout the recruitment process

Input
Candidate Id
Job Id
Result
Stages
Rate limit

1.Choose a provider

2.Use ListStageChanges with mock in your code

Below instructions are for our Node.js SDK. Use OneService for other languages.
npm i @superfaceai/one-sdk

Structure details

Input (object)

candidateId
Unique identifier of a candidate or sourced lead.
jobId
The unique identifier of a job that the candidate is linked with.

Example

Result (object)

changes
List of stages relevant to the candidate or lead.
id
Unique identifier of a stage change
stageId
Identifier of a stage where candidate moved to.
name
Human readable name of a stage.
description
Description of a stage change. Can contain reason for moving to this stage.
current
Whether candidate is in this stage currently.
createdAt
ISO8601 timestamp when candidate moved to this stage.
rateLimit
Rate limit details.
bucket
Different parts of API may have different rate limits. Bucket identifies to which part of API the rate limits apply.
totalRequests
Total requests available in the time window.
remainingRequests
Remaining requests available in the time window.
remainingRequestsPercentage
Remaining requests available in the time window in percents.
resetTimestamp
Timestamp when the rate limits will reset (in Unix Timestamp format). Available only for providers without rolling rate limit window.

Example

Implementation details

Provider
mock
Use case
ListStageChanges
Author
@superface
Source
Verified