Skip to content

Commit

Permalink
Merge pull request #6 from Nebual/master
Browse files Browse the repository at this point in the history
Update booking/index, adding last_modified as a query parameter
  • Loading branch information
Kris Lemberg committed Sep 17, 2015
2 parents 3b5cbfe + 8b008a8 commit 4b05453
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/ref/booking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ booking
Retrieve a listing of bookings in the system.

Query timestamps may be Date strings or unix timestamps, and can be prefixed with '<' or '>' to match before or after a date.

:query string status_id: The current status of a booking.
:query integer customer_id: The customer id associated with the booking.
:query string customer_email: The customer email associated with the booking.
:query string/timestamp start_date: The date the booking starts on (i.e. check-in).
:query string/timestamp end_date: The date the booking starts on (i.e. check-in).
:query string/timestamp end_date: The date the booking ends on (i.e. check-out).
:query string/timestamp last_modified: The date the booking was last changed. Useful for getting bookings added or changed since your last call.
:query integer limit: The limit of bookings to return per page (default: 100).
:query integer page: The page of results to return.

Expand Down
5 changes: 4 additions & 1 deletion docs/ref/booking/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ booking/index
Retrieve a listing of bookings in the system.

Query timestamps may be Date strings or unix timestamps, and can be prefixed with '<' or '>' to match before or after a date.

:query string status_id: The current status of a booking.
:query integer customer_id: The customer id associated with the booking.
:query string customer_email: The customer email associated with the booking.
:query string/timestamp start_date: The date the booking starts on (i.e. check-in).
:query string/timestamp end_date: The date the booking starts on (i.e. check-in).
:query string/timestamp end_date: The date the booking ends on (i.e. check-out).
:query string/timestamp last_modified: The date the booking was last changed. Useful for getting bookings added or changed since your last call.
:query integer limit: The limit of bookings to return per page (default: 100).
:query integer page: The page of results to return.

Expand Down

0 comments on commit 4b05453

Please sign in to comment.