GET api/DoctorPatient/GetAvailableTimeSlotByTeamIDAndDate?TeamID={TeamID}&Date={Date}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TeamID | integer |
Required |
|
| Date | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GET_AVAILABLE_TIME_SLOTS_BY_TEAM_ID_AND_DATE_Result| Name | Description | Type | Additional information |
|---|---|---|---|
| TeamTimeSlotID | integer |
None. |
|
| TeamID | integer |
None. |
|
| DayNumber | integer |
None. |
|
| TimeSlot | time interval |
None. |
|
| AddedDateTime | date |
None. |
|
| Status | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TeamTimeSlotID": 1,
"TeamID": 2,
"DayNumber": 3,
"TimeSlot": "00:00:00.1234567",
"AddedDateTime": "2026-09-29T08:00:46.865286-05:00",
"Status": true
},
{
"TeamTimeSlotID": 1,
"TeamID": 2,
"DayNumber": 3,
"TimeSlot": "00:00:00.1234567",
"AddedDateTime": "2026-09-29T08:00:46.865286-05:00",
"Status": true
}
]
application/xml, text/xml
Sample:
<ArrayOfGET_AVAILABLE_TIME_SLOTS_BY_TEAM_ID_AND_DATE_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SapiensIn.Models">
<GET_AVAILABLE_TIME_SLOTS_BY_TEAM_ID_AND_DATE_Result>
<AddedDateTime>2026-09-29T08:00:46.865286-05:00</AddedDateTime>
<DayNumber>3</DayNumber>
<Status>true</Status>
<TeamID>2</TeamID>
<TeamTimeSlotID>1</TeamTimeSlotID>
<TimeSlot>PT0.1234567S</TimeSlot>
</GET_AVAILABLE_TIME_SLOTS_BY_TEAM_ID_AND_DATE_Result>
<GET_AVAILABLE_TIME_SLOTS_BY_TEAM_ID_AND_DATE_Result>
<AddedDateTime>2026-09-29T08:00:46.865286-05:00</AddedDateTime>
<DayNumber>3</DayNumber>
<Status>true</Status>
<TeamID>2</TeamID>
<TeamTimeSlotID>1</TeamTimeSlotID>
<TimeSlot>PT0.1234567S</TimeSlot>
</GET_AVAILABLE_TIME_SLOTS_BY_TEAM_ID_AND_DATE_Result>
</ArrayOfGET_AVAILABLE_TIME_SLOTS_BY_TEAM_ID_AND_DATE_Result>