post https://api.zenoti.com/v1/reports/notifications/email/flat_file
Purpose: The purpose of this API is to fetch a list of email notification details associated with a center.
| Name | Type | Description |
|---|
| Notifications | Object | Object containing the name of the centers using the email notifications. |
| page_info | Object | Object containing the pagination details. |
| total | int | Denotes the number of pages in the response. |
| page | int | Denotes the current page of the response. |
| size | int | Denotes the size of the page. |
| Name | Type | Description |
|---|
| center_name | string | Name of the center which uses the email notifications. |
| guest_code | string | Code of the guest to whom the email is sent. |
| guest_name | string | Name of the guest to whom the email is sent. |
| message_type_name | string | Type of notification sent to the guest. |
| status | string | Status of the email sent to the guest. |
| email | string | Email address of the center. |
| Message | Code | Description |
|---|
| notification template ids are missing | 502 | This error occurs when the notification template ids are not mentioned. |
| center ids are missing | 502 | This error occurs when the center_id parameter is missing. |
| start_date must be earlier than end_date | 502 | This error occurs when an invalid start_date is mentioned. |
| invalid start_date or end_date | 502 | This error occurs when an invalid start_date or end_date is mentioned. |