Get person serving

Retrieve the person's serving assignments on service plans, including each assignment's plan, team group, position, response status and serving times.

Required permission: Limited Read People

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the person.

Query Params
date-time

Return assignments with a serving time on or after this date.

date-time

Return assignments with a serving time on or before this date.

string

Comma-delimited list of campus ids. Matches the service plan's campus; use -1 to include assignments on plans without a campus. Values come from /api/locations.

string

Return assignments where the serving team's group name contains the given text.

string

Return assignments where the position name contains the given text.

string

Comma-delimited list of response status ids: 0 = Not Contacted, 1 = Accepted, 2 = Declined, 3 = Pending.

boolean

When true, return only assignments whose serving times are all in the past; when false, only assignments with an upcoming serving time.

int32
≥ 0

The number of records to skip before returning results, used for paging.

int32
≥ 0

The maximum number of records to return per page. Defaults to 50.

string

The field to sort the results by. The default field depends on the endpoint.

string
enum

The sort direction: "asc" or "desc".

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json