How to fetch Blockout types from OD

For requests or help with our API
Post Reply
BardUser
Posts: 2
Joined: Fri Nov 01, 2024 2:35 am

How to fetch Blockout types from OD

Post by BardUser » Wed Dec 11, 2024 4:37 am

When i am trying to fetch definitions, blockout types don't show up there. The blockouts however, do show up in the schedules api, but i can't distinguish between whether appointments should be allowed in that blockout type or not. Is there a way i could get all blockout types and whether appointment overlap is allowed or not. Thanks a lot in advance.

justine
Posts: 286
Joined: Tue Dec 28, 2021 7:59 am

Re: How to fetch Blockout types from OD

Post by justine » Wed Dec 11, 2024 9:15 am

BardUser wrote:
Wed Dec 11, 2024 4:37 am
When i am trying to fetch definitions, blockout types don't show up there. The blockouts however, do show up in the schedules api, but i can't distinguish between whether appointments should be allowed in that blockout type or not. Is there a way i could get all blockout types and whether appointment overlap is allowed or not. Thanks a lot in advance.
Good morning BardUser,

I believe if you use the GET definitions endpoint and supply Category=25 (blockouts), any returned definition with an ItemValue of "NS" means, no scheduling.

Post Reply