GET api/UserCalendarEvents/GetAllUserEvents/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of UserCalendarEventDto
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Description

string

None.

StartDate

date

None.

AddressStreet1

string

None.

AddressStreet2

string

None.

AddressCity

string

None.

AddressState

string

None.

AddressZip

string

None.

LatLon

DbGeography

None.

AppointmentNotes

string

None.

IsPrenatalVisit

boolean

None.

BelongsToUserId

globally unique identifier

None.

DidAttendPrenatalVisit

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Title": "sample string 2",
    "Description": "sample string 3",
    "StartDate": "2019-05-26T03:10:24.2324036-04:00",
    "AddressStreet1": "sample string 5",
    "AddressStreet2": "sample string 6",
    "AddressCity": "sample string 7",
    "AddressState": "sample string 8",
    "AddressZip": "sample string 9",
    "LatLon": null,
    "AppointmentNotes": "sample string 10",
    "IsPrenatalVisit": true,
    "BelongsToUserId": "64f9619e-2981-481b-bbba-fa7ed7e86bdc",
    "DidAttendPrenatalVisit": true
  },
  {
    "Id": 1,
    "Title": "sample string 2",
    "Description": "sample string 3",
    "StartDate": "2019-05-26T03:10:24.2324036-04:00",
    "AddressStreet1": "sample string 5",
    "AddressStreet2": "sample string 6",
    "AddressCity": "sample string 7",
    "AddressState": "sample string 8",
    "AddressZip": "sample string 9",
    "LatLon": null,
    "AppointmentNotes": "sample string 10",
    "IsPrenatalVisit": true,
    "BelongsToUserId": "64f9619e-2981-481b-bbba-fa7ed7e86bdc",
    "DidAttendPrenatalVisit": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserCalendarEventDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.DTO">
  <UserCalendarEventDto>
    <AddressCity>sample string 7</AddressCity>
    <AddressState>sample string 8</AddressState>
    <AddressStreet1>sample string 5</AddressStreet1>
    <AddressStreet2>sample string 6</AddressStreet2>
    <AddressZip>sample string 9</AddressZip>
    <AppointmentNotes>sample string 10</AppointmentNotes>
    <BelongsToUserId>64f9619e-2981-481b-bbba-fa7ed7e86bdc</BelongsToUserId>
    <Description>sample string 3</Description>
    <DidAttendPrenatalVisit>true</DidAttendPrenatalVisit>
    <Id>1</Id>
    <IsPrenatalVisit>true</IsPrenatalVisit>
    <LatLon xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Data.Entity.Spatial" i:nil="true" />
    <StartDate>2019-05-26T03:10:24.2324036-04:00</StartDate>
    <Title>sample string 2</Title>
  </UserCalendarEventDto>
  <UserCalendarEventDto>
    <AddressCity>sample string 7</AddressCity>
    <AddressState>sample string 8</AddressState>
    <AddressStreet1>sample string 5</AddressStreet1>
    <AddressStreet2>sample string 6</AddressStreet2>
    <AddressZip>sample string 9</AddressZip>
    <AppointmentNotes>sample string 10</AppointmentNotes>
    <BelongsToUserId>64f9619e-2981-481b-bbba-fa7ed7e86bdc</BelongsToUserId>
    <Description>sample string 3</Description>
    <DidAttendPrenatalVisit>true</DidAttendPrenatalVisit>
    <Id>1</Id>
    <IsPrenatalVisit>true</IsPrenatalVisit>
    <LatLon xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Data.Entity.Spatial" i:nil="true" />
    <StartDate>2019-05-26T03:10:24.2324036-04:00</StartDate>
    <Title>sample string 2</Title>
  </UserCalendarEventDto>
</ArrayOfUserCalendarEventDto>