Skip to content

Get notification settings in a location

Request

The method allows you to get notification settings in a location.

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

Headers
Acceptstringrequired

application/vnd.api.v2+json

Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer bearer_token, USer user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/notification_settings/{location_id}/notification_types' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status

Example:true
dataArray of objects

Array of objects

Example:
[ { "type": "record_create_online_staff", "channels": {} }, { "type": "record_move_admin", "channels": {} }, { "type": "license_expire", "channels": {} }, { "type": "record_create_offline_admin", "channels": {} }, { "type": "record_create_offline_staff", "channels": {} }, { "type": "record_create_online_admin", "channels": {} }, { "type": "record_delete_admin", "channels": {} }, { "type": "record_delete_staff", "channels": {} }, { "type": "record_move_staff", "channels": {} } ]
metaobject

Metadata (contains the number of objects)

Example:
{ "count": 9 }
Response
{ "success": true, "data": [ {}, {}, {}, {}, {}, {}, {}, {}, {} ], "meta": { "count": 9 } }