Location
A physical event location
Example Request
curl https://api.planningcenteronline.com/groups/v2/events/{event_id}/location
Example Object
{
"type": "Location",
"id": "1",
"attributes": {
"display_preference": "value",
"full_formatted_address": "string",
"latitude": 1.42,
"longitude": 1.42,
"name": "string",
"radius": "string",
"strategy": "string"
},
"relationships": {}
}
Attributes
| Name | Type | Description |
|---|---|---|
display_preference |
string |
This preference controls how the location is displayed to non-members for public groups and events. Possible values: |
full_formatted_address |
string |
Ex: "1313 Disneyland Dr
Anaheim, CA 92802" (may be approximate or |
id |
primary_key |
|
latitude |
float |
Ex: |
longitude |
float |
Ex: |
name |
string |
Ex: "Disneyland" |
radius |
string |
The number of miles in a location's approximate address.
Will be |
strategy |
string |
The display preference strategy used for the current request, based on user permissions.
Either |
Can Include
| Parameter | Value | Description | Assignable |
|---|---|---|---|
| include | group | include associated group |
Pagination
| Name | Parameter | Type | Description |
|---|---|---|---|
| per_page | per_page | integer | how many records to return per page (min=1, max=100, default=25) |
| offset | offset | integer | get results from given offset |
Endpoints
Listing
| HTTP Method | Endpoint |
|---|---|
| GET | /groups/v2/events/{event_id}/location |
Reading
| HTTP Method | Endpoint |
|---|---|
| GET | /groups/v2/events/{event_id}/location/{id} |
Associations
| HTTP Method | Endpoint | Returns | Details | Filter By |
|---|---|---|---|---|
| GET | https://api.planningcenteronline.com/groups/v2/events/{event_id}/location/{location_id}/group |
Group | group that manages this location |
Belongs To
| HTTP Method | Endpoint | Association | Details | Filter By |
|---|---|---|---|---|
| GET | https://api.planningcenteronline.com/groups/v2/events/{event_id}/location |
Event | physical location of the event |
|
| GET | https://api.planningcenteronline.com/groups/v2/groups/{group_id}/location |
Group | default physical location for this group's events |