GET associations({associationId})/events/location

Method to get an all event locations

Request Information

Parameters

NameDescriptionAdditional information
associationId
Association of interest

Define this parameter in the request URI.

Response Information

Event location

Response body formats

application/json, text/json

Sample:
[
  {
    "MapAddress": {
      "Line1": "sample string 1",
      "City": "sample string 2",
      "Region": "sample string 3",
      "PostalCode": "sample string 4"
    },
    "Street": "sample string 1",
    "City": "sample string 2",
    "Region": "sample string 3",
    "PostalCode": "sample string 4",
    "Country": "sample string 5",
    "Longitude": 1.1,
    "Latitude": 1.1,
    "EventId": 1,
    "EventLocation": "sample string 6"
  },
  {
    "MapAddress": {
      "Line1": "sample string 1",
      "City": "sample string 2",
      "Region": "sample string 3",
      "PostalCode": "sample string 4"
    },
    "Street": "sample string 1",
    "City": "sample string 2",
    "Region": "sample string 3",
    "PostalCode": "sample string 4",
    "Country": "sample string 5",
    "Longitude": 1.1,
    "Latitude": 1.1,
    "EventId": 1,
    "EventLocation": "sample string 6"
  },
  {
    "MapAddress": {
      "Line1": "sample string 1",
      "City": "sample string 2",
      "Region": "sample string 3",
      "PostalCode": "sample string 4"
    },
    "Street": "sample string 1",
    "City": "sample string 2",
    "Region": "sample string 3",
    "PostalCode": "sample string 4",
    "Country": "sample string 5",
    "Longitude": 1.1,
    "Latitude": 1.1,
    "EventId": 1,
    "EventLocation": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEventLocationResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <EventLocationResource>
    <City>sample string 2</City>
    <Country>sample string 5</Country>
    <EventId>1</EventId>
    <EventLocation>sample string 6</EventLocation>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <MapAddress>
      <City>sample string 2</City>
      <Line1>sample string 1</Line1>
      <PostalCode>sample string 4</PostalCode>
      <Region>sample string 3</Region>
    </MapAddress>
    <PostalCode>sample string 4</PostalCode>
    <Region>sample string 3</Region>
    <Street>sample string 1</Street>
  </EventLocationResource>
  <EventLocationResource>
    <City>sample string 2</City>
    <Country>sample string 5</Country>
    <EventId>1</EventId>
    <EventLocation>sample string 6</EventLocation>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <MapAddress>
      <City>sample string 2</City>
      <Line1>sample string 1</Line1>
      <PostalCode>sample string 4</PostalCode>
      <Region>sample string 3</Region>
    </MapAddress>
    <PostalCode>sample string 4</PostalCode>
    <Region>sample string 3</Region>
    <Street>sample string 1</Street>
  </EventLocationResource>
  <EventLocationResource>
    <City>sample string 2</City>
    <Country>sample string 5</Country>
    <EventId>1</EventId>
    <EventLocation>sample string 6</EventLocation>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <MapAddress>
      <City>sample string 2</City>
      <Line1>sample string 1</Line1>
      <PostalCode>sample string 4</PostalCode>
      <Region>sample string 3</Region>
    </MapAddress>
    <PostalCode>sample string 4</PostalCode>
    <Region>sample string 3</Region>
    <Street>sample string 1</Street>
  </EventLocationResource>
</ArrayOfEventLocationResource>

text/csv

Sample:
MapAddress,Street,City,Region,PostalCode,Country,Longitude,Latitude,EventId,EventLocation
"MicroNet.WebAPI.Classes.Resources.LocalStreetAddressResource","sample string 1","sample string 2","sample string 3","sample string 4","sample string 5","1.1","1.1","1","sample string 6"
"MicroNet.WebAPI.Classes.Resources.LocalStreetAddressResource","sample string 1","sample string 2","sample string 3","sample string 4","sample string 5","1.1","1.1","1","sample string 6"
"MicroNet.WebAPI.Classes.Resources.LocalStreetAddressResource","sample string 1","sample string 2","sample string 3","sample string 4","sample string 5","1.1","1.1","1","sample string 6"