POST api/vacation/reserved/update

Request Information

URI Parameters

None.

Body Parameters

changeGORqst
NameDescriptionTypeAdditional information
dates

Collection of date_from_to

None.

id

integer

None.

table

integer

None.

comment

string

None.

autoreply_check_box

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "dates": [
    {
      "date_from": "2025-05-22T17:43:42.0494422+02:00",
      "date_to": "2025-05-22T17:43:42.0494422+02:00"
    },
    {
      "date_from": "2025-05-22T17:43:42.0494422+02:00",
      "date_to": "2025-05-22T17:43:42.0494422+02:00"
    }
  ],
  "id": 1,
  "table": 1,
  "comment": "sample string 1",
  "autoreply_check_box": true
}

application/xml, text/xml

Sample:
<changeGORqst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <autoreply_check_box>true</autoreply_check_box>
  <comment>sample string 1</comment>
  <dates>
    <date_from_to>
      <date_from>2025-05-22T17:43:42.0494422+02:00</date_from>
      <date_to>2025-05-22T17:43:42.0494422+02:00</date_to>
    </date_from_to>
    <date_from_to>
      <date_from>2025-05-22T17:43:42.0494422+02:00</date_from>
      <date_to>2025-05-22T17:43:42.0494422+02:00</date_to>
    </date_from_to>
  </dates>
  <id>1</id>
  <table>1</table>
</changeGORqst>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.