PUT api/admin/v1/HolidaysCalendar/{holidayCalendarId}

Update an existing Holiday Calendar

Request Information

URI Parameters

NameDescriptionTypeAdditional information
holidayCalendarId

ID of the Holiday Calendar

integer

Required

Body Parameters

New Holiday Calendar informations

HolidayCalendarEditDto
NameDescriptionTypeAdditional information
Day

Day of the month

integer

None

Month

Month

integer

None

Code

The short code of the element

string

None

Description

The description of the element

string

None

IsActive

True if the element is active, false otherwise

boolean

None

Id

Unique ID

integer

None

Request Formats

application/json, text/json

Sample:
{
  "Day": 1,
  "Month": 2,
  "Code": "sample string 3",
  "Description": "sample string 4",
  "IsActive": true,
  "Id": 6
}

application/xml, text/xml

Sample:
<HolidayCalendarEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <Id>6</Id>
  <Code>sample string 3</Code>
  <Description>sample string 4</Description>
  <IsActive>true</IsActive>
  <Day>1</Day>
  <Month>2</Month>
</HolidayCalendarEditDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

200

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None

Content

HttpContent

None

StatusCode

HttpStatusCode

None

ReasonPhrase

string

None

Headers

Collection of Object

None

RequestMessage

HttpRequestMessage

None

IsSuccessStatusCode

boolean

None