v2

latestSwagger 2.02026-08-01139174369.1 KB
Email

Sends a Statement email. If "toAddress" is not empty then email will be sent to this address. Otherwise email will be sent to Statement Customer's address.

post/v1/email/sendEmailStatement

Request body

customerIdinteger
fromPeriodstring date-time
toPeriodstring date-time
minimumBalancenumber double
toAddressstring
bccAddressesstring[]
messageBodystring

Example request

{
  "customerId": 1,
  "fromPeriod": "2016-04-07T00:00:00",
  "toPeriod": "2016-06-07T00:00:00",
  "minimumBalance": 4,
  "toAddress": "to@email.com",
  "bccAddresses": [
    "bcc1@email.com",
    "bcc2@email.com",
    "bcc3@email.com"
  ],
  "messageBody": "Email message"
}

Response

OK

object required