DELETE api/admin/enterprise/DeleteTimeScheduleEvents

Request Information

URI Parameters

None.

Body Parameters

Collection of ScheduleEventDTO
NameDescriptionTypeAdditional information
ScheduleName

string

None.

ScheduleType

ScheduleTypeDTO

None.

EventName

string

None.

NewEventName

string

None.

StartDate

date

None.

EndDate

date

None.

AllDayEvent

boolean

None.

StartTime

HourMinuteDTO

None.

EndTime

HourMinuteDTO

None.

RecurrenceType

RecurrenceTypeDTO

None.

RecurEndType

RecurEndTypeDTO

None.

RecurEndDate

date

None.

RecurEndOccurrence

integer

None.

RecurForEver

boolean

None.

DailyRecurrence

DailyRecurrenceDTO

None.

WeeklyRecurrence

WeeklyRecurrenceDTO

None.

MonthlyByDayRecurrence

MonthlyByDayRecurrenceDTO

None.

MonthlyByWeekRecurrence

MonthlyByWeekRecurrenceDTO

None.

YearlyByDayRecurrence

YearlyByDayRecurrenceDTO

None.

YearlyByWeekRecurrence

YearlyByWeekRecurrenceDTO

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ScheduleName": "sample string 1",
    "ScheduleType": 0,
    "EventName": "sample string 2",
    "NewEventName": "sample string 3",
    "StartDate": "2024-11-21T04:42:56.4284195-05:00",
    "EndDate": "2024-11-21T04:42:56.4284195-05:00",
    "AllDayEvent": true,
    "StartTime": {
      "Hour": 1,
      "Minute": 2
    },
    "EndTime": {
      "Hour": 1,
      "Minute": 2
    },
    "RecurrenceType": 0,
    "RecurEndType": 0,
    "RecurEndDate": "2024-11-21T04:42:56.42942-05:00",
    "RecurEndOccurrence": 7,
    "RecurForEver": true,
    "DailyRecurrence": {
      "Interval": 1
    },
    "WeeklyRecurrence": {
      "Sunday": true,
      "Monday": true,
      "Tuesday": true,
      "Wednesday": true,
      "Thursday": true,
      "Friday": true,
      "Saturday": true,
      "Interval": 8
    },
    "MonthlyByDayRecurrence": {
      "DayOfMonth": 1,
      "Interval": 2
    },
    "MonthlyByWeekRecurrence": {
      "DayOfWeekInMonth": 1,
      "DayOfWeek": 2,
      "Interval": 3
    },
    "YearlyByDayRecurrence": {
      "DayOfMonth": 1,
      "Month": 2,
      "Interval": 3
    },
    "YearlyByWeekRecurrence": {
      "DayOfWeekInMonth": 1,
      "DayOfWeek": 2,
      "Month": 3,
      "Interval": 4
    }
  },
  {
    "ScheduleName": "sample string 1",
    "ScheduleType": 0,
    "EventName": "sample string 2",
    "NewEventName": "sample string 3",
    "StartDate": "2024-11-21T04:42:56.4284195-05:00",
    "EndDate": "2024-11-21T04:42:56.4284195-05:00",
    "AllDayEvent": true,
    "StartTime": {
      "Hour": 1,
      "Minute": 2
    },
    "EndTime": {
      "Hour": 1,
      "Minute": 2
    },
    "RecurrenceType": 0,
    "RecurEndType": 0,
    "RecurEndDate": "2024-11-21T04:42:56.42942-05:00",
    "RecurEndOccurrence": 7,
    "RecurForEver": true,
    "DailyRecurrence": {
      "Interval": 1
    },
    "WeeklyRecurrence": {
      "Sunday": true,
      "Monday": true,
      "Tuesday": true,
      "Wednesday": true,
      "Thursday": true,
      "Friday": true,
      "Saturday": true,
      "Interval": 8
    },
    "MonthlyByDayRecurrence": {
      "DayOfMonth": 1,
      "Interval": 2
    },
    "MonthlyByWeekRecurrence": {
      "DayOfWeekInMonth": 1,
      "DayOfWeek": 2,
      "Interval": 3
    },
    "YearlyByDayRecurrence": {
      "DayOfMonth": 1,
      "Month": 2,
      "Interval": 3
    },
    "YearlyByWeekRecurrence": {
      "DayOfWeekInMonth": 1,
      "DayOfWeek": 2,
      "Month": 3,
      "Interval": 4
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfScheduleEventDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.Enterprise">
  <ScheduleEventDTO>
    <AllDayEvent>true</AllDayEvent>
    <DailyRecurrence>
      <Interval>1</Interval>
    </DailyRecurrence>
    <EndDate>2024-11-21T04:42:56.4284195-05:00</EndDate>
    <EndTime>
      <Hour>1</Hour>
      <Minute>2</Minute>
    </EndTime>
    <EventName>sample string 2</EventName>
    <MonthlyByDayRecurrence>
      <Interval>2</Interval>
      <DayOfMonth>1</DayOfMonth>
    </MonthlyByDayRecurrence>
    <MonthlyByWeekRecurrence>
      <Interval>3</Interval>
      <DayOfWeek>2</DayOfWeek>
      <DayOfWeekInMonth>1</DayOfWeekInMonth>
    </MonthlyByWeekRecurrence>
    <NewEventName>sample string 3</NewEventName>
    <RecurEndDate>2024-11-21T04:42:56.42942-05:00</RecurEndDate>
    <RecurEndOccurrence>7</RecurEndOccurrence>
    <RecurEndType>Ever</RecurEndType>
    <RecurForEver>true</RecurForEver>
    <RecurrenceType>Never</RecurrenceType>
    <ScheduleName>sample string 1</ScheduleName>
    <ScheduleType>Holiday</ScheduleType>
    <StartDate>2024-11-21T04:42:56.4284195-05:00</StartDate>
    <StartTime>
      <Hour>1</Hour>
      <Minute>2</Minute>
    </StartTime>
    <WeeklyRecurrence>
      <Interval>8</Interval>
      <Friday>true</Friday>
      <Monday>true</Monday>
      <Saturday>true</Saturday>
      <Sunday>true</Sunday>
      <Thursday>true</Thursday>
      <Tuesday>true</Tuesday>
      <Wednesday>true</Wednesday>
    </WeeklyRecurrence>
    <YearlyByDayRecurrence>
      <Interval>3</Interval>
      <DayOfMonth>1</DayOfMonth>
      <Month>2</Month>
    </YearlyByDayRecurrence>
    <YearlyByWeekRecurrence>
      <Interval>4</Interval>
      <DayOfWeek>2</DayOfWeek>
      <DayOfWeekInMonth>1</DayOfWeekInMonth>
      <Month>3</Month>
    </YearlyByWeekRecurrence>
  </ScheduleEventDTO>
  <ScheduleEventDTO>
    <AllDayEvent>true</AllDayEvent>
    <DailyRecurrence>
      <Interval>1</Interval>
    </DailyRecurrence>
    <EndDate>2024-11-21T04:42:56.4284195-05:00</EndDate>
    <EndTime>
      <Hour>1</Hour>
      <Minute>2</Minute>
    </EndTime>
    <EventName>sample string 2</EventName>
    <MonthlyByDayRecurrence>
      <Interval>2</Interval>
      <DayOfMonth>1</DayOfMonth>
    </MonthlyByDayRecurrence>
    <MonthlyByWeekRecurrence>
      <Interval>3</Interval>
      <DayOfWeek>2</DayOfWeek>
      <DayOfWeekInMonth>1</DayOfWeekInMonth>
    </MonthlyByWeekRecurrence>
    <NewEventName>sample string 3</NewEventName>
    <RecurEndDate>2024-11-21T04:42:56.42942-05:00</RecurEndDate>
    <RecurEndOccurrence>7</RecurEndOccurrence>
    <RecurEndType>Ever</RecurEndType>
    <RecurForEver>true</RecurForEver>
    <RecurrenceType>Never</RecurrenceType>
    <ScheduleName>sample string 1</ScheduleName>
    <ScheduleType>Holiday</ScheduleType>
    <StartDate>2024-11-21T04:42:56.4284195-05:00</StartDate>
    <StartTime>
      <Hour>1</Hour>
      <Minute>2</Minute>
    </StartTime>
    <WeeklyRecurrence>
      <Interval>8</Interval>
      <Friday>true</Friday>
      <Monday>true</Monday>
      <Saturday>true</Saturday>
      <Sunday>true</Sunday>
      <Thursday>true</Thursday>
      <Tuesday>true</Tuesday>
      <Wednesday>true</Wednesday>
    </WeeklyRecurrence>
    <YearlyByDayRecurrence>
      <Interval>3</Interval>
      <DayOfMonth>1</DayOfMonth>
      <Month>2</Month>
    </YearlyByDayRecurrence>
    <YearlyByWeekRecurrence>
      <Interval>4</Interval>
      <DayOfWeek>2</DayOfWeek>
      <DayOfWeekInMonth>1</DayOfWeekInMonth>
      <Month>3</Month>
    </YearlyByWeekRecurrence>
  </ScheduleEventDTO>
</ArrayOfScheduleEventDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.