GET api/appointment/GetFreeDate/{id}
Get dates with free apointment for resource Id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DbDateitem| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Date | date |
None. |
|
| Text | string |
None. |
|
| FreeCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Date": "2025-12-06T06:20:42.1763221+01:00",
"Text": "sample string 3",
"FreeCount": 4
},
{
"Id": 1,
"Date": "2025-12-06T06:20:42.1763221+01:00",
"Text": "sample string 3",
"FreeCount": 4
}
]
text/html
Sample:
[{"Id":1,"Date":"2025-12-06T06:20:42.1763221+01:00","Text":"sample string 3","FreeCount":4},{"Id":1,"Date":"2025-12-06T06:20:42.1763221+01:00","Text":"sample string 3","FreeCount":4}]
application/xml, text/xml
Sample:
<ArrayOfDbDateitem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/jCMS.Api.Models">
<DbDateitem>
<Date>2025-12-06T06:20:42.1763221+01:00</Date>
<FreeCount>4</FreeCount>
<Id>1</Id>
<Text>sample string 3</Text>
</DbDateitem>
<DbDateitem>
<Date>2025-12-06T06:20:42.1763221+01:00</Date>
<FreeCount>4</FreeCount>
<Id>1</Id>
<Text>sample string 3</Text>
</DbDateitem>
</ArrayOfDbDateitem>