GET api/Frontend/GetCalendarEvent/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfEventDTO
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

SuccessMessage

string

None.

Result

EventDTO

None.

StatusCode

HttpStatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "SuccessMessage": "sample string 3",
  "Result": {
    "Id": 1,
    "Afdeling": 0,
    "Title": "sample string 2",
    "Year": "sample string 3",
    "Activity": "sample string 4",
    "Description": "sample string 5",
    "Location": "sample string 6",
    "StartDate": "2019-10-15T06:17:28.2607606+02:00",
    "EndDate": "2019-10-15T06:17:28.2607606+02:00",
    "StartTime": "sample string 9",
    "EndTime": "sample string 10",
    "Status": 0,
    "RepeatOption": "sample string 11",
    "RecurringEndDate": "2019-10-15T06:17:28.2607606+02:00"
  },
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<ServiceResultOfEventDTOw3aXqA2W xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Model.DTOClasses.Frontend">
    <d2p1:Activity>sample string 4</d2p1:Activity>
    <d2p1:Afdeling>Håndbold</d2p1:Afdeling>
    <d2p1:Description>sample string 5</d2p1:Description>
    <d2p1:EndDate>2019-10-15T06:17:28.2607606+02:00</d2p1:EndDate>
    <d2p1:EndTime>sample string 10</d2p1:EndTime>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Location>sample string 6</d2p1:Location>
    <d2p1:RecurringEndDate>2019-10-15T06:17:28.2607606+02:00</d2p1:RecurringEndDate>
    <d2p1:RepeatOption>sample string 11</d2p1:RepeatOption>
    <d2p1:StartDate>2019-10-15T06:17:28.2607606+02:00</d2p1:StartDate>
    <d2p1:StartTime>sample string 9</d2p1:StartTime>
    <d2p1:Status>Aktiv</d2p1:Status>
    <d2p1:Title>sample string 2</d2p1:Title>
    <d2p1:Year>sample string 3</d2p1:Year>
  </Result>
  <StatusCode>Continue</StatusCode>
  <Success>true</Success>
  <SuccessMessage>sample string 3</SuccessMessage>
</ServiceResultOfEventDTOw3aXqA2W>