| GET | /team/locations |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TeamId | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | form | string | Yes | The API Key required for authentication |
| Latitude | form | double | No | Latitude of the user making this request |
| Longitude | form | double | No | Longitude of the user making this request |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Teams | form | List<TeamLocationData> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Description | form | string | No | |
| Heading | form | string | No | |
| WasSuccessful | form | bool | No | |
| ModelState | form | Object | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LastOnline | form | string | No | |
| Longitude | form | double | No | |
| Latitude | form | double | No | |
| ProfileImageUrl | form | string | No | |
| Fullname | form | string | No | |
| Username | form | string | No | |
| BatteryLevel | form | int | No | |
| IsManager | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /team/locations HTTP/1.1 Host: cochraneplus-api-dev.happen.zone Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
teams:
[
{
}
],
description: String,
heading: String,
wasSuccessful: False,
modelState: {}
}