POST api/Admin/Calendars/UndoDelete

Undo deletion of calendar.

Request Information

URI Parameters

None.

Body Parameters

UndoDeleteCalendarRequest

UndoDeleteCalendarRequest
NameDescriptionTypeAdditional information
CalendarId

Calendar Id

integer

None.

ChangedBy

Changed by.

string

Required

Max length: 255

Remarks

If the calendar has been deleted 404 Not found are returned.

Example

None.

Request Formats

application/json, text/json

Sample:
{
  "CalendarId": 1,
  "ChangedBy": "sample string 3"
}

application/xml, text/xml

Sample:
<UndoDeleteCalendarRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.Calendar.Service.DTO">
  <CalendarId>1</CalendarId>
  <ChangedBy>sample string 3</ChangedBy>
</UndoDeleteCalendarRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

204 No Content on success.

None.