How to fetch Blockout types from OD
How to fetch Blockout types from OD
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
Good morning BardUser,BardUser wrote: ↑Wed Dec 11, 2024 4:37 amWhen 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.
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.