POST api/TestOnly/GetFreeTimes

Request Information

URI Parameters

None.

Body Parameters

FreeTimesCriteria
NameDescriptionTypeAdditional information
FromDate

date

None.

ToDate

date

None.

FromTime

string

None.

ToTime

string

None.

DiaryNumber

integer

None.

WithLockedManageRem

boolean

None.

Surg1

integer

None.

Tech1

integer

None.

Insur

integer

None.

BranchInDiary

integer

None.

OperCode

integer

None.

Days

Collection of integer

None.

OperByTimetable

boolean

None.

WithPreviousTimes

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "FromDate": "2019-10-15T00:00:00+03:00",
  "ToDate": "2019-10-15T00:00:00+03:00",
  "FromTime": "sample string 3",
  "ToTime": "sample string 4",
  "DiaryNumber": 1,
  "WithLockedManageRem": true,
  "Surg1": 1,
  "Tech1": 1,
  "Insur": 1,
  "BranchInDiary": 1,
  "OperCode": 1,
  "Days": [
    1,
    2
  ],
  "OperByTimetable": true,
  "WithPreviousTimes": true
}

application/xml, text/xml

Sample:
<FreeTimesCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.AssignTimetableManage">
  <BranchInDiary>1</BranchInDiary>
  <Days xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Days>
  <DiaryNumber>1</DiaryNumber>
  <FromDate>2019-10-15T00:00:00+03:00</FromDate>
  <FromTime>sample string 3</FromTime>
  <Insur>1</Insur>
  <OperByTimetable>true</OperByTimetable>
  <OperCode>1</OperCode>
  <Surg1>1</Surg1>
  <Tech1>1</Tech1>
  <ToDate>2019-10-15T00:00:00+03:00</ToDate>
  <ToTime>sample string 4</ToTime>
  <WithLockedManageRem>true</WithLockedManageRem>
  <WithPreviousTimes>true</WithPreviousTimes>
</FreeTimesCriteria>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.