Calls: {root}/user restriction
POSTcreate
Route: | {root}/v4/user-restriction/create |
Request type | User level | Requires authentication | Response type |
---|---|---|---|
BODY | SUPER USER | Yes | Single |
Params
Name | Type | Nullable? | Required? | Min. | Max. | Nest | Custom |
---|---|---|---|---|---|---|---|
user_id | [INT32] | REQUIRED | 0 | 2147483647 | - | - | |
restricted_user_id | [INT32] | REQUIRED | 0 | 2147483647 | - | - | |
reverse_entry | [BOOLEAN] | REQUIRED | - | - |
GETretrieve by user id
Route: | {root}/v4/user-restriction/retrieve-by-user-id |
Sample call: {root}/v4/user-restriction/retrieve-by-user-id/12345678
Request type | User level | Requires authentication | Response type |
---|---|---|---|
URL | SUPER USER | Yes | Array() |
Params
Name | Type | Nullable? | Required? | Min. | Max. | Nest | Custom |
---|---|---|---|---|---|---|---|
user_id | INT32 | REQUIRED | 0 | 2147483647 | - | - |
DELETEdel
Route: | {root}/v4/user-restriction/del |
Sample call: {root}/v4/user-restriction/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_restriction_id | INT32 | REQUIRED | 0 | 2147483647 | - | - |
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!