Skip to main content
GET
/
v0
/
pendency
List Pendencies
curl --request GET \
  --url https://public-api.salu.com.vc/dev/routes/v0/pendency/ \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "status": "ON_HOLD",
      "type_exam": "HIRING",
      "sla": "2023-11-07T05:31:56Z",
      "due_date": "2023-11-07T05:31:56Z",
      "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organization_soc_code": "<string>",
      "employee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "ohc_status": "PENDING",
      "note": "<string>",
      "organization_display_name": "<string>",
      "employee_name": "<string>",
      "employee_is_disabled": true
    }
  ],
  "cursor": {
    "total": 123,
    "page": 123,
    "page_size": 123,
    "total_pages": 123,
    "next_page": true
  }
}
Lists pendencies (exams/processes) for your organization, with filters by status and period.

Overview

  • Method: GET
  • Path: /v0/pendency/
  • OperationId: public_list_pendencies_v0_pendency__get
  • Authentication: header x-api-key

Enum fields and translations

Use exactly the enum values as defined by the API. The table below helps you understand the filters and the returned statuses.

type_exam

Field (request)Allowed values (API enum)Meaning (EN)
type_examHIRINGPre-employment (admission) exam
DISMISSALDismissal/termination exam
PERIODICPeriodic exam
RETURNReturn-to-work exam
RISK_CHANGEJob risk change exam
INTERN_HIRINGIntern hiring exam

Response enums (for reference)

Field (response)Allowed valuesMeaning (EN)
statusON_HOLDOn hold
PENDINGPending
PRE_SCHEDULEDPre-scheduled
SCHEDULEDScheduled
DONEDone/Completed
CANCELEDCanceled
ABSENTAbsent/no-show
MISSING_OHCMissing OHC
NO_RESPONSENo response

Example request

curl -X GET "https://public-api.salu.com.vc/dev/routes/v0/pendency/?page=0&limit=20" \
  -H "Accept: application/json" \
  -H "x-api-key: $SALU_PUBLIC_API_KEY"

Authorizations

x-api-key
string
header
required

Query Parameters

is_active
default:true
order_by
string
default:priority,due_date,sla,created_at
order_dir
string
default:desc,asc,asc,asc
page
integer
default:0
limit
integer
default:20
id
string<uuid>[] | null
status
enum<string>[] | null
Available options:
ON_HOLD,
PENDING,
PRE_SCHEDULED,
SCHEDULED,
DONE,
CANCELED,
ABSENT,
MISSING_OHC,
NO_RESPONSE
type_exam
enum<string>[] | null
Available options:
HIRING,
DISMISSAL,
PERIODIC,
RETURN,
RISK_CHANGE,
INTERN_HIRING,
PUNCTUAL,
CRITICAL_ACTIVITY,
APPOINTMENT,
APPOINTMENT_RETURN,
ANAMNESE,
EMPLOYEE_ACTION
organization_id
string<uuid>[] | null
employee_id
string<uuid> | null
employee__admission_date
string<date> | null
employee__dismissal_date
string<date> | null

Response

Successful Response

data
PublicApiPendencyBaseResponse · object[]
required
cursor
PaginateCursor · object
required