Members
Read a member by custom_id
Members
- GETGet all members
- POSTInvite a member
- GETRead a member by id
- PUTUpdate a member
- DELDelete a member
- GETRead a member by Microsoft user id
- GETRead a member by email
- GETRead a member by custom_id
- PUTUpdate approvers for a member
- PUTUpdate a member's allowance
- POSTAdd a member's schedule
- PUTUpdate a member's schedule
Departments
Leave types
Public holidays
Members
Read a member by custom_id
Read a member by custom_id
GET
/
members
/
custom_id
/
{custom_id}
curl --request GET \
--url https://api.absentify.com/api/v1/members/custom_id/{custom_id} \
--header 'X-API-KEY: <api-key>'
{
"id": "<string>",
"custom_id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"allowances": [
{
"remaining": 123,
"brought_forward": 123,
"allowance": 123,
"taken": 123,
"year": 123,
"compensatory_time_off": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"allowance_type": {
"id": "<string>",
"name": "<string>",
"ignore_allowance_limit": true
}
}
],
"allowance_type_configurtaions": [
{
"id": "<string>",
"allowance_type_id": "<string>",
"default": true,
"disabled": true
}
],
"approval_process": "Linear_all_have_to_agree",
"status": "INACTIVE",
"birthday": "2023-11-07T05:31:56Z",
"employment_start_date": "2023-11-07T05:31:56Z",
"employment_end_date": "2023-11-07T05:31:56Z",
"email": "<string>",
"departments": [
{
"id": "<string>",
"name": "<string>",
"manager_type": "Member"
}
],
"schedules": [
{
"id": "<string>",
"from": "2023-11-07T05:31:56Z",
"monday_am_start": "2023-11-07T05:31:56Z",
"monday_am_end": "2023-11-07T05:31:56Z",
"monday_pm_start": "2023-11-07T05:31:56Z",
"monday_pm_end": "2023-11-07T05:31:56Z",
"monday_am_enabled": true,
"monday_pm_enabled": true,
"monday_deduct_fullday": true,
"tuesday_am_start": "2023-11-07T05:31:56Z",
"tuesday_am_end": "2023-11-07T05:31:56Z",
"tuesday_pm_start": "2023-11-07T05:31:56Z",
"tuesday_pm_end": "2023-11-07T05:31:56Z",
"tuesday_am_enabled": true,
"tuesday_pm_enabled": true,
"tuesday_deduct_fullday": true,
"wednesday_am_start": "2023-11-07T05:31:56Z",
"wednesday_am_end": "2023-11-07T05:31:56Z",
"wednesday_pm_start": "2023-11-07T05:31:56Z",
"wednesday_pm_end": "2023-11-07T05:31:56Z",
"wednesday_am_enabled": true,
"wednesday_pm_enabled": true,
"wednesday_deduct_fullday": true,
"thursday_am_start": "2023-11-07T05:31:56Z",
"thursday_am_end": "2023-11-07T05:31:56Z",
"thursday_pm_start": "2023-11-07T05:31:56Z",
"thursday_pm_end": "2023-11-07T05:31:56Z",
"thursday_am_enabled": true,
"thursday_pm_enabled": true,
"thursday_deduct_fullday": true,
"friday_am_start": "2023-11-07T05:31:56Z",
"friday_am_end": "2023-11-07T05:31:56Z",
"friday_pm_start": "2023-11-07T05:31:56Z",
"friday_pm_end": "2023-11-07T05:31:56Z",
"friday_am_enabled": true,
"friday_pm_enabled": true,
"friday_deduct_fullday": true,
"saturday_am_start": "2023-11-07T05:31:56Z",
"saturday_am_end": "2023-11-07T05:31:56Z",
"saturday_pm_start": "2023-11-07T05:31:56Z",
"saturday_pm_end": "2023-11-07T05:31:56Z",
"saturday_am_enabled": true,
"saturday_pm_enabled": true,
"saturday_deduct_fullday": true,
"sunday_am_start": "2023-11-07T05:31:56Z",
"sunday_am_end": "2023-11-07T05:31:56Z",
"sunday_pm_start": "2023-11-07T05:31:56Z",
"sunday_pm_end": "2023-11-07T05:31:56Z",
"sunday_am_enabled": true,
"sunday_pm_enabled": true,
"sunday_deduct_fullday": true,
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}
Authorizations
Path Parameters
Response
200
application/json
Successful response
Available options:
Linear_all_have_to_agree
, Linear_one_has_to_agree
, Parallel_all_have_to_agree
, Parallel_one_has_to_agree
Available options:
INACTIVE
, ACTIVE
, ARCHIVED
Was this page helpful?
curl --request GET \
--url https://api.absentify.com/api/v1/members/custom_id/{custom_id} \
--header 'X-API-KEY: <api-key>'
{
"id": "<string>",
"custom_id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"allowances": [
{
"remaining": 123,
"brought_forward": 123,
"allowance": 123,
"taken": 123,
"year": 123,
"compensatory_time_off": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"allowance_type": {
"id": "<string>",
"name": "<string>",
"ignore_allowance_limit": true
}
}
],
"allowance_type_configurtaions": [
{
"id": "<string>",
"allowance_type_id": "<string>",
"default": true,
"disabled": true
}
],
"approval_process": "Linear_all_have_to_agree",
"status": "INACTIVE",
"birthday": "2023-11-07T05:31:56Z",
"employment_start_date": "2023-11-07T05:31:56Z",
"employment_end_date": "2023-11-07T05:31:56Z",
"email": "<string>",
"departments": [
{
"id": "<string>",
"name": "<string>",
"manager_type": "Member"
}
],
"schedules": [
{
"id": "<string>",
"from": "2023-11-07T05:31:56Z",
"monday_am_start": "2023-11-07T05:31:56Z",
"monday_am_end": "2023-11-07T05:31:56Z",
"monday_pm_start": "2023-11-07T05:31:56Z",
"monday_pm_end": "2023-11-07T05:31:56Z",
"monday_am_enabled": true,
"monday_pm_enabled": true,
"monday_deduct_fullday": true,
"tuesday_am_start": "2023-11-07T05:31:56Z",
"tuesday_am_end": "2023-11-07T05:31:56Z",
"tuesday_pm_start": "2023-11-07T05:31:56Z",
"tuesday_pm_end": "2023-11-07T05:31:56Z",
"tuesday_am_enabled": true,
"tuesday_pm_enabled": true,
"tuesday_deduct_fullday": true,
"wednesday_am_start": "2023-11-07T05:31:56Z",
"wednesday_am_end": "2023-11-07T05:31:56Z",
"wednesday_pm_start": "2023-11-07T05:31:56Z",
"wednesday_pm_end": "2023-11-07T05:31:56Z",
"wednesday_am_enabled": true,
"wednesday_pm_enabled": true,
"wednesday_deduct_fullday": true,
"thursday_am_start": "2023-11-07T05:31:56Z",
"thursday_am_end": "2023-11-07T05:31:56Z",
"thursday_pm_start": "2023-11-07T05:31:56Z",
"thursday_pm_end": "2023-11-07T05:31:56Z",
"thursday_am_enabled": true,
"thursday_pm_enabled": true,
"thursday_deduct_fullday": true,
"friday_am_start": "2023-11-07T05:31:56Z",
"friday_am_end": "2023-11-07T05:31:56Z",
"friday_pm_start": "2023-11-07T05:31:56Z",
"friday_pm_end": "2023-11-07T05:31:56Z",
"friday_am_enabled": true,
"friday_pm_enabled": true,
"friday_deduct_fullday": true,
"saturday_am_start": "2023-11-07T05:31:56Z",
"saturday_am_end": "2023-11-07T05:31:56Z",
"saturday_pm_start": "2023-11-07T05:31:56Z",
"saturday_pm_end": "2023-11-07T05:31:56Z",
"saturday_am_enabled": true,
"saturday_pm_enabled": true,
"saturday_deduct_fullday": true,
"sunday_am_start": "2023-11-07T05:31:56Z",
"sunday_am_end": "2023-11-07T05:31:56Z",
"sunday_pm_start": "2023-11-07T05:31:56Z",
"sunday_pm_end": "2023-11-07T05:31:56Z",
"sunday_am_enabled": true,
"sunday_pm_enabled": true,
"sunday_deduct_fullday": true,
"updatedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}