-
Notifications
You must be signed in to change notification settings - Fork 0
Reference Push
This method send a push notification to a specific UAC group. You need to provide a GroupID. On success the http status 'created' will be returned. Push notifications can only be send if the apps exist.
POST https://api.chayns.net/v2.0/{LocationID}/UAC/{GroupID}/Push
Permissions
'PublicInfo', 'UserInfo', 'SeeUAC', 'Push', 'DeviceInfo'
Header
Authorization: Basic {TappId}:{Secret}
The part 'TappID:Secret' has to be Base64 encoded.
Body
- Alert : string - The message, that will be send as push.
Parameter
- LocationID : int - Can be found in chayns.env.site.
- TappID : int - Can be found in chayns.env.site.tapp.
- GroupID : int - Can bet get using chayns.env.site.tapp.userGroupIds.
This method send a push notification to a specific User. You need to provide a UserID and a LocationID. On success the http status 'created' will be returned. Push notifications can only be send if the apps exist.
POST https://api.chayns.net/v2.0/{LocationID}/User/{UserID}/Push
Permissions
'PublicInfo', 'UserInfo', 'SeeUAC', 'Push', 'DeviceInfo'
Header
Authorization: Basic {TappId}:{Secret}
The part 'TappID:Secret' has to be Base64 encoded.
Body
- Alert : string - The message, that will be send as push.
Parameter
- LocationID : int - Can be found in chayns.env.site.
- TappID : int - Can be found in chayns.env.site.tapp.
- UserID : int - Can bet found in chayns.env.user.
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.