GET api/config/calendars/{id}/share

List shared calendars

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CalendarConfigShareListItem
NameDescriptionTypeAdditional information
UserCalendarId

integer

None.

CalendarId

integer

None.

CalendarName

string

None.

SharedUser

CalendarConfigUserItem

None.

SharingType

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserCalendarId": 1,
    "CalendarId": 2,
    "CalendarName": "sample string 3",
    "SharedUser": {
      "Id": 1,
      "Name": "sample string 2",
      "Email": "sample string 3",
      "RoleId": 4,
      "RoleDescription": "sample string 5"
    },
    "SharingType": 4
  },
  {
    "UserCalendarId": 1,
    "CalendarId": 2,
    "CalendarName": "sample string 3",
    "SharedUser": {
      "Id": 1,
      "Name": "sample string 2",
      "Email": "sample string 3",
      "RoleId": 4,
      "RoleDescription": "sample string 5"
    },
    "SharingType": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfCalendarModel.CalendarConfigShareListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models">
  <CalendarModel.CalendarConfigShareListItem>
    <CalendarId>2</CalendarId>
    <CalendarName>sample string 3</CalendarName>
    <SharedUser>
      <Email>sample string 3</Email>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <RoleDescription>sample string 5</RoleDescription>
      <RoleId>4</RoleId>
    </SharedUser>
    <SharingType>4</SharingType>
    <UserCalendarId>1</UserCalendarId>
  </CalendarModel.CalendarConfigShareListItem>
  <CalendarModel.CalendarConfigShareListItem>
    <CalendarId>2</CalendarId>
    <CalendarName>sample string 3</CalendarName>
    <SharedUser>
      <Email>sample string 3</Email>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <RoleDescription>sample string 5</RoleDescription>
      <RoleId>4</RoleId>
    </SharedUser>
    <SharingType>4</SharingType>
    <UserCalendarId>1</UserCalendarId>
  </CalendarModel.CalendarConfigShareListItem>
</ArrayOfCalendarModel.CalendarConfigShareListItem>