Skip to content
ipro-dave edited this page Mar 30, 2021 · 1 revision

Request Url: /apis/commsnotes?BookingId=&ContactId=&EnquiryId=&Type=&DateFrom=2021-02-24&DateTo=2021-03-31&CommsNoteType=1,2,3,4,5,6

  • BookingId return only communications for this booking.
  • ContactId return only communications for this contact.
  • EnquiryId return only communications for this enquiry.
  • Type 1 - Booking, 2 - Contact, 3 - Enquiry.
  • DateFrom date filter, only show communications after this date.
  • DateTo date filter, show only communications before this date.
  • CommsNoteType filter by the communications type, 1 - Call, 2 - Email, 3 - Note, 4 - Task, 5 - Letter

The BookingId, ContactId and EnquiryId parameters are mutually exclusive. If you're using one of these filters then you can't use the other two. There is no need to specify the Type if using these filters.

Response:

{
    "Success": true,
    "Result": [
        {
            "NotesID": 32258,
            "CreatedDate": "2021-03-30 15:29:01",
            "RepID": 68,
            "BookingID": 603,
            "EnquiryID": -1,
            "ContactID": -1,
            "Subject": "Guest called at 15:25",
            "Notes": "<p>The guest called to confirm the booking.</p>",
            "CommsNoteTypeID": 1,
            "TaskID": -1,
            "BillID": -1
        }
    ],
    "Message": ""
}
Clone this wiki locally