Skip to content

feat: api v2 get schedules that are applied to team event type #24901

@supalarry

Description

@supalarry

Problem

A customer wants to know when they fetch an event type they want to know which schedules of hosts are applied to calculate availability:

Screenshot 2025-11-04 at 11.46.50.png

Solution

Add more query parameters to apps/api/v2/src/modules/organizations/teams/schedules/organizations-teams-schedules.controller.ts and apps/api/v2/src/modules/teams/schedules/services/teams-schedules.service.ts :

  1. eventTypeId - to return which schedules are taken into account when that specific event type is booked. That would require fetching ids of hosts of that event type and then returning that hosts. I think that when calculating available slots we check only default schedules of hosts (but need to confirm that)

Metadata

Metadata

Assignees

Labels

Low priorityCreated by Linear-GitHub Syncapiarea: API, enterprise API, access token, OAuthreactive⚡︎

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions