PUT api/Holidays/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Holiday
NameDescriptionTypeAdditional information
ID

integer

None.

DESCRIPTION

string

None.

DATE

date

None.

DIV_ID

integer

None.

OLD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "DESCRIPTION": "sample string 2",
  "DATE": "2025-08-28T10:09:12.398966+00:00",
  "DIV_ID": 4,
  "OLD": 1
}

application/octet-stream

Sample:
{"ID":1,"DESCRIPTION":"sample string 2","DATE":"2025-08-28T10:09:12.398966+00:00","DIV_ID":4,"OLD":1}

application/xml, text/xml

Sample:
<Holiday xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <DESCRIPTION>sample string 2</DESCRIPTION>
  <DATE>2025-08-28T10:09:12.398966+00:00</DATE>
  <DIV_ID>4</DIV_ID>
  <OLD>1</OLD>
</Holiday>

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

Response Information

Resource Description

None.