MovementApi
HTTP request | Description |
---|---|
POST /movement/track/organization | Tracks the user movement inside the trackingArea of an organization. |
POST /movement/track/place | Tracks the user movement inside the trackingArea of a place of an organization. |
POST /movement/track/organization
Tracks the user movement inside the trackingArea of an organization.
Parameters
Name | Type | Description |
---|---|---|
organizationMovement | OrganizationMovement |
Responses
201
Entrance movement successfully tracked. The movement with the exitToken gets returned. OrganizationMovement
202
Exit movement successfully tracked. The movement gets returned. OrganizationMovement
400
Exit movement was requested without the exitToken. It will not be tracked. Nothing gets returned.
401
The user is not authenticated. Nothing gets returned.
403
Administrators cannot have access. Nothing gets returned.
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
POST /movement/track/place
Tracks the user movement inside the trackingArea of a place of an organization.
Parameters
Name | Type | Description |
---|---|---|
placeMovement | PlaceMovement |
Responses
201
Entrance movement successfully tracked. The movement with the exitToken gets returned. PlaceMovement
202
Exit movement successfully tracked. The movement gets returned. PlaceMovement
400
Exit movement was requested without the exitToken. It will not be tracked. Nothing gets returned.
401
The user is not authenticated. Nothing gets returned.
403
Administrators cannot have access. Nothing gets returned.
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json