-
Notifications
You must be signed in to change notification settings - Fork 0
Reference Location
Benedikt Schulze Baek edited this page Feb 13, 2017
·
2 revisions
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.
The current API version is v2.0 .
To use the chayns Backend API, you have to be registered in the Tobit.Software Partner Network (TSPN).
To register, please visit tobit.software/Partner.