Career Notes
Those endpoints allow you to manage the career notes.
Career notes are notes that are related to the career of an employee, during his employment in the company. Those notes are visible only by the HR department.
They can be used to store information about the employee, like a performance review, a disciplinary action, a promotion, which should not be reflected in the employee’s career events.
Endpoints
get /api/v3/office/career_notes post /api/v3/office/career_notes delete /api/v3/office/career_notes/:resource_id get /api/v3/office/career_notes/:resource_id patch /api/v3/office/career_notes/:resource_id
get/api/v3/office/career_notes
Return a paginated list of office/career/notes
Input Schema
object
object
object
- `employee`
- `created_by`
array
The key is the resource type and the value is an array of fields.
dictionary
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;
recipient_id?: any;
note?: any;
created_by_id?: any;
created_at?: any;
updated_at?: any;
};
// The related resources to include in the response. Allowed resources are:
// - `employee`
// - `created_by`
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
array
object
object
array
Typescript
type OutputSchema = {
data: Array<{
type: string;
id?: string;
attributes?: {
id?: number;
recipient_id?: number;
note?: string | null;
created_by_id?: number;
created_at?: Date;
updated_at?: Date;
};
relationships?: Record<string, any>;
}>;
included?: Array<Record<string, any>>;
};
post/api/v3/office/career_notes
Create a new office/career/notes
Input Schema
object
object
object
Typescript
type InputSchema = {
data: {
type: string;
attributes: {
id?: number;
recipient_id?: number;
note?: string | null;
created_by_id?: number;
created_at?: Date;
updated_at?: Date;
};
};
};
delete/api/v3/office/career_notes/:resource_id
Delete the office/career/notes
Input Schema
object
Typescript
type InputSchema = { resource_id: number };
get/api/v3/office/career_notes/:resource_id
Show a specific office/career/notes
Input Schema
object
array
dictionary
Typescript
type InputSchema = {
resource_id: number;
included?: Array<string>;
fields?: { [key: string]: Array<any> };
};
Output Schema
object
object
object
array
Typescript
type OutputSchema = {
data: {
type: string;
id?: string;
attributes?: {
id?: number;
recipient_id?: number;
note?: string | null;
created_by_id?: number;
created_at?: Date;
updated_at?: Date;
};
relationships?: Record<string, any>;
};
included?: Array<Record<string, any>>;
};
patch/api/v3/office/career_notes/:resource_id
Update a office/career/notes
Input Schema
object
object
object
Typescript
type InputSchema = {
resource_id: number;
data: {
type: string;
attributes: {
id?: number;
recipient_id?: number;
note?: string | null;
created_by_id?: number;
};
};
};