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

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

Where am i going wrong?

i tried it with timezone and fields too

@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.

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

@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.

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 :sweat_smile:

@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.

thx so much for your help, got it running now :smiley:

1 Like