Candidate Histories
No description given.
Endpoints
get /api/v3/recruitment/candidate_histories get /api/v3/recruitment/candidate_histories/:resource_id
get/api/v3/recruitment/candidate_histories
Return a paginated list of recruitment/candidate_histories
Input Schema
object
page?:
object
The page number, default to 1
number?: integer
The number of items per page, default to 1000
size?: integer
The sort order, comma separated list of fields. See sorting section for more details
sort?: string
Set to true to return the total number of items in the collection
count?: boolean
filter?:
object
id?: unknown
from_stage_id?: unknown
stage_id?: unknown
moved_at?: unknown
moved_by_id?: unknown
position_id?: unknown
person_id?: unknown
created_at?: unknown
person_id?: unknown
stage_id__in?: unknown
The related resources to include in the response. Allowed resources are:
- `position`
- `stage`
included?: - `position`
- `stage`
array
Elements: string
The fields to include in the response.
The key is the resource type and the value is an array of fields.
fields?: The key is the resource type and the value is an array of fields.
dictionary
Values: array
Typescript
type InputSchema = {
page?: {
// The page number, default to 1
number?: number;
// The number of items per page, default to 1000
size?: number;
};
// The sort order, comma separated list of fields. See sorting section for more details
sort?: string;
// Set to true to return the total number of items in the collection
count?: boolean;
filter?: {
id?: any;
from_stage_id?: any;
stage_id?: any;
moved_at?: any;
moved_by_id?: any;
position_id?: any;
person_id?: any;
created_at?: any;
person_id?: any;
stage_id__in?: any;
};
// The related resources to include in the response. Allowed resources are:
// - `position`
// - `stage`
included?: Array<string>;
// The fields to include in the response.
// The key is the resource type and the value is an array of fields.
fields?: { [key: string]: Array<any> };
};
Output Schema
object
data:
array
Elements:
object
type: string
id?: string
attributes?:
object
id?: integer
from_stage_id?: integer or null
stage_id?: integer
moved_at?: datetime
moved_by_id?: integer
person_id?: integer
created_at?: datetime
relationships?: open struct
included?:
array
Elements: open struct
Typescript
type OutputSchema = {
data: Array<{
type: string;
id?: string;
attributes?: {
id?: number;
from_stage_id?: number | null;
stage_id?: number;
moved_at?: Date;
moved_by_id?: number;
person_id?: number;
created_at?: Date;
};
relationships?: Record<string, any>;
}>;
included?: Array<Record<string, any>>;
};
get/api/v3/recruitment/candidate_histories/:resource_id
Show a specific recruitment/candidate_histories
Input Schema
object
resource_id: integer
included?:
array
Elements: string
fields?:
dictionary
Values: array
Typescript
type InputSchema = {
resource_id: number;
included?: Array<string>;
fields?: { [key: string]: Array<any> };
};
Output Schema
object
data:
object
type: string
id?: string
attributes?:
object
id?: integer
from_stage_id?: integer or null
stage_id?: integer
moved_at?: datetime
moved_by_id?: integer
person_id?: integer
created_at?: datetime
relationships?: open struct
included?:
array
Elements: open struct
Typescript
type OutputSchema = {
data: {
type: string;
id?: string;
attributes?: {
id?: number;
from_stage_id?: number | null;
stage_id?: number;
moved_at?: Date;
moved_by_id?: number;
person_id?: number;
created_at?: Date;
};
relationships?: Record<string, any>;
};
included?: Array<Record<string, any>>;
};