GET calendar/get-calendar-days

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CalendarDayDto
NameDescriptionTypeAdditional information
Id

integer

None.

DayNumber

integer

None.

DayItems

Collection of CalendarDayItemDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "DayNumber": 2,
    "DayItems": [
      {
        "Id": 1,
        "Title": "sample string 2",
        "Description": "sample string 3",
        "ImageUrl": "sample string 4"
      },
      {
        "Id": 1,
        "Title": "sample string 2",
        "Description": "sample string 3",
        "ImageUrl": "sample string 4"
      }
    ]
  },
  {
    "Id": 1,
    "DayNumber": 2,
    "DayItems": [
      {
        "Id": 1,
        "Title": "sample string 2",
        "Description": "sample string 3",
        "ImageUrl": "sample string 4"
      },
      {
        "Id": 1,
        "Title": "sample string 2",
        "Description": "sample string 3",
        "ImageUrl": "sample string 4"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCalendarDayDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DrAhmedElMasryApi.Dto">
  <CalendarDayDto>
    <DayItems>
      <CalendarDayItemDto>
        <Description>sample string 3</Description>
        <Id>1</Id>
        <ImageUrl>sample string 4</ImageUrl>
        <Title>sample string 2</Title>
      </CalendarDayItemDto>
      <CalendarDayItemDto>
        <Description>sample string 3</Description>
        <Id>1</Id>
        <ImageUrl>sample string 4</ImageUrl>
        <Title>sample string 2</Title>
      </CalendarDayItemDto>
    </DayItems>
    <DayNumber>2</DayNumber>
    <Id>1</Id>
  </CalendarDayDto>
  <CalendarDayDto>
    <DayItems>
      <CalendarDayItemDto>
        <Description>sample string 3</Description>
        <Id>1</Id>
        <ImageUrl>sample string 4</ImageUrl>
        <Title>sample string 2</Title>
      </CalendarDayItemDto>
      <CalendarDayItemDto>
        <Description>sample string 3</Description>
        <Id>1</Id>
        <ImageUrl>sample string 4</ImageUrl>
        <Title>sample string 2</Title>
      </CalendarDayItemDto>
    </DayItems>
    <DayNumber>2</DayNumber>
    <Id>1</Id>
  </CalendarDayDto>
</ArrayOfCalendarDayDto>