Mail
Отметить письма, папку или весь выбранный вид прочитанными
Changed onПри folder_id в теле отмечает всю папку; при all_matching=true отмечает все непрочитанные письма, подходящие под фильтр списка, включая следующие страницы. Для списка ids параметр read может снять отметку прочтения. Массовый фильтр требует folder_id, folder_role, folder_name, all_mail=true или is_vip=true.
post/api/v1/mail/messages/read
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Query parameters
all_matching, boolean
Прочитать все подходящие письма, а не только страницу
account_id, string uuid
folder_id, string uuid
folder_role, string
folder_name, string
q, string
is_vip, boolean
is_read, boolean
sent_after, string date-time
sent_before, string date-time
all_mail, boolean
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
object required
ids, UUID[]
folder_id, string uuid
read, boolean
Response
Число обновлённых писем
object required
updated, 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
3 more changes in this revision
- info