GET api/CalendarEvents/GetByLanguageZipAndDistance/{id}/{zip}/{maxDistanceMiles}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

zip

string

Required

maxDistanceMiles

string

Default value is 25

Body Parameters

None.

Response Information

Resource Description

Collection of CalendarEventDto
NameDescriptionTypeAdditional information
Id

integer

None.

LanguageId

integer

None.

Title

string

None.

Description

string

None.

StartDate

date

None.

EndDate

date

None.

AddressStreet1

string

None.

AddressStreet2

string

None.

AddressCity

string

None.

AddressState

string

None.

AddressZip

string

None.

LatLon

DbGeography

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Categories

Collection of CalendarEventCategoryDto

None.

Keywords

Collection of string

None.

Stages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "Id": 1,
    "LanguageId": 2,
    "Title": "sample string 3",
    "Description": "sample string 4",
    "StartDate": "2019-10-21T08:52:58.6669007-04:00",
    "EndDate": "2019-10-21T08:52:58.6669007-04:00",
    "AddressStreet1": "sample string 6",
    "AddressStreet2": "sample string 7",
    "AddressCity": "sample string 8",
    "AddressState": "sample string 9",
    "AddressZip": "sample string 10",
    "LatLon": null,
    "Latitude": null,
    "Longitude": null,
    "Categories": null,
    "Keywords": null,
    "Stages": null
  }
]

application/xml, text/xml

Sample:
<ArrayOfCalendarEventDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.DTO">
  <CalendarEventDto i:nil="true" />
  <CalendarEventDto>
    <AddressCity>sample string 8</AddressCity>
    <AddressState>sample string 9</AddressState>
    <AddressStreet1>sample string 6</AddressStreet1>
    <AddressStreet2>sample string 7</AddressStreet2>
    <AddressZip>sample string 10</AddressZip>
    <Categories i:nil="true" />
    <Description>sample string 4</Description>
    <EndDate>2019-10-21T08:52:58.6669007-04:00</EndDate>
    <Id>1</Id>
    <Keywords xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <LanguageId>2</LanguageId>
    <LatLon xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Data.Entity.Spatial" i:nil="true" />
    <Latitude i:nil="true" />
    <Longitude i:nil="true" />
    <Stages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <StartDate>2019-10-21T08:52:58.6669007-04:00</StartDate>
    <Title>sample string 3</Title>
  </CalendarEventDto>
</ArrayOfCalendarEventDto>