POST api/account/UpdatePatientAppointment
Request Information
URI Parameters
None.
Body Parameters
DTOUpdatePatientAppointmentName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
PatientAppointmentId | globally unique identifier |
None. |
|
PatientServiceAppointmentId | globally unique identifier |
None. |
|
PatientId | globally unique identifier |
None. |
|
BranchLocationId | globally unique identifier |
None. |
|
UserId | globally unique identifier |
None. |
|
BranchId | globally unique identifier |
None. |
|
StartDate | date |
None. |
|
StartTime | date |
None. |
|
RideDetail | string |
None. |
|
Address | string |
None. |
|
AppointmentNo | string |
None. |
|
Longitude | decimal number |
None. |
|
Latitude | decimal number |
None. |
|
AppointmentAmount | decimal number |
None. |
|
AppointmentDiscountType | integer |
None. |
|
AppointmentDiscount | decimal number |
None. |
|
AppointmentTotalWithDiscount | decimal number |
None. |
|
ToDate | date |
None. |
|
ToTime | date |
None. |
|
SubServicesList | Collection of DTOAppointmentServicesDetail |
None. |
|
PaymentMethodDataList | Collection of DTOPaymentMethodDataList |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "fd86d426-3554-4065-a21f-536a683958ce", "PatientAppointmentId": "dfa583f1-7e4a-4841-a4be-c19205c6ecca", "PatientServiceAppointmentId": "42e5b477-cf71-4a10-b47b-72390076eb51", "PatientId": "80caf7f0-8155-4405-bf5a-65d22ba119ea", "BranchLocationId": "fef7bc9b-ae4b-4e5b-aade-56fbd125f832", "UserId": "8a1aeb6a-3425-4a85-9226-263773dc7011", "BranchId": "813b830e-c024-4e50-9512-d74100e2d761", "StartDate": "2025-06-14T12:02:28.5686807+05:00", "StartTime": "2025-06-14T12:02:28.5686807+05:00", "RideDetail": "sample string 1", "Address": "sample string 2", "AppointmentNo": "sample string 3", "Longitude": 1.1, "Latitude": 1.1, "AppointmentAmount": 1.1, "AppointmentDiscountType": 1, "AppointmentDiscount": 1.1, "AppointmentTotalWithDiscount": 1.1, "ToDate": "2025-06-14T12:02:28.5686807+05:00", "ToTime": "2025-06-14T12:02:28.5686807+05:00", "SubServicesList": [ { "Id": "7e47bf07-d53c-4963-9c39-000aa3c17025", "SubServiceId": "1b3a34aa-f282-4751-8834-77c6cc6fa9d8", "SubServiceName": "sample string 1", "Price": 1.0, "PaymentMethodId": "3cca50f9-5d59-4901-b129-5be08d6372a7", "BranchLocationId": "7d6c9bf1-b468-40ef-b429-b292bf22b12c", "UserId": "bd246e12-4c59-4bfb-ac31-9054c2588fb5", "PatientId": "18222fa8-be7f-4b0f-b2de-e2bff5e65446", "AppointmentNo": "sample string 2", "Status": "sample string 3", "StatusValue": 4, "VATPercentage": 1.1, "VATAmount": 1.1, "TypeBit": 1, "SubServiceQuantity": 1, "BookingDate": "2025-06-14T12:02:28.5696802+05:00", "StartTime": "00:00:00.1234567", "Address": "sample string 5", "PatientName": "sample string 6", "Total": 1.1, "DiscountType": 1, "Discount": 1.1, "ToDateAndTime": "2025-06-14T12:02:28.5696802+05:00", "FromDateAndTime": "2025-06-14T12:02:28.5696802+05:00", "NormalExecutionTimeInSeconds": 1 }, { "Id": "7e47bf07-d53c-4963-9c39-000aa3c17025", "SubServiceId": "1b3a34aa-f282-4751-8834-77c6cc6fa9d8", "SubServiceName": "sample string 1", "Price": 1.0, "PaymentMethodId": "3cca50f9-5d59-4901-b129-5be08d6372a7", "BranchLocationId": "7d6c9bf1-b468-40ef-b429-b292bf22b12c", "UserId": "bd246e12-4c59-4bfb-ac31-9054c2588fb5", "PatientId": "18222fa8-be7f-4b0f-b2de-e2bff5e65446", "AppointmentNo": "sample string 2", "Status": "sample string 3", "StatusValue": 4, "VATPercentage": 1.1, "VATAmount": 1.1, "TypeBit": 1, "SubServiceQuantity": 1, "BookingDate": "2025-06-14T12:02:28.5696802+05:00", "StartTime": "00:00:00.1234567", "Address": "sample string 5", "PatientName": "sample string 6", "Total": 1.1, "DiscountType": 1, "Discount": 1.1, "ToDateAndTime": "2025-06-14T12:02:28.5696802+05:00", "FromDateAndTime": "2025-06-14T12:02:28.5696802+05:00", "NormalExecutionTimeInSeconds": 1 } ], "PaymentMethodDataList": [ { "PaymentMethodId": "2e2a8319-e9b9-477a-ac8d-0b795302bbb1", "PaymentMethodRemarks": "sample string 1", "PaymentMethodName": "sample string 2", "PaidAmount": 1.1, "AttachmentPath": "sample string 3" }, { "PaymentMethodId": "2e2a8319-e9b9-477a-ac8d-0b795302bbb1", "PaymentMethodRemarks": "sample string 1", "PaymentMethodName": "sample string 2", "PaidAmount": 1.1, "AttachmentPath": "sample string 3" } ] }
application/xml, text/xml
Sample:
<DTOUpdatePatientAppointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeCarePortal.BAL.DTOModels"> <Address>sample string 2</Address> <AppointmentAmount>1.1</AppointmentAmount> <AppointmentDiscount>1.1</AppointmentDiscount> <AppointmentDiscountType>1</AppointmentDiscountType> <AppointmentNo>sample string 3</AppointmentNo> <AppointmentTotalWithDiscount>1.1</AppointmentTotalWithDiscount> <BranchId>813b830e-c024-4e50-9512-d74100e2d761</BranchId> <BranchLocationId>fef7bc9b-ae4b-4e5b-aade-56fbd125f832</BranchLocationId> <Id>fd86d426-3554-4065-a21f-536a683958ce</Id> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <PatientAppointmentId>dfa583f1-7e4a-4841-a4be-c19205c6ecca</PatientAppointmentId> <PatientId>80caf7f0-8155-4405-bf5a-65d22ba119ea</PatientId> <PatientServiceAppointmentId>42e5b477-cf71-4a10-b47b-72390076eb51</PatientServiceAppointmentId> <PaymentMethodDataList> <DTOPaymentMethodDataList> <AttachmentPath>sample string 3</AttachmentPath> <PaidAmount>1.1</PaidAmount> <PaymentMethodId>2e2a8319-e9b9-477a-ac8d-0b795302bbb1</PaymentMethodId> <PaymentMethodName>sample string 2</PaymentMethodName> <PaymentMethodRemarks>sample string 1</PaymentMethodRemarks> </DTOPaymentMethodDataList> <DTOPaymentMethodDataList> <AttachmentPath>sample string 3</AttachmentPath> <PaidAmount>1.1</PaidAmount> <PaymentMethodId>2e2a8319-e9b9-477a-ac8d-0b795302bbb1</PaymentMethodId> <PaymentMethodName>sample string 2</PaymentMethodName> <PaymentMethodRemarks>sample string 1</PaymentMethodRemarks> </DTOPaymentMethodDataList> </PaymentMethodDataList> <RideDetail>sample string 1</RideDetail> <StartDate>2025-06-14T12:02:28.5686807+05:00</StartDate> <StartTime>2025-06-14T12:02:28.5686807+05:00</StartTime> <SubServicesList> <DTOAppointmentServicesDetail> <Address>sample string 5</Address> <AppointmentNo>sample string 2</AppointmentNo> <BookingDate>2025-06-14T12:02:28.5696802+05:00</BookingDate> <BranchLocationId>7d6c9bf1-b468-40ef-b429-b292bf22b12c</BranchLocationId> <Discount>1.1</Discount> <DiscountType>1</DiscountType> <FromDateAndTime>2025-06-14T12:02:28.5696802+05:00</FromDateAndTime> <Id>7e47bf07-d53c-4963-9c39-000aa3c17025</Id> <NormalExecutionTimeInSeconds>1</NormalExecutionTimeInSeconds> <PatientId>18222fa8-be7f-4b0f-b2de-e2bff5e65446</PatientId> <PatientName>sample string 6</PatientName> <PaymentMethodId>3cca50f9-5d59-4901-b129-5be08d6372a7</PaymentMethodId> <Price>1</Price> <StartTime>PT0.1234567S</StartTime> <Status>sample string 3</Status> <StatusValue>4</StatusValue> <SubServiceId>1b3a34aa-f282-4751-8834-77c6cc6fa9d8</SubServiceId> <SubServiceName>sample string 1</SubServiceName> <SubServiceQuantity>1</SubServiceQuantity> <ToDateAndTime>2025-06-14T12:02:28.5696802+05:00</ToDateAndTime> <Total>1.1</Total> <TypeBit>1</TypeBit> <UserId>bd246e12-4c59-4bfb-ac31-9054c2588fb5</UserId> <VATAmount>1.1</VATAmount> <VATPercentage>1.1</VATPercentage> </DTOAppointmentServicesDetail> <DTOAppointmentServicesDetail> <Address>sample string 5</Address> <AppointmentNo>sample string 2</AppointmentNo> <BookingDate>2025-06-14T12:02:28.5696802+05:00</BookingDate> <BranchLocationId>7d6c9bf1-b468-40ef-b429-b292bf22b12c</BranchLocationId> <Discount>1.1</Discount> <DiscountType>1</DiscountType> <FromDateAndTime>2025-06-14T12:02:28.5696802+05:00</FromDateAndTime> <Id>7e47bf07-d53c-4963-9c39-000aa3c17025</Id> <NormalExecutionTimeInSeconds>1</NormalExecutionTimeInSeconds> <PatientId>18222fa8-be7f-4b0f-b2de-e2bff5e65446</PatientId> <PatientName>sample string 6</PatientName> <PaymentMethodId>3cca50f9-5d59-4901-b129-5be08d6372a7</PaymentMethodId> <Price>1</Price> <StartTime>PT0.1234567S</StartTime> <Status>sample string 3</Status> <StatusValue>4</StatusValue> <SubServiceId>1b3a34aa-f282-4751-8834-77c6cc6fa9d8</SubServiceId> <SubServiceName>sample string 1</SubServiceName> <SubServiceQuantity>1</SubServiceQuantity> <ToDateAndTime>2025-06-14T12:02:28.5696802+05:00</ToDateAndTime> <Total>1.1</Total> <TypeBit>1</TypeBit> <UserId>bd246e12-4c59-4bfb-ac31-9054c2588fb5</UserId> <VATAmount>1.1</VATAmount> <VATPercentage>1.1</VATPercentage> </DTOAppointmentServicesDetail> </SubServicesList> <ToDate>2025-06-14T12:02:28.5686807+05:00</ToDate> <ToTime>2025-06-14T12:02:28.5686807+05:00</ToTime> <UserId>8a1aeb6a-3425-4a85-9226-263773dc7011</UserId> </DTOUpdatePatientAppointment>
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.