POST api/TimeTableManagement/ChangingInetTimeTable

Request Information

URI Parameters

None.

Body Parameters

SetInetCriteria
NameDescriptionTypeAdditional information
DiaryNum

integer

None.

AddInet

boolean

None.

Days

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:
{
  "DiaryNum": 1,
  "AddInet": true,
  "Days": [
    1,
    2
  ],
  "FromDate": "2024-11-21T00:00:00+02:00",
  "ToDate": "2024-11-21T00:00:00+02:00",
  "FromTime": "sample string 5",
  "FromTimeT": "00:00:00",
  "ToTime": "sample string 6",
  "ToTimeT": "00:00:00"
}

application/xml, text/xml

Sample:
<SetInetCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiarysManagement">
  <FromDate xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">2024-11-21T00:00:00+02:00</FromDate>
  <FromTime xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">sample string 5</FromTime>
  <ToDate xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">2024-11-21T00:00:00+02:00</ToDate>
  <ToTime xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Reports">sample string 6</ToTime>
  <AddInet>true</AddInet>
  <Days xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Days>
  <DiaryNum>1</DiaryNum>
</SetInetCriteria>

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 'SetInetCriteria'.

application/bson

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>

application/bson

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