Page 1 of 1

How to fetch Blockout types from OD

Posted: Wed Dec 11, 2024 4:37 am
by BardUser
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.

Re: How to fetch Blockout types from OD

Posted: Wed Dec 11, 2024 9:15 am
by justine
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.