staff (100) approver (200) approver plus add (210) approver plus add edit cancel (220) super user (300) super user with staff hub (310)
default_view_type_id
CUSTOM
REQUIRED
1
2
-
department (1) tag (2)
default_view_id
[INT32]
✓
OPTIONAL
0
2147483647
-
-
default_sorting_id
CUSTOM
✓
OPTIONAL
-
no sort (0) first name asc (1) first name desc (2) last name asc (3) last name desc (4)
department_id
[INT32]
REQUIRED
0
2147483647
-
-
approver_id
[INT32]
REQUIRED
0
2147483647
-
-
notifier_2_id
[INT32]
REQUIRED
0
2147483647
-
-
notifier_3_id
[INT32]
REQUIRED
0
2147483647
-
-
email_contact
STRING
REQUIRED
5
255
-
-
password
STRING
REQUIRED
0
50
-
-
email_type_id
CUSTOM
REQUIRED
0
2
-
none (0) text (1) html (2)
allowance_type_id
CUSTOM
REQUIRED
0
1
-
days (0) hours (1)
status_id
CUSTOM
✓
OPTIONAL
-
disabled (0) active (1)
employment_started_date
DATE
OPTIONAL
-
-
employment_ended_date
DATE
OPTIONAL
-
-
work_telephone
STRING
OPTIONAL
0
60
-
-
mobile_telephone
STRING
OPTIONAL
0
30
-
-
active_directory_username
STRING
OPTIONAL
0
50
-
-
allowances
NESTED
OPTIONAL
List (Of allowances)
-
Nested object(s)[]
Object name
Param name
Type
Is Nullable?
Required?
Min.
Max.
allowances
start_date
Date
False
REQUIRED
opening
minute(int32)
False
REQUIRED
-2147483647
2147483647
remaining
minute(int32)
False
REQUIRED
-2147483647
2147483647
POSTretrieve
Route:
{root}/v4/user/retrieve
Request type
User level
Requires authentication
Response type
BODY
STAFF
Yes
Array()
Params
Name
Type
Nullable?
Required?
Min.
Max.
Nest
Custom
map_type_id
CUSTOM
REQUIRED
0
5
-
company (0) department (1) tag (2) staff (3) my staff (4) by approver (5)
map_id
[INT32]
REQUIRED
0
2147483647
-
-
last_name
STRING
OPTIONAL
0
250
-
-
status_id
CUSTOM
REQUIRED
0
99
-
disabled (0) active (1) both (99)
GETget by id
Route:
{root}/v4/user/get-by-id
Sample call: {root}/v4/user/get-by-id/12345678
Request type
User level
Requires authentication
Response type
URL
STAFF
Yes
Single
Params
Name
Type
Nullable?
Required?
Min.
Max.
Nest
Custom
user_id
INT32
REQUIRED
0
2147483647
-
-
GETget my details
Route:
{root}/v4/user/get-my-details
Sample call: {root}/v4/user/get-my-details
Request type
User level
Requires authentication
Response type
URL
STAFF
Yes
Single
PUTupdate
Route:
{root}/v4/user/update
Request type
User level
Requires authentication
Response type
BODY
STAFF
Yes
Single
Params
Name
Type
Nullable?
Required?
Min.
Max.
Nest
Custom
user_id
INT32
REQUIRED
0
2147483647
-
-
staff_code
STRING
OPTIONAL
0
20
-
-
title
STRING
OPTIONAL
0
10
-
-
first_name
STRING
OPTIONAL
0
50
-
-
middle_name
STRING
OPTIONAL
0
50
-
-
last_name
STRING
OPTIONAL
0
50
-
-
user_type_id
CUSTOM
✓
OPTIONAL
-
staff (100) approver (200) approver plus add (210) approver plus add edit cancel (220) super user (300) super user with staff hub (310)
default_view_type_id
CUSTOM
✓
OPTIONAL
-
department (1) tag (2)
default_view_id
[INT32]
✓
OPTIONAL
0
2147483647
-
-
default_sorting_id
CUSTOM
✓
OPTIONAL
-
no sort (0) first name asc (1) first name desc (2) last name asc (3) last name desc (4)
department_id
[INT32]
✓
OPTIONAL
0
2147483647
-
-
approver_id
[INT32]
✓
OPTIONAL
0
2147483647
-
-
notifier_2_id
[INT32]
✓
OPTIONAL
0
2147483647
-
-
notifier_3_id
[INT32]
✓
OPTIONAL
0
2147483647
-
-
email_contact
STRING
OPTIONAL
5
255
-
-
password
STRING
OPTIONAL
0
50
-
-
email_type_id
CUSTOM
✓
OPTIONAL
-
none (0) text (1) html (2)
status_id
CUSTOM
✓
OPTIONAL
-
disabled (0) active (1)
employment_started_date
DATE
OPTIONAL
-
-
employment_ended_date
DATE
OPTIONAL
-
-
work_telephone
STRING
OPTIONAL
0
60
-
-
mobile_telephone
STRING
OPTIONAL
0
30
-
-
active_directory_username
STRING
OPTIONAL
0
50
-
-
DELETEdel
Route:
{root}/v4/user/del
Sample call: {root}/v4/user/del/12345678
Request type
User level
Requires authentication
Response type
URL
SUPER USER
Yes
Single
Params
Name
Type
Nullable?
Required?
Min.
Max.
Nest
Custom
user_id
INT32
REQUIRED
0
2147483647
-
-
GETget approvers
Route:
{root}/v4/user/get-approvers
Sample call: {root}/v4/user/get-approvers
Request type
User level
Requires authentication
Response type
URL
SUPER USER
Yes
Array()
POSTmy staff
Route:
{root}/v4/user/my-staff
Request type
User level
Requires authentication
Response type
BODY
APPROVER
Yes
Single
Params
Name
Type
Nullable?
Required?
Min.
Max.
Nest
Custom
staff_filter
CUSTOM
REQUIRED
0
4
-
all staff (0) my staff (4)
start_date
DATE
REQUIRED
-
-
end_date
DATE
REQUIRED
-
-
Don't have a WhosOff account yet?
Instantly reduce time spent on leave management with your FREE, no obligation trial today!
Sign up today and get until Friday, 25th April 2025 to try the full service, for Free!
We use cookies to improve our website experience, we also use cookies to help us undertand how our website is used, enhance site navigation and analyze site usage and advertising. For more information please refer to our Cookie Policy.
AdvertisingEnables storage related to advertising, for example, advertising campaign.
AnalyticsEnables storage related to analytics, for example, visit duration.
TargetingSets consent for sending user data to Google for online advertising purposes.
MarketingSets consent for personalized advertising.