Groups

Sets of members or resources.

10 endpoints · base URL https://api.aerscheduler.com

get/groups/orgUser

List member groups

Every member group in your organization.

Query parameters

limitintegerRows to return, 1,1000. Defaults to 1000; a larger value is clamped rather than rejected.
offsetintegerRows to skip, for paging. Defaults to 0.
sortstringField to order by before paging, as a dot path into the row , total, user.firstName. Omit to keep the endpoint's own order. Numbers and ISO timestamps order as numbers and instants, not as text, and empty values always sort last regardless of direction. Ordering happens before the page is cut, so it orders the whole collection rather than the page you are holding.
order"asc" | "desc"asc (default) or desc. Only meaningful with sort.

Responses

200OKThe member groups.{ data: Group[] }
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl https://api.aerscheduler.com/groups/orgUser \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"
post/groups/orgUser

Create a member group

Adds a member group to your organization. Requires the admin role.

Request body

The group. The addNew* flags auto-enroll future members holding that role.

namerequiredstring
descriptionstring
orgUserIdsinteger[]
addNewUsersboolean
addNewStudentsboolean
addNewInstructorsboolean
addNewRentersboolean

Responses

201CreatedThe member group that was created.{ data: Group }
400Bad RequestThe body failed validation. message says which field.
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl -X POST https://api.aerscheduler.com/groups/orgUser \
  -H "Authorization: Bearer $AERSCHEDULER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"…"}'
get/groups/resource

List resource groups

Every resource group in your organization.

Query parameters

limitintegerRows to return, 1,1000. Defaults to 1000; a larger value is clamped rather than rejected.
offsetintegerRows to skip, for paging. Defaults to 0.
sortstringField to order by before paging, as a dot path into the row , total, user.firstName. Omit to keep the endpoint's own order. Numbers and ISO timestamps order as numbers and instants, not as text, and empty values always sort last regardless of direction. Ordering happens before the page is cut, so it orders the whole collection rather than the page you are holding.
order"asc" | "desc"asc (default) or desc. Only meaningful with sort.

Responses

200OKThe resource groups.{ data: Group[] }
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl https://api.aerscheduler.com/groups/resource \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"
post/groups/resource

Create a resource group

Adds a resource group to your organization. Requires the admin role.

Request body

The group.

namerequiredstring
descriptionstring
resourceIdsinteger[]

Responses

201CreatedThe resource group that was created.{ data: Group }
400Bad RequestThe body failed validation. message says which field.
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl -X POST https://api.aerscheduler.com/groups/resource \
  -H "Authorization: Bearer $AERSCHEDULER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"…"}'
get/groups/orgUser/{orgUserGroupId}

Get a member group

Fetches one member group by id.

Path parameters

orgUserGroupIdrequiredintegerThe member group id.

Responses

200OKSuccess.{ data: Group }
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
404Not FoundNo such member group, or it belongs to another organization.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl https://api.aerscheduler.com/groups/orgUser/:orgUserGroupId \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"
patch/groups/orgUser/{orgUserGroupId}

Update a member group

Changes the fields you send and leaves the rest alone. Requires the admin role.

Path parameters

orgUserGroupIdrequiredintegerThe member group id.

Request body

Fields to change.

namestring
descriptionstring
orgUserIdsinteger[]

Responses

200OKThe updated member group.{ data: Group }
400Bad RequestThe body failed validation.
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl -X PATCH https://api.aerscheduler.com/groups/orgUser/:orgUserGroupId \
  -H "Authorization: Bearer $AERSCHEDULER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"…","description":"…"}'
delete/groups/orgUser/{orgUserGroupId}

Delete a member group

Removes the member group. Requires the admin role.

Path parameters

orgUserGroupIdrequiredintegerThe member group id.

Responses

204No ContentSuccess. No body.
400Bad RequestThe member group could not be deleted , usually because something still references it.
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl -X DELETE https://api.aerscheduler.com/groups/orgUser/:orgUserGroupId \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"
get/groups/resource/{resourceGroupId}

Get a resource group

Fetches one resource group by id.

Path parameters

resourceGroupIdrequiredintegerThe resource group id.

Responses

200OKSuccess.{ data: Group }
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
404Not FoundNo such resource group, or it belongs to another organization.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl https://api.aerscheduler.com/groups/resource/:resourceGroupId \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"
patch/groups/resource/{resourceGroupId}

Update a resource group

Changes the fields you send and leaves the rest alone. Requires the admin role.

Path parameters

resourceGroupIdrequiredintegerThe resource group id.

Request body

Fields to change.

namestring
resourceIdsinteger[]

Responses

200OKThe updated resource group.{ data: Group }
400Bad RequestThe body failed validation.
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl -X PATCH https://api.aerscheduler.com/groups/resource/:resourceGroupId \
  -H "Authorization: Bearer $AERSCHEDULER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"…","resourceIds":[]}'
delete/groups/resource/{resourceGroupId}

Delete a resource group

Removes the resource group. Requires the admin role.

Path parameters

resourceGroupIdrequiredintegerThe resource group id.

Responses

204No ContentSuccess. No body.
400Bad RequestThe resource group could not be deleted , usually because something still references it.
401UnauthorizedNo token, an expired token, or a malformed one. Sign in again.
403ForbiddenAuthenticated, but not allowed to do this.
429Too Many RequestsRate limited. Retry-After says how long to wait.
Example request
curl -X DELETE https://api.aerscheduler.com/groups/resource/:resourceGroupId \
  -H "Authorization: Bearer $AERSCHEDULER_KEY"