<back to all web services
UserLocationList
Returns a list of all user's locations for the entire workspace.
The following routes are available for this service:| GET | /{Workspace}/UserLocationList | | |
|---|
UserLocationList Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Workspace | path | string | No | |
| DateGenerated | query | string | No | |
| UserLocations | query | List<UserLocation> | No | |
UserLocation Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Workspace | form | string | No | |
| ObjectId | form | string | No | |
| VersionId | form | string | No | |
| BasedOn | form | string | No | |
| UserStatus | form | UserStatus | No | |
Location Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| y | form | double | No | |
| x | form | double | No | |
UserStatus Enum:| NotStarted | |
| Driving | |
| InProgress | |
| Complete | |
| Blocked | |
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}/UserLocationList HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/jsv