POST api/DoctorPatient/AddOrUpdatePatientAppointments
Request Information
URI Parameters
None.
Body Parameters
AddUpdatePatientAppointments| Name | Description | Type | Additional information |
|---|---|---|---|
| AppointmentID | integer |
None. |
|
| UserID | integer |
None. |
|
| TeamID | integer |
None. |
|
| SessionCharges | decimal number |
None. |
|
| PaymentImage | string |
None. |
|
| SessionStartDate | date |
None. |
|
| SessionStartTime | time interval |
None. |
|
| TeamTimeSlotID | integer |
None. |
|
| BillingAddress | string |
None. |
|
| IsSessionEnded | boolean |
None. |
|
| SessionEndDatetime | date |
None. |
|
| DiscountVoucherID | integer |
None. |
|
| VoucherTitle | string |
None. |
|
| DiscountVoucherPercentage | decimal number |
None. |
|
| DiscountVoucherAmount | decimal number |
None. |
|
| FinalAmount | decimal number |
None. |
|
| AddedDateTime | date |
None. |
|
| Status | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppointmentID": 1,
"UserID": 1,
"TeamID": 2,
"SessionCharges": 3.0,
"PaymentImage": "sample string 4",
"SessionStartDate": "2026-09-29T08:00:01.8186417-05:00",
"SessionStartTime": "00:00:00.1234567",
"TeamTimeSlotID": 7,
"BillingAddress": "sample string 8",
"IsSessionEnded": true,
"SessionEndDatetime": "2026-09-29T08:00:01.8186417-05:00",
"DiscountVoucherID": 1,
"VoucherTitle": "sample string 9",
"DiscountVoucherPercentage": 1.1,
"DiscountVoucherAmount": 1.0,
"FinalAmount": 1.0,
"AddedDateTime": "2026-09-29T08:00:01.8186417-05:00",
"Status": true
}
application/xml, text/xml
Sample:
<DoctorAndPatientHelper.AddUpdatePatientAppointments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SapiensIn.BLL"> <AddedDateTime>2026-09-29T08:00:01.8186417-05:00</AddedDateTime> <AppointmentID>1</AppointmentID> <BillingAddress>sample string 8</BillingAddress> <DiscountVoucherAmount>1</DiscountVoucherAmount> <DiscountVoucherID>1</DiscountVoucherID> <DiscountVoucherPercentage>1.1</DiscountVoucherPercentage> <FinalAmount>1</FinalAmount> <IsSessionEnded>true</IsSessionEnded> <PaymentImage>sample string 4</PaymentImage> <SessionCharges>3</SessionCharges> <SessionEndDatetime>2026-09-29T08:00:01.8186417-05:00</SessionEndDatetime> <SessionStartDate>2026-09-29T08:00:01.8186417-05:00</SessionStartDate> <SessionStartTime>PT0.1234567S</SessionStartTime> <Status>true</Status> <TeamID>2</TeamID> <TeamTimeSlotID>7</TeamTimeSlotID> <UserID>1</UserID> <VoucherTitle>sample string 9</VoucherTitle> </DoctorAndPatientHelper.AddUpdatePatientAppointments>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>