Mail messages

Отправить отложенное письмо сейчас

Changed on

Срок ближайшей попытки письма в очереди становится «сейчас», и письмо уходит со следующим проходом очереди. Работает у отложенного письма и у неотправленного из-за ошибки (ждёт повтора или попытки исчерпаны — статус failed): журнал попыток сохраняется, у исчерпанного письма добавляется ещё круг попыток. Письмо, которое уже отправляется или отправлено, — 409 mail.outbound_not_pending; письма нет в очереди — 404.

post/api/v1/mail/messages/{id}/send-now

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Path parameters

id, string uuid required

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Письмо уйдёт со следующим проходом очереди

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    7 more changes in this revision