Mail rules
Применить правила к уже лежащим письмам
Changed onПрогон правил по накопившимся письмам: человек завёл правило и хочет разобрать почту, которая пришла раньше. Без folder_id разбираются «Входящие». Ответ перечисляет последствия по каждому письму, то есть говорит, что именно правила сделали.
post/api/v1/mail/accounts/{id}/rules/apply
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Path parameters
id, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
object required
folder_id, string uuid nullable
limit, integer
Сколько писем взять в разбор; ноль и меньше означает умолчание
Response
Последствия правил по каждому письму
object required
items, Mail Rule Outcome[] required
applied, integer required
Сколько писем правила разобрали
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
5 more changes in this revision
- info