POST api/dentist/AcceptTreatmentRequest
Request Information
URI Parameters
None.
Body Parameters
DentistTreatmentAcceptModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TreatmentRequestId | integer |
None. |
|
| DentistId | integer |
None. |
|
| TreatmentType | TreatmentType |
None. |
|
| AvailableTimes | Collection of AvailableTimeSlot |
None. |
|
| Culture | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TreatmentRequestId": 1,
"DentistId": 2,
"TreatmentType": 1,
"AvailableTimes": [
{
"FreeSlotId": 1,
"StartTime": "2025-12-12T01:59:41.6321385+01:00",
"EndTime": "2025-12-12T01:59:41.6321385+01:00",
"IsSelected": true,
"EstimatedCost": 1.0
},
{
"FreeSlotId": 1,
"StartTime": "2025-12-12T01:59:41.6321385+01:00",
"EndTime": "2025-12-12T01:59:41.6321385+01:00",
"IsSelected": true,
"EstimatedCost": 1.0
}
],
"Culture": "sample string 3"
}
application/xml, text/xml
Sample:
<DentistTreatmentAcceptModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Silver.Agenda.Core.Domain.Model">
<AvailableTimes>
<AvailableTimeSlot>
<EndTime>2025-12-12T01:59:41.6321385+01:00</EndTime>
<EstimatedCost>1</EstimatedCost>
<FreeSlotId>1</FreeSlotId>
<IsSelected>true</IsSelected>
<StartTime>2025-12-12T01:59:41.6321385+01:00</StartTime>
</AvailableTimeSlot>
<AvailableTimeSlot>
<EndTime>2025-12-12T01:59:41.6321385+01:00</EndTime>
<EstimatedCost>1</EstimatedCost>
<FreeSlotId>1</FreeSlotId>
<IsSelected>true</IsSelected>
<StartTime>2025-12-12T01:59:41.6321385+01:00</StartTime>
</AvailableTimeSlot>
</AvailableTimes>
<Culture>sample string 3</Culture>
<DentistId>2</DentistId>
<TreatmentRequestId>1</TreatmentRequestId>
<TreatmentType>EmergencyRequest</TreatmentType>
</DentistTreatmentAcceptModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.