Add Location Permission

Add a location permission to a user

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Results

Calling the /user_permission/add_location_permission endpoint will return status and location data

The result will have the following keys:

KeyDescription
successtrue if success. Else false
locationJob location object data

Here is a list of fields that can be provided for the location object

KeyDescription
oidencrypted id of job location
namename of the location
Body Params
string
required

Encrypted user id or employee id

int32
Defaults to 1

Type of user_id: 1 - encrypted user id; 2 - employee id

string
required

Encrypted job location id or job location code

int32
Defaults to 1

Type of location_id: 1 - encrypted job location id; 2 - job location code

group_ids
array of strings
required

List of encrypted group id

group_ids*
Headers
string
required
Defaults to Bearer <oauth_token>
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json