Skip to main content
POST
Public Create Pendency
Creates a new pendency (exam/process) for an employee.

Overview

  • Method: POST
  • Path: /v0/pendency/
  • OperationId: public_create_pendency_v0_pendency__post
  • Authentication: header x-api-key

Enum fields and translations

Use exactly the enum values as defined by the API. The values below must be sent exactly as shown.

type_exam

Response enums (for reference)

Example request

Authorizations

x-api-key
string
header
required

Body

application/json
employee_id
string<uuid>
required
type_exam
enum<string>
required
Available options:
HIRING,
DISMISSAL,
PERIODIC,
RETURN,
RISK_CHANGE,
INTERN_HIRING,
PUNCTUAL,
CRITICAL_ACTIVITY,
APPOINTMENT,
APPOINTMENT_RETURN,
ANAMNESE,
EMPLOYEE_ACTION
send_email
boolean
required
send_date
string<date-time> | null
exam_date
string<date> | null

Response

Successful Response

id
string<uuid>
required
employee_id
string<uuid>
required
type_exam
enum<string>
required
Available options:
HIRING,
DISMISSAL,
PERIODIC,
RETURN,
RISK_CHANGE,
INTERN_HIRING,
PUNCTUAL,
CRITICAL_ACTIVITY,
APPOINTMENT,
APPOINTMENT_RETURN,
ANAMNESE,
EMPLOYEE_ACTION
status
enum<string>
required
Available options:
ON_HOLD,
PENDING,
PRE_SCHEDULED,
SCHEDULED,
DONE,
CANCELED,
ABSENT,
MISSING_OHC,
NO_RESPONSE
priority
boolean
required
created_at
string<date-time>
required
created_by
string
required
updated_at
string<date-time>
required
updated_by
string
required
organization_id
string<uuid>
required
organization_display_name
string | null
required
employee_name
string | null
required
block_status
enum<string> | null
Available options:
EXAM_EXTENSION,
FINDING_CLINIC,
BLOCKED_CLINIC,
WAITING_FOR_HR_RESPONSE,
WAITING_FOR_EMPLOYEE_RESPONSE,
WAITING_FOR_HEALTH_TEAM_RESPONSE,
WAITING_FOR_ENGINEERING_TEAM_RESPONSE,
ARCHIVED,
UNDER_MANAGEMENT,
HR_RETURNED_PENDENCY,
EMPLOYEE_ATTENDANCE_CONFIRMED