Skip to main content

Create booking activity

POST 

/v1/bookings/:bookId/activities

Add notes/activities to a booking that can be visible to different roles (operator, driver, passenger)

Supported roles

  • Partner
  • Fleet manager

Request

Path Parameters

    bookId stringrequired

    ID of booking

Body

required
    content stringrequired

    The activity content/note

    permission object

    Visibility permissions for the activity. If not provided, defaults to all true.

    operator boolean

    Default value: true

    Visible to operators

    driver boolean

    Default value: true

    Visible to drivers

    passenger boolean

    Default value: true

    Visible to passengers

Responses

Activity created successfully

Schema
    success boolean
    activity object
    id string

    Activity ID

    bookId string

    Booking ID

    content string

    Activity content

    createdDate date-time

    Activity creation date

    permission object
    operator boolean

    Visible to operators

    driver boolean

    Visible to drivers

    passenger boolean

    Visible to passengers

Loading...