GET api/Calendar/GetCalendarEvents/{afdeling}/{getForAll}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
afdeling

Afdeling

Required

getForAll

boolean

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfListOfEvent
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

SuccessMessage

string

None.

Result

Collection of Event

None.

StatusCode

HttpStatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "SuccessMessage": "sample string 3",
  "Result": [
    {
      "Titel": "sample string 1",
      "StartDate": "2019-10-15T06:25:33.2953383+02:00",
      "EndDate": "2019-10-15T06:25:33.2953383+02:00",
      "StartTime": "sample string 4",
      "EndTime": "sample string 5",
      "Afdeling": 0,
      "Description": "sample string 6",
      "Location": "sample string 7",
      "Status": 0,
      "Year": "sample string 8",
      "Activity": "sample string 9",
      "ShowOnFrontPage": true,
      "RepeatOptions": "sample string 11",
      "RecurringEndDate": "2019-10-15T06:25:33.2953383+02:00",
      "Id": 13,
      "Created": "2019-10-15T06:25:33.2953383+02:00",
      "CreatedBy": "sample string 14",
      "Modified": "2019-10-15T06:25:33.2953383+02:00",
      "ModifiedBy": "sample string 15"
    },
    {
      "Titel": "sample string 1",
      "StartDate": "2019-10-15T06:25:33.2953383+02:00",
      "EndDate": "2019-10-15T06:25:33.2953383+02:00",
      "StartTime": "sample string 4",
      "EndTime": "sample string 5",
      "Afdeling": 0,
      "Description": "sample string 6",
      "Location": "sample string 7",
      "Status": 0,
      "Year": "sample string 8",
      "Activity": "sample string 9",
      "ShowOnFrontPage": true,
      "RepeatOptions": "sample string 11",
      "RecurringEndDate": "2019-10-15T06:25:33.2953383+02:00",
      "Id": 13,
      "Created": "2019-10-15T06:25:33.2953383+02:00",
      "CreatedBy": "sample string 14",
      "Modified": "2019-10-15T06:25:33.2953383+02:00",
      "ModifiedBy": "sample string 15"
    }
  ],
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<ServiceResultOfArrayOfEventYgFqSxnr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>
    <Event>
      <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:25:33.2953383+02:00</Created>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 14</CreatedBy>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">13</Id>
      <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:25:33.2953383+02:00</Modified>
      <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 15</ModifiedBy>
      <Activity>sample string 9</Activity>
      <Afdeling>Håndbold</Afdeling>
      <Description>sample string 6</Description>
      <EndDate>2019-10-15T06:25:33.2953383+02:00</EndDate>
      <EndTime>sample string 5</EndTime>
      <Location>sample string 7</Location>
      <RecurringEndDate>2019-10-15T06:25:33.2953383+02:00</RecurringEndDate>
      <RepeatOptions>sample string 11</RepeatOptions>
      <ShowOnFrontPage>true</ShowOnFrontPage>
      <StartDate>2019-10-15T06:25:33.2953383+02:00</StartDate>
      <StartTime>sample string 4</StartTime>
      <Status>Aktiv</Status>
      <Titel>sample string 1</Titel>
      <Year>sample string 8</Year>
    </Event>
    <Event>
      <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:25:33.2953383+02:00</Created>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 14</CreatedBy>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">13</Id>
      <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T06:25:33.2953383+02:00</Modified>
      <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 15</ModifiedBy>
      <Activity>sample string 9</Activity>
      <Afdeling>Håndbold</Afdeling>
      <Description>sample string 6</Description>
      <EndDate>2019-10-15T06:25:33.2953383+02:00</EndDate>
      <EndTime>sample string 5</EndTime>
      <Location>sample string 7</Location>
      <RecurringEndDate>2019-10-15T06:25:33.2953383+02:00</RecurringEndDate>
      <RepeatOptions>sample string 11</RepeatOptions>
      <ShowOnFrontPage>true</ShowOnFrontPage>
      <StartDate>2019-10-15T06:25:33.2953383+02:00</StartDate>
      <StartTime>sample string 4</StartTime>
      <Status>Aktiv</Status>
      <Titel>sample string 1</Titel>
      <Year>sample string 8</Year>
    </Event>
  </Result>
  <StatusCode>Continue</StatusCode>
  <Success>true</Success>
  <SuccessMessage>sample string 3</SuccessMessage>
</ServiceResultOfArrayOfEventYgFqSxnr>