Closed mesilov closed 2 years ago
add application level events ONAPPINSTALL and ONAPPUNINSTALL
{ "payload": { "event": "ONAPPINSTALL", "data": { "VERSION": "1", "ACTIVE": "Y", "INSTALLED": "Y", "LANGUAGE_ID": "ru" }, "ts": "1655823961", "auth": { "access_token": "69ecb....", "expires": "1655827561", "expires_in": "3600", "scope": "crm,telephony,call,user_basic,placement,im,imopenlines", "domain": "xxxxx.bitrix24.ru", "server_endpoint": "https://oauth.bitrix.info/rest/", "status": "F", "client_endpoint": "https://xxx.bitrix24.ru/rest/", "member_id": "9a1f68a4....", "user_id": "1", "refresh_token": "596bd962005bd...", "application_token": "c7d7b..." } } }
and
{ "payload": { "event": "ONAPPUNINSTALL", "data": { "CLEAN": "1", "LANGUAGE_ID": "ru" }, "ts": "1655823904", "auth": { "domain": "xxxx.bitrix24.ru", "client_endpoint": "https://xxxx.bitrix24.ru/rest/", "server_endpoint": "https://oauth.bitrix.info/rest/", "member_id": "9a1f68a4...", "application_token": "c7d7b..." } } }
Add events service - https://dev.1c-bitrix.ru/rest_help/general/events_method/events.php
add events in https://github.com/mesilov/bitrix24-php-sdk/tree/273-alpha-7-pre-build/src/Application
add application level events ONAPPINSTALL and ONAPPUNINSTALL
and
Add events service - https://dev.1c-bitrix.ru/rest_help/general/events_method/events.php