Field Squared API Services

<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:
NameParameterData TypeRequiredDescription
WorkspacepathstringNo
TeamLocationsqueryList<TeamLocation>No
TeamLocation Parameters:
NameParameterData TypeRequiredDescription
ObjectIdformstringNo
UserLocationsformList<UserCurrentLocation>No
UserCurrentLocation Parameters:
NameParameterData TypeRequiredDescription
ObjectIdformstringNo
TimeStampformstringNo
Location Parameters:
NameParameterData TypeRequiredDescription
yformdoubleNo
xformdoubleNo

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