POST api/TimeTableManagement/DeleteFreeLines

Request Information

URI Parameters

None.

Body Parameters

DelTimeRools
NameDescriptionTypeAdditional information
FromDate

date

None.

ToDate

date

None.

DiaryNumber

integer

None.

BranchCode

integer

None.

DaysData

Collection of OneDayDel

None.

Request Formats

application/json, text/json

Sample:
{
  "FromDate": "2024-11-21T00:00:00+02:00",
  "ToDate": "2024-11-21T00:00:00+02:00",
  "DiaryNumber": 1,
  "BranchCode": 1,
  "DaysData": [
    {
      "FromTime": "sample string 1",
      "ToTime": "sample string 2",
      "DelTimesType": 0,
      "tFromTime": "00:00:00.1234567",
      "tToTime": "00:00:00.1234567",
      "DayNumber": 1
    },
    {
      "FromTime": "sample string 1",
      "ToTime": "sample string 2",
      "DelTimesType": 0,
      "tFromTime": "00:00:00.1234567",
      "tToTime": "00:00:00.1234567",
      "DayNumber": 1
    }
  ]
}

application/xml, text/xml

Sample:
<DelTimeRools xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiarysManagement">
  <BranchCode>1</BranchCode>
  <DaysData>
    <OneDayDel>
      <DayNumber>1</DayNumber>
      <DelTimesType>NoAction</DelTimesType>
      <FromTime>sample string 1</FromTime>
      <ToTime>sample string 2</ToTime>
      <tFromTime>PT0.1234567S</tFromTime>
      <tToTime>PT0.1234567S</tToTime>
    </OneDayDel>
    <OneDayDel>
      <DayNumber>1</DayNumber>
      <DelTimesType>NoAction</DelTimesType>
      <FromTime>sample string 1</FromTime>
      <ToTime>sample string 2</ToTime>
      <tFromTime>PT0.1234567S</tFromTime>
      <tToTime>PT0.1234567S</tToTime>
    </OneDayDel>
  </DaysData>
  <DiaryNumber>1</DiaryNumber>
  <FromDate>2024-11-21T00:00:00+02:00</FromDate>
  <ToDate>2024-11-21T00:00:00+02:00</ToDate>
</DelTimeRools>

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

application/bson

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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

application/bson

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