contacts

Get Statement Mail Content

Get the mail content of a contacts billing statement.

get/contacts/{contact_id}/statements/email

Request

  • Base URL
    https://www.zohoapis.com/invoice/v3
  • Auth
    OAuth 2
    Implicit: https://accounts.zoho.com/oauth/v2/auth
    Scopes: ZohoInvoice.contacts.READ

Query parameters

start_datestring

If start_date and end_date are not given, current month's statement will be sent to contact. <code>Date format [yyyy-mm-dd]</code>

end_datestring

End date for the statement. <code>Date format [yyyy-mm-dd]</code>

Response

OK

codeinteger
messagestring
bodystring

Body/content of the email to be sent. <code>Maximum length [5000]</code>

subjectstring

Subject of an email that has to be sent. <code>Maximum length to be allowed [1000]</code>

file_namestring

The appropriate name of the file to be attached

contact_idstring

Contact ID of the contact

Example response

{
  "message": "success",
  "body": "Dear Customer,     <br/>We have attached with this email a list of all your transactions with us for the period 01 Sep 2013 to 30 Sep 2013. You can write to us or call us if you need any assistance or clarifications.     <br/>Thanks for your business.<br/>Regards<br/>Zillium Inc",
  "subject": "Statement of transactions with Zillium Inc",
  "to_contacts": [
    {
      "first_name": "Will",
      "selected": true,
      "phone": "1234",
      "email": "test@zylker.org",
      "last_name": "Smith",
      "salutation": "Mr",
      "mobile": "1234"
    }
  ],
  "file_name": "statement_BowmanandCo.pdf",
  "from_emails": [
    {
      "user_name": "John Smith",
      "selected": true,
      "email": "test@zylker.org"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.