v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Text Notifications Report API

Purpose: The purpose of this API is to fetch a list of text notification details associated with a center.

post/v1/reports/notifications/text/flat_file

Query parameters

pagestring

Page number to search

sizestring

Size of the list to return

Request body

start_datestring date required

Start date and time of the request. This will fetch all the email notifications from the date specified in the body.

end_datestring date required

End date of the request. The API will fetch the email notification details till the date and time specified in the body.

Response

200

OR

Example response

{
  "notifications": [
    {
      "center_name": "Khammam",
      "guest_code": "Bahu",
      "guest_name": "Bahuguna S",
      "message_type_name": "AppointmentClosed",
      "message": "Thanks for visiting us at Hrushikesh, Bahuguna! If you need to book your next appointment, please call us at 9014345696",
      "status": "Sent",
      "sent_on": "2016-01-21T17:46:01",
      "sent_to": "8143776329",
      "guest_mobile": "8143776329",
      "credits_consumed": 1
    }
  ],
  "page_info": {
    "total": 17,
    "page": 1,
    "size": 10
  }
}