Skip to content

Reference Location

Benedikt Schulze Baek edited this page Feb 13, 2017 · 2 revisions

Get Location Information

This method will get information about your current location. You need to provide the LocationID.

GET https://api.chayns.net/v2.0/{LocationID}

Permissions
'PublicInfo'

Header
Authorization: Basic {TappId}:{Secret}

The part 'TappID:Secret' has to be Base64 encoded.

Parameter

  • LocationID : int - Can be found in chayns.env.site.
  • TappID : int - Can be found in chayns.env.site.tapp

Result

  • appName : string - The name of the location used for apps.
  • name : string - The showname for the web version of the location.
  • siteId : string - The siteId of the location the accessToken was created on.
  • locationId : int - The locationId of the location the accessToken was created on.
  • countMember : int - The number of users that have logged in to this chayns site.
  • androidAppVersion : int - The version of the most recent android app.
  • iosAppVersion : int - The version of the most recent iOS app.