Mail messages
Сохранить адресата в адресную книгу почты
Changed on«Сохранить в контакты» из окна письма. Адрес уникален в кабинете без учёта регистра: повтор того же адреса возвращает прежнюю запись с created равным false и кодом 200, имя прежней записи не меняется. Контрагент при этом не заводится.
post/api/v1/mail/address-book/entries
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
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
object required
email, string required
Почтовый адрес; можно в виде «Имя <адрес>»
name, string
Имя адресата
Response
Адрес уже был в книге
Mail Saved Address required
entry, Mail Address Book Record required
Адресат из адресной книги почты
created, boolean required
true — сохранён сейчас, false — адрес уже был в книге
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