Campus
A Campus is a location belonging to an Organization.
Example Request
curl https://api.planningcenteronline.com/registrations/v2/campuses
Example Object
{
"type": "Campus",
"id": "1",
"attributes": {
"city": "string",
"country": "string",
"created_at": "2000-01-01T12:00:00Z",
"full_formatted_address": "string",
"name": "string",
"state": "string",
"street": "string",
"updated_at": "2000-01-01T12:00:00Z",
"zip": "string"
},
"relationships": {}
}
Attributes
| Name | Type | Description |
|---|---|---|
city |
string |
City where the campus is located. |
country |
string |
Country where the campus is located. |
created_at |
date_time |
|
full_formatted_address |
string |
|
id |
primary_key |
|
name |
string |
Name of the campus. |
state |
string |
State or province where the campus is located. |
street |
string |
Street address of the campus. |
updated_at |
date_time |
|
zip |
string |
Zip code of the campus. |
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 | /registrations/v2/campuses |
Reading
| HTTP Method | Endpoint |
|---|---|
| GET | /registrations/v2/campuses/{id} |
Belongs To
| HTTP Method | Endpoint | Association | Details | Filter By |
|---|---|---|---|---|
| GET | https://api.planningcenteronline.com/registrations/v2/campuses |
Organization | ||
| GET | https://api.planningcenteronline.com/registrations/v2/signups/{signup_id}/campuses |
Signup |