When retrieving groups, the following fields will be returned by default.
Name | Type | Description | Returned Values |
---|---|---|---|
id | string | The ID of the group. | |
date_added | datetime | The date the group was added. | Date is returned in UTC time. |
date_modified | datetime | The date the group was last modified. | Date is returned in UTC time. |
name | string | The name of the group. | |
status | string | The status of the group. | |
meeting_address | string | The group's meeting address. | |
meeting_city | string | The group's meeting city. | |
meeting_state | string | The group's meeting state. | |
meeting_postcode | string | The group's meeting postal or zip code. | |
meeting_country | string | The group's meeting country. |
When retrieving, creating or editing groups, there are optional fields you can use. If creating or editing a group, none of these fields are required.
Name | Type | Description | Accepted Values |
---|---|---|---|
people | array | Can only be used when retrieving a group. Retrieves list of people in a group and indicates their position. | |
categories | string|array | The categories this group is assigned to. | More details |
categories_replace | string|array | Replace current categories with new categories. | More details |
categories_remove | string|array | Remove categories from person. | More details |
departments | string|array | The departments this group is assigned to. | More details |
departments_replace | string|array | Replace current departments with new departments. | More details |
departments_remove | string|array | Remove departments from person. | More details |
demographics | string|array | The demographics this group is assigned to. | More details |
demographics_replace | string|array | Replace current demographics with new demographics. | More details |
demographics_remove | string|array | Remove demographics from person. | More details |
locations | string|array | The locations this group is assigned to. | More details |
locations_replace | string|array | Replace current locations with new locations. | More details |
locations_remove | string|array | Remove locations from person. | More details |
Use the categories
field to add Categories to a group.
{
"id": "xxxx",
"fields": {
"categories": [
"Small Groups",
"Ministries"
]
}
}
id=xxxx&fields%5Bcategories%5D%5B0%5D=Small+Groups&fields%5Bcategories%5D%5B1%5D=Ministries
If you would like to replace a group's Categories, simply use the categories_replace
field instead. This will remove the group's current Categories and replace with the ones you specify.
{
"id": "xxxx",
"fields": {
"categories_replace": [
"Small Groups",
"Ministries"
]
}
}
id=xxxx&fields%5Bcategories_replace%5D%5B0%5D=Small+Groups&fields%5Bcategories_replace%5D%5B1%5D=Ministries
To remove specific Categories from a group, use the categories_remove
field.
{
"id": "xxxx",
"fields": {
"categories_remove": [
"Small Groups",
"Ministries"
]
}
}
id=xxxx&fields%5Bcategories_remove%5D%5B0%5D=Small+Groups&fields%5Bcategories_remove%5D%5B1%5D=Ministries
Use the departments
field to add Departments to a group.
Departments have two levels: Department & Sub-departments. To add a department, you must separate each level with ||.
E.g: Worship Team||Band (or Worship+Team%7C%7CBand when url-encoded)
{
"id": "xxxx",
"fields": {
"departments": [
"Worship Team||Band",
"Worship Team||Vocals"
]
}
}
id=xxxx&fields%5Bdepartments%5D%5B0%5D=Worship+Team%7C%7CBand&fields%5Bdepartments%5D%5B1%5D=Worship+Team%7C%7CVocals
If you would like to replace a group's Departments, simply use the departments_replace
field instead. This will remove the group's current Departments and replace with the ones you specify.
{
"id": "xxxx",
"fields": {
"departments_replace": [
"Worship Team||Band",
"Worship Team||Vocals"
]
}
}
id=xxxx&fields%5Bdepartments_replace%5D%5B0%5D=Worship+Team%7C%7CBand&fields%5Bdepartments_replace%5D%5B1%5D=Worship+Team%7C%7CVocals
To remove specific Departments from a group, use the departments_remove
field.
{
"id": "xxxx",
"fields": {
"departments_remove": [
"Worship Team||Band",
"Worship Team||Vocals"
]
}
}
id=xxxx&fields%5Bdepartments_remove%5D%5B0%5D=Worship+Team%7C%7CBand&fields%5Bdepartments_remove%5D%5B1%5D=Worship+Team%7C%7CVocals
Use the demographics
field to add Demographics to a group.
{
"id": "xxxx",
"fields": {
"demographics": [
"Adults",
"Seniors"
]
}
}
id=xxxx&fields%5Bdemographics%5D%5B0%5D=Adults&fields%5Bdemographics%5D%5B1%5D=Seniors
If you would like to replace a group's Demographics, simply use the demographics_replace
field instead. This will remove the group's current Demographics and replace with the ones you specify.
{
"id": "xxxx",
"fields": {
"demographics_replace": [
"Adults",
"Seniors"
]
}
}
id=xxxx&fields%5Bdemographics_replace%5D%5B0%5D=Adults&fields%5Bdemographics_replace%5D%5B1%5D=Seniors
To remove specific Demographics from a group, use the demographics_remove
field.
{
"id": "xxxx",
"fields": {
"demographics_remove": [
"Adults",
"Seniors"
]
}
}
id=xxxx&fields%5Bdemographics_remove%5D%5B0%5D=Adults&fields%5Bdemographics_remove%5D%5B1%5D=Seniors
Use the locations
field to add Locations to a group.
{
"id": "xxxx",
"fields": {
"locations": [
"North",
"Central"
]
}
}
id=xxxx&fields%5Blocations%5D%5B0%5D=North&fields%5Blocations%5D%5B1%5D=Central
If you would like to replace a group's Locations, simply use the locations_replace
field instead. This will remove the group's current Locations and replace with the ones you specify.
{
"id": "xxxx",
"fields": {
"locations_replace": [
"North",
"Central"
]
}
}
id=xxxx&fields%5Blocations_replace%5D%5B0%5D=North&fields%5Blocations_replace%5D%5B1%5D=Central
To remove specific Locations from a group, use the locations_remove
field.