GetDashboardLocations

Returns the geographical data for the given Dashboard Locations.
Country codes are in ISO 3166-1 alpha-2 format.
State codes are in ISO 3166-2 format.

Authentication Methods


  1. With a username and password
  2. Using Kerberos
Input Parameter Type Description
Token String Security token
Locations[] String[] IDs of the Dashboard Locations of which to get the Location info
Output Parameter Type Description
Success Boolean True on success, False on failure
CURL EXAMPLE
curl -v --globoff 'https://secure.nomadesk.com/ctrller/api.php?Token=rrc1d3ntb53tt6b2vhail6rdtrsxov3v&Task=GetDashboardLocations&Locations[]=7b12283d-1b09-4057-b2cb-49c0214cb5cd'
RESPONSE
<Response>
    <Status>1</Status>
    <Message></Message>
    <Locations> 
        <Location>
            <LocationID>6c7174f2-8bfd-41e8-af41-b8d0646090b1</LocationdID>
            <CountryCode>BE</CountryCode>
            <State>Oost-Vlaanderen</State>
            <StateCode>08</StateCode>
            <City>Sint-Martens-Latem</City>
            <Latitude>51.016701</Latitude>
            <Longitude>3.633300</Longitude>
        </Location>
    </Locations>
</Response>
STATUS CODES
2001    Account not found
3063    Locations is a required field
4004    Not logged on