# Only getting "Cancelled : false" when trying the retrieve booking by id

**URL:** <https://forum.youcanbook.me/t/only-getting-cancelled-false-when-trying-the-retrieve-booking-by-id/4009>\
**Category:** API\
**Created:** [February 27, 2025, 11:19am UTC](https://forum.youcanbook.me/t/only-getting-cancelled-false-when-trying-the-retrieve-booking-by-id/4009 "2025-02-27T11:19:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlo\_jh](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@carlo\_jh](https://forum.youcanbook.me/u/carlo_jh)\
**Post date:** [February 27, 2025, 11:19am UTC](https://forum.youcanbook.me/t/only-getting-cancelled-false-when-trying-the-retrieve-booking-by-id/4009/1 "2025-02-27T11:19:08Z")

</div>

Hi, first steps with the api, i’m trying to retrieve booking information with the booking id

Where am i going wrong?

 ![Bildschirmfoto 2025-02-27 um 12.12.42](https://canada1.discourse-cdn.com/flex027/uploads/ycbm/original/2X/7/76d3334112f966137d3152c3fc6d1d9fca68a7d2.png)

---

<div class="post-metadata">

**Author:** ![carlo\_jh](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@carlo\_jh](https://forum.youcanbook.me/u/carlo_jh)\
**Post date:** [February 27, 2025, 1:00pm UTC](https://forum.youcanbook.me/t/only-getting-cancelled-false-when-trying-the-retrieve-booking-by-id/4009/2 "2025-02-27T13:00:51Z")

</div>

i tried it with timezone and fields too

 ![Bildschirmfoto 2025-02-27 um 12.12.19](https://canada1.discourse-cdn.com/flex027/uploads/ycbm/original/2X/7/79b13896997ad77e9937834e1f5e6bbc8a50ae26.png)

---

<div class="post-metadata">

**Author:** ![Ben](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/ben/32/772_2.png) [@Ben](https://forum.youcanbook.me/u/Ben)\
**Post date:** [February 27, 2025, 1:52pm UTC](https://forum.youcanbook.me/t/only-getting-cancelled-false-when-trying-the-retrieve-booking-by-id/4009/3 "2025-02-27T13:52:43Z")

</div>

@carlo_jh Are you only trying to GET the booking information? In the fields section you can add the information you want to include createdAt,startsAt etc. Then the payload returned should adjust. In the API docs it is a limited experience then using a different service to access the API.

---

<div class="post-metadata">

**Author:** ![Ben](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/ben/32/772_2.png) [@Ben](https://forum.youcanbook.me/u/Ben)\
**Post date:** [February 27, 2025, 1:59pm UTC](https://forum.youcanbook.me/t/only-getting-cancelled-false-when-trying-the-retrieve-booking-by-id/4009/4 "2025-02-27T13:59:19Z")

</div>

`>.<` just saw your message about fields. Checking on this!

---

<div class="post-metadata">

**Author:** ![Ben](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/ben/32/772_2.png) [@Ben](https://forum.youcanbook.me/u/Ben)\
**Post date:** [February 27, 2025, 2:08pm UTC](https://forum.youcanbook.me/t/only-getting-cancelled-false-when-trying-the-retrieve-booking-by-id/4009/5 "2025-02-27T14:08:10Z")

</div>

@carlo_jh you only see limited information because this is an unauthenticated endpoint. If you use a different system and use your API key accountId to access with basic authentication you will get more information and can use the field controls.

---

<div class="post-metadata">

**Author:** ![carlo\_jh](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@carlo\_jh](https://forum.youcanbook.me/u/carlo_jh)\
**Post date:** [February 27, 2025, 2:13pm UTC](https://forum.youcanbook.me/t/only-getting-cancelled-false-when-trying-the-retrieve-booking-by-id/4009/6 "2025-02-27T14:13:18Z")

</div>

Hey Ben, tried to change the fields. i’m just playing around in the api docs, because i ran into this issue when scripting api requests 😅

 ![Bildschirmfoto 2025-02-27 um 15.11.10](https://canada1.discourse-cdn.com/flex027/uploads/ycbm/original/2X/6/62878ad228d41eeeac19883be1f28dcb082fe4da.png)

---

<div class="post-metadata">

**Author:** ![Ben](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/ben/32/772_2.png) [@Ben](https://forum.youcanbook.me/u/Ben)\
**Post date:** [February 27, 2025, 2:33pm UTC](https://forum.youcanbook.me/t/only-getting-cancelled-false-when-trying-the-retrieve-booking-by-id/4009/7 "2025-02-27T14:33:00Z")

</div>

@carlo_jh to get the full returned payload from the API you will need to send in an authenticated request. This would require your username (accountId) and password (API key) as a basic authentication. You can set this up with a system like Postman, or any other API interface tool.

---

<div class="post-metadata">

**Author:** ![carlo\_jh](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@carlo\_jh](https://forum.youcanbook.me/u/carlo_jh)\
**Post date:** [February 27, 2025, 2:43pm UTC](https://forum.youcanbook.me/t/only-getting-cancelled-false-when-trying-the-retrieve-booking-by-id/4009/8 "2025-02-27T14:43:50Z")

</div>

thx so much for your help, got it running now 😃
