...
For example, to set the webhook for notifications to the partner or partner images and affiliate banners, you need this endpoint:
The endpoints are documetned at this page.
PUT /setup/partner/images
...
Codeblock |
---|
> 200 OK { "enabledRequests": [ "review", "salary", "wake_up_call" ], "grantedFunctionality": [ "userList", "userPush", "messageImport", "hasActions" ], "webhook": "https://example.com/hotelkit", "userSync": { "regEx": "^(\\d{3}_\\d*)(,\\d{3}_\\d*)*$", "examples": [ "123_00025", "123_12345,045_58975" ], "errorMessage": { "de_DE": "Personalnummern m\u00fcssen dem Format XXX_XXXXX entsprechen", "en_US": "personnel numbers must be given in the format XXX_XXXXX" } }, "sso": { "type": "oAuth", "providerOptions": { "authorizationServer": "https://authorization-server.com/auth", "client_id":"hotelkit", }, "hotelkitOptionsclient_id":{ "userCreate":false, "userEdit":false, "passwordReset":true"hotelkit" } } } |
Partner without userPush
...