GET api/trips/{bookingId}/note

Gets notes associated with a booking.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bookingId

Booking Id to get notes for.

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of notes associated with the booking.

Collection of BookingNote
NameDescriptionTypeAdditional information
NoteId

Gets or sets the note id.

integer

None.

Note

Gets or sets the note content.

string

None.

Author

Gets or sets the note author who created the note.

string

None.

CreatedDate

Gets or sets the date on which this note was created.

date

None.

ModifiedDate

Gets or sets the date on which this note was last modified.

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "noteId": 1,
    "note": "sample string 2",
    "author": "sample string 3",
    "createdDate": "2024-12-23T11:50:46.1511808-07:00",
    "modifiedDate": "2024-12-23T11:50:46.1511808-07:00"
  },
  {
    "noteId": 1,
    "note": "sample string 2",
    "author": "sample string 3",
    "createdDate": "2024-12-23T11:50:46.1511808-07:00",
    "modifiedDate": "2024-12-23T11:50:46.1511808-07:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBookingNote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
  <BookingNote>
    <Author>sample string 3</Author>
    <CreatedDate>2024-12-23T11:50:46.1511808-07:00</CreatedDate>
    <ModifiedDate>2024-12-23T11:50:46.1511808-07:00</ModifiedDate>
    <Note>sample string 2</Note>
    <NoteId>1</NoteId>
  </BookingNote>
  <BookingNote>
    <Author>sample string 3</Author>
    <CreatedDate>2024-12-23T11:50:46.1511808-07:00</CreatedDate>
    <ModifiedDate>2024-12-23T11:50:46.1511808-07:00</ModifiedDate>
    <Note>sample string 2</Note>
    <NoteId>1</NoteId>
  </BookingNote>
</ArrayOfBookingNote>