<back to all web services
TeamCurrentLocation
GET /{Workspace}/TeamCurrentLocation - Returns the current location of all users in the workspace, grouped by team.
The following routes are available for this service:| GET | /{Workspace}/TeamCurrentLocation | | |
|---|
TeamCurrentLocation Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Workspace | path | string | No | |
| TeamLocations | query | List<TeamLocation> | No | |
TeamLocation Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| ObjectId | form | string | No | |
| UserLocations | form | List<UserCurrentLocation> | No | |
UserCurrentLocation Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| ObjectId | form | string | No | |
| TimeStamp | form | string | No | |
Location Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| y | form | double | No | |
| x | form | double | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
GET /{Workspace}/TeamCurrentLocation HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/jsv