# Times fields doesn't respond through Profile API

**URL:** <https://forum.youcanbook.me/t/times-fields-doesnt-respond-through-profile-api/738>\
**Category:** API\
**Created:** [April 8, 2020, 9:59am UTC](https://forum.youcanbook.me/t/times-fields-doesnt-respond-through-profile-api/738 "2020-04-08T09:59:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shinzo](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@shinzo](https://forum.youcanbook.me/u/shinzo)\
**Post date:** [April 8, 2020, 9:59am UTC](https://forum.youcanbook.me/t/times-fields-doesnt-respond-through-profile-api/738/1 "2020-04-08T09:59:00Z")

</div>

Thank you for all your great service.  
I’m confused a bit and I hope you help me.

## Overview

- I tried to fetch `times` field from Profile API but I got nothing.

## What I tried

- I tried to fetch `times` field from Profile API but I got nothing.
- I read your [`Profile` API Document](https://api.youcanbook.me/docs/index.html#/Profiles) and used [your api playground](https://api.youcanbook.me/docs/index.html#/Profiles) in order to test sending request in browser.

## What I expected

- I thought I could received the response that had `times` filed in by the setting I configured on Dashbord.

## Info

Endpoint I used is `GET /v1/{accountId}/profiles/{profileId}`

The response is below and query `id,accountId,times`;

```auto
{
  "id": "xxxxxxxxxxxxxxx",
  "accountId": "xxxxxxxxxxxxx",
  "times": {}
}

```

Status code is 200.

I’m in tree trial duration so I should use any paid functionality.

---

<div class="post-metadata">

**Author:** ![tiffany](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/tiffany/32/77_2.png) [@tiffany](https://forum.youcanbook.me/u/tiffany)\
**Post date:** [April 9, 2020, 1:29pm UTC](https://forum.youcanbook.me/t/times-fields-doesnt-respond-through-profile-api/738/2 "2020-04-09T13:29:48Z")

</div>

Unfortunately we do not have a publicly facing endpoint to load a list of available booking slots through our API.

It is possible to do this through Google’s API, but that would be outside our scope of support.

---

<div class="post-metadata">

**Author:** ![shinzo](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@shinzo](https://forum.youcanbook.me/u/shinzo)\
**Post date:** [April 13, 2020, 7:03am UTC](https://forum.youcanbook.me/t/times-fields-doesnt-respond-through-profile-api/738/4 "2020-04-13T07:03:46Z")

</div>

Sorry I reply again because I used another account.

Thank you for replying.  
I’d known that we cannot fetch a list of available booking slots from Google Calendar API through your API. [REST API to get available time-slots & book an appointment](https://forum.youcanbook.me/t/rest-api-to-get-available-time-slots-book-an-appointment/660)

But is the `times` the one of Google API I can get? Its field seems like setting data I configured on youcanbookme Dashbord. For example, there are `monStart` and `monEnd` fields inside `times` and they could be the ones of `Working hours` inside `Times & Availability` on Dashbord.

I would like to fetch setting inside `Times & Availability` thought your API so that others in our team use the Dashbord on youcanbookme as UI for booking calendar setting. Could you tell me there is another api endpoint to achieve this if there was.

---

<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:** [October 22, 2021, 1:13pm UTC](https://forum.youcanbook.me/t/times-fields-doesnt-respond-through-profile-api/738/5 "2021-10-22T13:13:24Z")

</div>

@shinzo Following up here. You should be able to retrieve the times on a given booking page through the profiles endpoint: /v1/proflies/{profileId}?fields=times,times.\* this will pull in all of the settings you have in place for that particular booking page. I am sorry on the ridiculously delayed response here. I am going through all of our questions about the YCBM API in order to get things updated for our documentation.
