POST api/Patients/GetFreeTimesForPatient

Request Information

URI Parameters

None.

Body Parameters

FreeTimesForPatientCriteria
NameDescriptionTypeAdditional information
BranchCode

integer

None.

OperCode

integer

None.

SurgCode

integer

None.

CustNum

integer

None.

DaysArray

Collection of integer

None.

FromDate

date

None.

ToDate

date

None.

FromTime

string

None.

FromTimeT

time interval

None.

ToTime

string

None.

ToTimeT

time interval

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchCode": 1,
  "OperCode": 2,
  "SurgCode": 3,
  "CustNum": 4,
  "DaysArray": [
    1,
    2
  ],
  "FromDate": "2024-03-29T00:00:00+03:00",
  "ToDate": "2024-03-29T00:00:00+03:00",
  "FromTime": "sample string 7",
  "FromTimeT": "00:00:00",
  "ToTime": "sample string 8",
  "ToTimeT": "00:00:00"
}

application/xml, text/xml

Sample:
<FreeTimesForPatientCriteria 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">2024-03-29T00:00:00+03:00</FromDate>
  <FromTime xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">sample string 7</FromTime>
  <ToDate xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">2024-03-29T00:00:00+03:00</ToDate>
  <ToTime xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">sample string 8</ToTime>
  <BranchCode>1</BranchCode>
  <CustNum>4</CustNum>
  <DaysArray xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </DaysArray>
  <OperCode>2</OperCode>
  <SurgCode>3</SurgCode>
</FreeTimesForPatientCriteria>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FreeTimesForPatientCriteria'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {},
  {}
]

application/xml, text/xml

Sample:
<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <anyType />
  <anyType />
</ArrayOfanyType>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.