GET api/UserCalendarEvents/Search/{languageId}?zip={zip}&latitude={latitude}&longitude={longitude}&onlyMedicaid={onlyMedicaid}&searchterms={searchterms}&maxDistanceMiles={maxDistanceMiles}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
languageId

integer

Required

zip

string

Default value is

latitude

string

Default value is

longitude

string

Default value is

onlyMedicaid

string

Default value is

searchterms

string

Default value is

maxDistanceMiles

string

Default value is 50

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-10-21T08:29:54.3946123-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": "7d14083d-19f6-4888-a939-a859b139bfbe",
    "DidAttendPrenatalVisit": true
  },
  {
    "Id": 1,
    "Title": "sample string 2",
    "Description": "sample string 3",
    "StartDate": "2019-10-21T08:29:54.3946123-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": "7d14083d-19f6-4888-a939-a859b139bfbe",
    "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>7d14083d-19f6-4888-a939-a859b139bfbe</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-10-21T08:29:54.3946123-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>7d14083d-19f6-4888-a939-a859b139bfbe</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-10-21T08:29:54.3946123-04:00</StartDate>
    <Title>sample string 2</Title>
  </UserCalendarEventDto>
</ArrayOfUserCalendarEventDto>