custom (0) this year (1) next year (2) last year (3)
start_date
DATE
REQUIRED FOR OPTION 0
-
-
end_date
DATE
REQUIRED FOR OPTION 0
-
-
status_id
CUSTOM
OPTIONAL
-
approved and pending (0) pending only (1) approved only (100)
overtime_type_ids
NESTED
OPTIONAL
List (Of overtime_type_ids)
-
Nested object(s)[]
Object name
Param name
Type
Is Nullable?
Required?
Min.
Max.
overtime_type_ids
overtime_type_id
[Int32]
False
REQUIRED
0
2147483647
POSTget
Route:
{root}/v4/overtime/get
Request type
User level
Requires authentication
Response type
BODY
APPROVER
Yes
Array()
Params
Name
Type
Nullable?
Required?
Min.
Max.
Nest
Custom
map_type_id
CUSTOM
OPTIONAL
-
company (0) department (1) tag (2) staff (3) my staff (4)
map_id
INT32
OPTIONAL
0
2147483647
-
-
user_status_id
CUSTOM
✓
OPTIONAL
-
disabled (0) active (1) both (99)
date_option
CUSTOM
REQUIRED
0
3
-
custom (0) this year (1) next year (2) last year (3)
start_date
DATE
REQUIRED FOR OPTION 0
-
-
end_date
DATE
REQUIRED FOR OPTION 0
-
-
status_id
CUSTOM
OPTIONAL
-
approved and pending (0) pending only (1) approved only (100) cancelled only (900) declined only (930) approved and declined (1000) cancelled and declined (1010)
overtime_type_ids
NESTED
OPTIONAL
List (Of overtime_type_ids)
-
Nested object(s)[]
Object name
Param name
Type
Is Nullable?
Required?
Min.
Max.
overtime_type_ids
overtime_type_id
[Int32]
False
REQUIRED
0
2147483647
POSTsubmit
Route:
{root}/v4/overtime/submit
Request type
User level
Requires authentication
Response type
BODY
STAFF
Yes
Single
Params
Name
Type
Nullable?
Required?
Min.
Max.
Nest
Custom
user_id
[INT32]
✓
OPTIONAL
0
2147483647
-
-
overtime_type_id
INT32
REQUIRED
0
2147483647
-
-
start_date
DATETIME
REQUIRED
-
-
duration
MINUTE(INT32)
REQUIRED
0
2147483647
-
-
lieu_time_requested
INT32
OPTIONAL
0
2147483647
-
-
note
STRING
OPTIONAL
0
500
-
-
admin
[BOOLEAN]
REQUIRED
-
-
POSTapprove decline
Route:
{root}/v4/overtime/approve-decline
Request type
User level
Requires authentication
Response type
BODY
APPROVER
Yes
Single
Params
Name
Type
Nullable?
Required?
Min.
Max.
Nest
Custom
overtime_id
[INT32]
REQUIRED
-2147483648
2147483647
-
-
option_id
CUSTOM
REQUIRED
1
2
-
approve (1) decline (2)
approver_note
STRING
OPTIONAL
0
500
-
-
lieu_time_approved
[INT32]
REQUIRED
-2147483648
2147483647
-
-
POSTcancel
Route:
{root}/v4/overtime/cancel
Request type
User level
Requires authentication
Response type
BODY
STAFF
Yes
Single
Params
Name
Type
Nullable?
Required?
Min.
Max.
Nest
Custom
overtime_id
INT32
REQUIRED
-2147483648
2147483647
-
-
cancellation_note
STRING
OPTIONAL
0
500
-
-
admin
BOOLEAN
REQUIRED
-
-
INSTANTLY REDUCE TIME SPENT ON LEAVE MANAGEMENT
Get your long FREE trial today!
No obligation and no payment setup required.
Sign up today and get until Sunday, 26th January 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.