Assign a geofence to a group

Add a geofence to a specific Group ID. The Place ID is supplied in the body and the Group ID in the path. Geofences can be assigned to multiple groups; adding a geofence to a group does not remove it from another group. POST methods do not return an object review, only a standard HTTP code.

post
https://api.us.vzconnect.com/cmd/v1/groups/{groupid}/geofences

Path Parameters

groupidstringrequired

The Group ID, the unique alphanumeric identifier associated with the group created within the REVEAL account. Must be unique within the account.

Example:CPTG1

Body

application/json

The place ID of the geofence to assign to the group.

PlaceIdBody

Request body to add a geofence to a Group ID.

PlaceIdstringrequired

Place ID is a unique value within a REVEAL account that is used to identify a Geofence. To use the Geospatial API the Place ID is a mandatory field. The Place ID can be NULL for a returned Geofence.

Example:WCB-Circle-151112-1

Response

application/json

Successfully assigned the geofence to the group.

 
application/json

Remove a geofence from a group

Remove a geofence from a specific Group ID. The Place ID and the Group ID are supplied in the path. If the geofence is removed from all group associations it is placed within 0 Groups (available for review to any users with access to view Geofences). This does NOT delete the geofence record from the REVEAL account. DELETE methods do not return an object review, only a standard HTTP code.

delete
https://api.us.vzconnect.com/cmd/v1/groups/{groupid}/geofences/{placeid}

Path Parameters

groupidstringrequired

The Group ID, the unique alphanumeric identifier associated with the group created within the REVEAL account. Must be unique within the account.

Example:CPTG1

placeidstringrequired

The Place ID, the unique value within a REVEAL account used to identify a Geofence.

Example:WCB-Circle-151112-1

Response

application/json

Successfully removed the geofence from the group.

 
application/json

Assign a user to a group

Add a user to a specific Group ID. The Employee ID is supplied in the body and the Group ID in the path. Assigning a user to a group does not remove the user from previously assigned groups; users can belong to multiple groups. If the user is assigned to a parent group, the user is also associated with any subgroups. POST methods do not return an object review, only a standard HTTP code.

post
https://api.us.vzconnect.com/cmd/v1/groups/{groupid}/users

Path Parameters

groupidstringrequired

The Group ID, the unique alphanumeric identifier associated with the group created within the REVEAL account. Must be unique within the account.

Example:CPTG1

Body

application/json

The employee ID of the user to assign to the group.

EmployeeIdBody

Request body to add a user to a Group ID.

EmployeeIdintegerrequired

Employee ID is the unique identifier for the user within REVEAL. The Employee ID is not mandatory within the REVEAL account, but is required for the API.

Example:324234346

Response

application/json

Successfully assigned the user to the group.

 
application/json

Assign an external user to a group

Assigns an external user to the specified group. External users are managed outside of the REVEAL system and identified by their external ID.

post
https://api.us.vzconnect.com/cmd/v1/groups/{groupid}/users/external

Path Parameters

groupidstringrequired

The unique group ID identifying the group to assign the external user to.

Body

application/json

The external ID of the user to assign to the group.

ExternalIdBody

Request body to add an external user to a Group ID.

ExternalIdstringrequired

The external ID that identifies the user outside REVEAL. The external ID is required for the API.

Example:HR-SYSTEM:100096

Response

application/json

Successfully assigned the external user to the group.

 
application/json

Remove an external user from a group

Removes the specified external user from the specified group. The external user is not deleted; it is only unassigned from the group.

delete
https://api.us.vzconnect.com/cmd/v1/groups/{groupid}/users/external/{externalId}

Path Parameters

externalIdstringrequired

The external ID identifying the external user to remove from the group.

groupidstringrequired

The unique group ID identifying the group to remove the external user from.

Response

application/json

Successfully removed the external user from the group.

 
application/json