OnAppMethodConfirm
Called, when the portal's administrator permission is received for the use of methods, requiring confirmation.
Event parameters
Parameter | Description |
---|---|
TOKEN | Authorization token used in permission request |
METHOD | REST API method, for the use of which the permission was requested. |
CONFIRMED | Permission result, 0 - denied, 1 - granted |
Event data example:
array ( 'event' => 'ONAPPMETHODCONFIRM', 'data' => array ( 'TOKEN' => 'fkp963yuv1ggkfbs5z3f5hy8lilm0iw6', 'METHOD' => 'voximplant.user.get', 'CONFIRMED' => '1', 'LANGUAGE_ID' => 'en', ), 'ts' => '1478790852', 'auth' => array ( 'domain' => 'portal.bitrix24.com', 'client_endpoint' => 'https://portal.bitrix24.com/rest/', 'server_andpoint' => 'https://oauth.bitrix.info/rest/', 'member_id' => '74ef8a46a75104de55d5d4a61b98ab6d', 'application_token' => 'c289487163b58658eae5e8b42eaf11b8', ), )
© «Bitrix Inc.»,
2001-2021,
«Bitrix Inc.», 2021
User Comments
User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.