Mail messages
Получить переписку целиком
Changed onПисьма склеиваются в переписку по корню цепочки References, а не по теме: «Re: Договор» от двух разных клиентов — это две переписки.
get/api/v1/mail/threads/{id}
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 выбранного кабинета; кабинет не является юрлицом
Response
Переписка вместе с письмами
Mail Thread required
Переписка: письма, связанные ответами. Склейка идёт по корню цепочки References, а не по теме.
id, string uuid required
account_id, string uuid required
subject, string required
root_ref, string required
Корневой Message-ID ветки
message_count, integer required
unread_count, integer required
has_attachments, boolean required
participants, Mail Message Address[] required
last_message_at, string date-time required
messages, Mail Message[]
Changes
- info
added the optional property
messages/items/is_autoto the response with the status
- info
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
6 more changes in this revision
- info