POST api/Customers/SchedualAppointmentsAuto?bySelectedDates={bySelectedDates}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bySelectedDates | boolean |
Default value is False |
Body Parameters
AutoSchedulingCritiriaName | Description | Type | Additional information |
---|---|---|---|
FromDate | date |
None. |
|
ToDate | date |
None. |
|
FromTime | time interval |
None. |
|
ToTime | time interval |
None. |
|
CustNum | integer |
None. |
|
DiaryNum | integer |
None. |
|
BranchNum | integer |
None. |
|
InsurerNum | integer |
None. |
|
DistrictNum | integer |
None. |
|
AffiliateNum | integer |
None. |
|
GroupPriceNum | integer |
None. |
|
OperNum | integer |
None. |
|
RoomNum | integer |
None. |
|
DoctorNum | integer |
None. |
|
TechnicianNum | integer |
None. |
|
Agent | integer |
None. |
|
Duration | integer |
None. |
|
Amount | integer |
None. |
|
Remark | string |
None. |
|
ParentDebitLineCode | integer |
None. |
|
DaysInWeek | Collection of string |
None. |
|
SkipDayWithAppointment | boolean |
None. |
|
WeekYesWeekNo | boolean |
None. |
|
IncludingSchedulingNoTime | boolean |
None. |
|
selectedDates | Collection of SelectedDate |
None. |
|
AppClerkCode | integer |
None. |
|
FromTime | string |
None. |
|
FromTimeT | time interval |
None. |
|
ToTime | string |
None. |
|
ToTimeT | time interval |
None. |
Request Formats
application/json, text/json
Sample:
{ "FromDate": "2024-11-21T11:40:34.5831646+02:00", "ToDate": "2024-11-21T11:40:34.5831646+02:00", "FromTime": "00:00:00.1234567", "ToTime": "00:00:00.1234567", "CustNum": 5, "DiaryNum": 6, "BranchNum": 7, "InsurerNum": 8, "DistrictNum": 9, "AffiliateNum": 10, "GroupPriceNum": 11, "OperNum": 12, "RoomNum": 13, "DoctorNum": 14, "TechnicianNum": 15, "Agent": 16, "Duration": 17, "Amount": 18, "Remark": "sample string 19", "ParentDebitLineCode": 20, "DaysInWeek": [ "sample string 1", "sample string 2" ], "SkipDayWithAppointment": true, "WeekYesWeekNo": true, "IncludingSchedulingNoTime": true, "selectedDates": [ { "Date": "2024-11-21T11:40:34.5831646+02:00", "FromTime": "00:00:00.1234567", "ToTime": "00:00:00.1234567" }, { "Date": "2024-11-21T11:40:34.5831646+02:00", "FromTime": "00:00:00.1234567", "ToTime": "00:00:00.1234567" } ], "AppClerkCode": 24, "FromTimeT": "00:00:00", "ToTimeT": "00:00:00" }
application/xml, text/xml
Sample:
<AutoSchedulingCritiria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.AssignTimetableManage"> <FromDate xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">0001-01-01T00:00:00</FromDate> <FromTime xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">sample string 25</FromTime> <ToDate xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">0001-01-01T00:00:00</ToDate> <ToTime xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">sample string 26</ToTime> <AffiliateNum>10</AffiliateNum> <Agent>16</Agent> <Amount>18</Amount> <AppClerkCode>24</AppClerkCode> <BranchNum>7</BranchNum> <CustNum>5</CustNum> <DaysInWeek xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DaysInWeek> <DiaryNum>6</DiaryNum> <DistrictNum>9</DistrictNum> <DoctorNum>14</DoctorNum> <Duration>17</Duration> <FromDate>2024-11-21T11:40:34.5831646+02:00</FromDate> <FromTime>PT0.1234567S</FromTime> <GroupPriceNum>11</GroupPriceNum> <IncludingSchedulingNoTime>true</IncludingSchedulingNoTime> <InsurerNum>8</InsurerNum> <OperNum>12</OperNum> <ParentDebitLineCode>20</ParentDebitLineCode> <Remark>sample string 19</Remark> <RoomNum>13</RoomNum> <SkipDayWithAppointment>true</SkipDayWithAppointment> <TechnicianNum>15</TechnicianNum> <ToDate>2024-11-21T11:40:34.5831646+02:00</ToDate> <ToTime>PT0.1234567S</ToTime> <WeekYesWeekNo>true</WeekYesWeekNo> <selectedDates> <SelectedDate> <Date>2024-11-21T11:40:34.5831646+02:00</Date> <FromTime>PT0.1234567S</FromTime> <ToTime>PT0.1234567S</ToTime> </SelectedDate> <SelectedDate> <Date>2024-11-21T11:40:34.5831646+02:00</Date> <FromTime>PT0.1234567S</FromTime> <ToTime>PT0.1234567S</ToTime> </SelectedDate> </selectedDates> </AutoSchedulingCritiria>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
Collection of ReportAppointmentsName | Description | Type | Additional information |
---|---|---|---|
Date | date |
None. |
|
Time | time interval |
None. |
|
Status | boolean |
None. |
|
Dline | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Date": "2024-11-21T11:40:34.6300176+02:00", "Time": "00:00:00.1234567", "Status": true, "Dline": 4 }, { "Date": "2024-11-21T11:40:34.6300176+02:00", "Time": "00:00:00.1234567", "Status": true, "Dline": 4 } ]
application/xml, text/xml
Sample:
<ArrayOfReportAppointments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.AssignTimetableManage"> <ReportAppointments> <Date>2024-11-21T11:40:34.6300176+02:00</Date> <Dline>4</Dline> <Status>true</Status> <Time>PT0.1234567S</Time> </ReportAppointments> <ReportAppointments> <Date>2024-11-21T11:40:34.6300176+02:00</Date> <Dline>4</Dline> <Status>true</Status> <Time>PT0.1234567S</Time> </ReportAppointments> </ArrayOfReportAppointments>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.