Skip to content

Commit

Permalink
add extended to booking endpoints for extended object output
Browse files Browse the repository at this point in the history
  • Loading branch information
espen committed Jan 22, 2024
1 parent 4e408e7 commit 0134c43
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,13 @@ Response

You can return bookings of multiple resources/services/events/people with an array.

#### Other Parameters

<table>
<tr><th>Name</th><th>Type</th><th>Description</th></tr>
<tr><td>extented</td><td>Boolean</td><td>Extend output with full data from related objects.</td></tr>
</table>

### Add new booking

`POST /bookings` will create a new booking.
Expand Down Expand Up @@ -549,6 +556,7 @@ Default action for outgoing messages is according to the settings for booking ve
<tr><td>confirmation_send_sms</td><td>Boolean</td><td>Send out confirmation SMS.</td></tr>
<tr><td>notification_send_email</td><td>Boolean</td><td>Send out notification email to admin.</td></tr>
<tr><td>notification_send_sms</td><td>Boolean</td><td>Send out notification SMS to admin.</td></tr>
<tr><td>extented</td><td>Boolean</td><td>Extend output with full data from related objects.</td></tr>
</table>

#### Add new booking with new person
Expand Down Expand Up @@ -671,6 +679,7 @@ See [information about additional parameters](#additional-parameters).
<tr><td>add_reminder_sms</td><td>Boolean</td><td>Automatically adds `reminder_at`.</td></tr>
<tr><td>modification_send_email</td><td>Boolean</td><td>Send out modification email.</td></tr>
<tr><td>modification_send_sms</td><td>Boolean</td><td>Send out modification SMS.</td></tr>
<tr><td>extented</td><td>Boolean</td><td>Extend output with full data from related objects.</td></tr>
</table>

### Delete booking
Expand Down

0 comments on commit 0134c43

Please sign in to comment.