GET api/DoctorPatient/GetAppointmentsForDoctorProfile?UserID={UserID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DoctorProfileName | Description | Type | Additional information |
---|---|---|---|
MainCounts | DoctorProfileStatistics |
None. |
|
PastAppointments | Collection of GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result |
None. |
|
PresentAppointments | Collection of GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result |
None. |
|
UpcomingAppointments | Collection of GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result |
None. |
Response Formats
application/json, text/json
Sample:
{ "MainCounts": { "TotalAppointments": 1, "SessionsToday": 2, "UpcomingSessions": 3 }, "PastAppointments": [ { "ApprovalStatus": 1, "AppointmentID": 1, "UserID": 2, "TeamID": 3, "SessionCharges": 4.0, "SessionStartDate": "2024-09-19T07:36:31.6888924-05:00", "SessionStartTime": "sample string 5", "TeamTimeSlotID": 1, "IsSessionEnded": true, "SessionEndDatetime": "2024-09-19T07:36:31.6888924-05:00", "AddedDateTime": "2024-09-19T07:36:31.6888924-05:00", "Status": true, "SpecialityTitle": "sample string 8", "DisplayPicture": "sample string 9", "PatientName": "sample string 10", "PatientImage": "sample string 11", "FinalAmount": 1.0, "PatientMobileNumber": "sample string 12", "ResidentialAddress": "sample string 13", "BillingAddress": "sample string 14", "DiscountVoucherID": 1, "VoucherTitle": "sample string 15", "DiscountVoucherAmount": 1.0, "DiscountVoucherPercentage": 1.1 }, { "ApprovalStatus": 1, "AppointmentID": 1, "UserID": 2, "TeamID": 3, "SessionCharges": 4.0, "SessionStartDate": "2024-09-19T07:36:31.6888924-05:00", "SessionStartTime": "sample string 5", "TeamTimeSlotID": 1, "IsSessionEnded": true, "SessionEndDatetime": "2024-09-19T07:36:31.6888924-05:00", "AddedDateTime": "2024-09-19T07:36:31.6888924-05:00", "Status": true, "SpecialityTitle": "sample string 8", "DisplayPicture": "sample string 9", "PatientName": "sample string 10", "PatientImage": "sample string 11", "FinalAmount": 1.0, "PatientMobileNumber": "sample string 12", "ResidentialAddress": "sample string 13", "BillingAddress": "sample string 14", "DiscountVoucherID": 1, "VoucherTitle": "sample string 15", "DiscountVoucherAmount": 1.0, "DiscountVoucherPercentage": 1.1 } ], "PresentAppointments": [ { "ApprovalStatus": 1, "AppointmentID": 1, "UserID": 2, "TeamID": 3, "SessionCharges": 4.0, "SessionStartDate": "2024-09-19T07:36:31.6888924-05:00", "SessionStartTime": "sample string 5", "TeamTimeSlotID": 1, "IsSessionEnded": true, "SessionEndDatetime": "2024-09-19T07:36:31.6888924-05:00", "AddedDateTime": "2024-09-19T07:36:31.6888924-05:00", "Status": true, "SpecialityTitle": "sample string 8", "DisplayPicture": "sample string 9", "PatientName": "sample string 10", "PatientImage": "sample string 11", "FinalAmount": 1.0, "PatientMobileNumber": "sample string 12", "ResidentialAddress": "sample string 13", "BillingAddress": "sample string 14", "DiscountVoucherID": 1, "VoucherTitle": "sample string 15", "DiscountVoucherAmount": 1.0, "DiscountVoucherPercentage": 1.1 }, { "ApprovalStatus": 1, "AppointmentID": 1, "UserID": 2, "TeamID": 3, "SessionCharges": 4.0, "SessionStartDate": "2024-09-19T07:36:31.6888924-05:00", "SessionStartTime": "sample string 5", "TeamTimeSlotID": 1, "IsSessionEnded": true, "SessionEndDatetime": "2024-09-19T07:36:31.6888924-05:00", "AddedDateTime": "2024-09-19T07:36:31.6888924-05:00", "Status": true, "SpecialityTitle": "sample string 8", "DisplayPicture": "sample string 9", "PatientName": "sample string 10", "PatientImage": "sample string 11", "FinalAmount": 1.0, "PatientMobileNumber": "sample string 12", "ResidentialAddress": "sample string 13", "BillingAddress": "sample string 14", "DiscountVoucherID": 1, "VoucherTitle": "sample string 15", "DiscountVoucherAmount": 1.0, "DiscountVoucherPercentage": 1.1 } ], "UpcomingAppointments": [ { "ApprovalStatus": 1, "AppointmentID": 1, "UserID": 2, "TeamID": 3, "SessionCharges": 4.0, "SessionStartDate": "2024-09-19T07:36:31.6888924-05:00", "SessionStartTime": "sample string 5", "TeamTimeSlotID": 1, "IsSessionEnded": true, "SessionEndDatetime": "2024-09-19T07:36:31.6888924-05:00", "AddedDateTime": "2024-09-19T07:36:31.6888924-05:00", "Status": true, "SpecialityTitle": "sample string 8", "DisplayPicture": "sample string 9", "PatientName": "sample string 10", "PatientImage": "sample string 11", "FinalAmount": 1.0, "PatientMobileNumber": "sample string 12", "ResidentialAddress": "sample string 13", "BillingAddress": "sample string 14", "DiscountVoucherID": 1, "VoucherTitle": "sample string 15", "DiscountVoucherAmount": 1.0, "DiscountVoucherPercentage": 1.1 }, { "ApprovalStatus": 1, "AppointmentID": 1, "UserID": 2, "TeamID": 3, "SessionCharges": 4.0, "SessionStartDate": "2024-09-19T07:36:31.6888924-05:00", "SessionStartTime": "sample string 5", "TeamTimeSlotID": 1, "IsSessionEnded": true, "SessionEndDatetime": "2024-09-19T07:36:31.6888924-05:00", "AddedDateTime": "2024-09-19T07:36:31.6888924-05:00", "Status": true, "SpecialityTitle": "sample string 8", "DisplayPicture": "sample string 9", "PatientName": "sample string 10", "PatientImage": "sample string 11", "FinalAmount": 1.0, "PatientMobileNumber": "sample string 12", "ResidentialAddress": "sample string 13", "BillingAddress": "sample string 14", "DiscountVoucherID": 1, "VoucherTitle": "sample string 15", "DiscountVoucherAmount": 1.0, "DiscountVoucherPercentage": 1.1 } ] }
application/xml, text/xml
Sample:
<DoctorAndPatientHelper.DoctorProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SapiensIn.BLL"> <MainCounts> <SessionsToday>2</SessionsToday> <TotalAppointments>1</TotalAppointments> <UpcomingSessions>3</UpcomingSessions> </MainCounts> <PastAppointments xmlns:d2p1="http://schemas.datacontract.org/2004/07/SapiensIn.Models"> <d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> <d2p1:AddedDateTime>2024-09-19T07:36:31.6888924-05:00</d2p1:AddedDateTime> <d2p1:AppointmentID>1</d2p1:AppointmentID> <d2p1:ApprovalStatus>1</d2p1:ApprovalStatus> <d2p1:BillingAddress>sample string 14</d2p1:BillingAddress> <d2p1:DiscountVoucherAmount>1</d2p1:DiscountVoucherAmount> <d2p1:DiscountVoucherID>1</d2p1:DiscountVoucherID> <d2p1:DiscountVoucherPercentage>1.1</d2p1:DiscountVoucherPercentage> <d2p1:DisplayPicture>sample string 9</d2p1:DisplayPicture> <d2p1:FinalAmount>1</d2p1:FinalAmount> <d2p1:IsSessionEnded>true</d2p1:IsSessionEnded> <d2p1:PatientImage>sample string 11</d2p1:PatientImage> <d2p1:PatientMobileNumber>sample string 12</d2p1:PatientMobileNumber> <d2p1:PatientName>sample string 10</d2p1:PatientName> <d2p1:ResidentialAddress>sample string 13</d2p1:ResidentialAddress> <d2p1:SessionCharges>4</d2p1:SessionCharges> <d2p1:SessionEndDatetime>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionEndDatetime> <d2p1:SessionStartDate>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionStartDate> <d2p1:SessionStartTime>sample string 5</d2p1:SessionStartTime> <d2p1:SpecialityTitle>sample string 8</d2p1:SpecialityTitle> <d2p1:Status>true</d2p1:Status> <d2p1:TeamID>3</d2p1:TeamID> <d2p1:TeamTimeSlotID>1</d2p1:TeamTimeSlotID> <d2p1:UserID>2</d2p1:UserID> <d2p1:VoucherTitle>sample string 15</d2p1:VoucherTitle> </d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> <d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> <d2p1:AddedDateTime>2024-09-19T07:36:31.6888924-05:00</d2p1:AddedDateTime> <d2p1:AppointmentID>1</d2p1:AppointmentID> <d2p1:ApprovalStatus>1</d2p1:ApprovalStatus> <d2p1:BillingAddress>sample string 14</d2p1:BillingAddress> <d2p1:DiscountVoucherAmount>1</d2p1:DiscountVoucherAmount> <d2p1:DiscountVoucherID>1</d2p1:DiscountVoucherID> <d2p1:DiscountVoucherPercentage>1.1</d2p1:DiscountVoucherPercentage> <d2p1:DisplayPicture>sample string 9</d2p1:DisplayPicture> <d2p1:FinalAmount>1</d2p1:FinalAmount> <d2p1:IsSessionEnded>true</d2p1:IsSessionEnded> <d2p1:PatientImage>sample string 11</d2p1:PatientImage> <d2p1:PatientMobileNumber>sample string 12</d2p1:PatientMobileNumber> <d2p1:PatientName>sample string 10</d2p1:PatientName> <d2p1:ResidentialAddress>sample string 13</d2p1:ResidentialAddress> <d2p1:SessionCharges>4</d2p1:SessionCharges> <d2p1:SessionEndDatetime>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionEndDatetime> <d2p1:SessionStartDate>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionStartDate> <d2p1:SessionStartTime>sample string 5</d2p1:SessionStartTime> <d2p1:SpecialityTitle>sample string 8</d2p1:SpecialityTitle> <d2p1:Status>true</d2p1:Status> <d2p1:TeamID>3</d2p1:TeamID> <d2p1:TeamTimeSlotID>1</d2p1:TeamTimeSlotID> <d2p1:UserID>2</d2p1:UserID> <d2p1:VoucherTitle>sample string 15</d2p1:VoucherTitle> </d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> </PastAppointments> <PresentAppointments xmlns:d2p1="http://schemas.datacontract.org/2004/07/SapiensIn.Models"> <d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> <d2p1:AddedDateTime>2024-09-19T07:36:31.6888924-05:00</d2p1:AddedDateTime> <d2p1:AppointmentID>1</d2p1:AppointmentID> <d2p1:ApprovalStatus>1</d2p1:ApprovalStatus> <d2p1:BillingAddress>sample string 14</d2p1:BillingAddress> <d2p1:DiscountVoucherAmount>1</d2p1:DiscountVoucherAmount> <d2p1:DiscountVoucherID>1</d2p1:DiscountVoucherID> <d2p1:DiscountVoucherPercentage>1.1</d2p1:DiscountVoucherPercentage> <d2p1:DisplayPicture>sample string 9</d2p1:DisplayPicture> <d2p1:FinalAmount>1</d2p1:FinalAmount> <d2p1:IsSessionEnded>true</d2p1:IsSessionEnded> <d2p1:PatientImage>sample string 11</d2p1:PatientImage> <d2p1:PatientMobileNumber>sample string 12</d2p1:PatientMobileNumber> <d2p1:PatientName>sample string 10</d2p1:PatientName> <d2p1:ResidentialAddress>sample string 13</d2p1:ResidentialAddress> <d2p1:SessionCharges>4</d2p1:SessionCharges> <d2p1:SessionEndDatetime>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionEndDatetime> <d2p1:SessionStartDate>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionStartDate> <d2p1:SessionStartTime>sample string 5</d2p1:SessionStartTime> <d2p1:SpecialityTitle>sample string 8</d2p1:SpecialityTitle> <d2p1:Status>true</d2p1:Status> <d2p1:TeamID>3</d2p1:TeamID> <d2p1:TeamTimeSlotID>1</d2p1:TeamTimeSlotID> <d2p1:UserID>2</d2p1:UserID> <d2p1:VoucherTitle>sample string 15</d2p1:VoucherTitle> </d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> <d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> <d2p1:AddedDateTime>2024-09-19T07:36:31.6888924-05:00</d2p1:AddedDateTime> <d2p1:AppointmentID>1</d2p1:AppointmentID> <d2p1:ApprovalStatus>1</d2p1:ApprovalStatus> <d2p1:BillingAddress>sample string 14</d2p1:BillingAddress> <d2p1:DiscountVoucherAmount>1</d2p1:DiscountVoucherAmount> <d2p1:DiscountVoucherID>1</d2p1:DiscountVoucherID> <d2p1:DiscountVoucherPercentage>1.1</d2p1:DiscountVoucherPercentage> <d2p1:DisplayPicture>sample string 9</d2p1:DisplayPicture> <d2p1:FinalAmount>1</d2p1:FinalAmount> <d2p1:IsSessionEnded>true</d2p1:IsSessionEnded> <d2p1:PatientImage>sample string 11</d2p1:PatientImage> <d2p1:PatientMobileNumber>sample string 12</d2p1:PatientMobileNumber> <d2p1:PatientName>sample string 10</d2p1:PatientName> <d2p1:ResidentialAddress>sample string 13</d2p1:ResidentialAddress> <d2p1:SessionCharges>4</d2p1:SessionCharges> <d2p1:SessionEndDatetime>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionEndDatetime> <d2p1:SessionStartDate>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionStartDate> <d2p1:SessionStartTime>sample string 5</d2p1:SessionStartTime> <d2p1:SpecialityTitle>sample string 8</d2p1:SpecialityTitle> <d2p1:Status>true</d2p1:Status> <d2p1:TeamID>3</d2p1:TeamID> <d2p1:TeamTimeSlotID>1</d2p1:TeamTimeSlotID> <d2p1:UserID>2</d2p1:UserID> <d2p1:VoucherTitle>sample string 15</d2p1:VoucherTitle> </d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> </PresentAppointments> <UpcomingAppointments xmlns:d2p1="http://schemas.datacontract.org/2004/07/SapiensIn.Models"> <d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> <d2p1:AddedDateTime>2024-09-19T07:36:31.6888924-05:00</d2p1:AddedDateTime> <d2p1:AppointmentID>1</d2p1:AppointmentID> <d2p1:ApprovalStatus>1</d2p1:ApprovalStatus> <d2p1:BillingAddress>sample string 14</d2p1:BillingAddress> <d2p1:DiscountVoucherAmount>1</d2p1:DiscountVoucherAmount> <d2p1:DiscountVoucherID>1</d2p1:DiscountVoucherID> <d2p1:DiscountVoucherPercentage>1.1</d2p1:DiscountVoucherPercentage> <d2p1:DisplayPicture>sample string 9</d2p1:DisplayPicture> <d2p1:FinalAmount>1</d2p1:FinalAmount> <d2p1:IsSessionEnded>true</d2p1:IsSessionEnded> <d2p1:PatientImage>sample string 11</d2p1:PatientImage> <d2p1:PatientMobileNumber>sample string 12</d2p1:PatientMobileNumber> <d2p1:PatientName>sample string 10</d2p1:PatientName> <d2p1:ResidentialAddress>sample string 13</d2p1:ResidentialAddress> <d2p1:SessionCharges>4</d2p1:SessionCharges> <d2p1:SessionEndDatetime>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionEndDatetime> <d2p1:SessionStartDate>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionStartDate> <d2p1:SessionStartTime>sample string 5</d2p1:SessionStartTime> <d2p1:SpecialityTitle>sample string 8</d2p1:SpecialityTitle> <d2p1:Status>true</d2p1:Status> <d2p1:TeamID>3</d2p1:TeamID> <d2p1:TeamTimeSlotID>1</d2p1:TeamTimeSlotID> <d2p1:UserID>2</d2p1:UserID> <d2p1:VoucherTitle>sample string 15</d2p1:VoucherTitle> </d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> <d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> <d2p1:AddedDateTime>2024-09-19T07:36:31.6888924-05:00</d2p1:AddedDateTime> <d2p1:AppointmentID>1</d2p1:AppointmentID> <d2p1:ApprovalStatus>1</d2p1:ApprovalStatus> <d2p1:BillingAddress>sample string 14</d2p1:BillingAddress> <d2p1:DiscountVoucherAmount>1</d2p1:DiscountVoucherAmount> <d2p1:DiscountVoucherID>1</d2p1:DiscountVoucherID> <d2p1:DiscountVoucherPercentage>1.1</d2p1:DiscountVoucherPercentage> <d2p1:DisplayPicture>sample string 9</d2p1:DisplayPicture> <d2p1:FinalAmount>1</d2p1:FinalAmount> <d2p1:IsSessionEnded>true</d2p1:IsSessionEnded> <d2p1:PatientImage>sample string 11</d2p1:PatientImage> <d2p1:PatientMobileNumber>sample string 12</d2p1:PatientMobileNumber> <d2p1:PatientName>sample string 10</d2p1:PatientName> <d2p1:ResidentialAddress>sample string 13</d2p1:ResidentialAddress> <d2p1:SessionCharges>4</d2p1:SessionCharges> <d2p1:SessionEndDatetime>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionEndDatetime> <d2p1:SessionStartDate>2024-09-19T07:36:31.6888924-05:00</d2p1:SessionStartDate> <d2p1:SessionStartTime>sample string 5</d2p1:SessionStartTime> <d2p1:SpecialityTitle>sample string 8</d2p1:SpecialityTitle> <d2p1:Status>true</d2p1:Status> <d2p1:TeamID>3</d2p1:TeamID> <d2p1:TeamTimeSlotID>1</d2p1:TeamTimeSlotID> <d2p1:UserID>2</d2p1:UserID> <d2p1:VoucherTitle>sample string 15</d2p1:VoucherTitle> </d2p1:GET_APPOINTMENTS_FOR_DOCTOR_PROFILE_Result> </UpcomingAppointments> </DoctorAndPatientHelper.DoctorProfile>