Skip to content

List patient category transitions

Request

Retrieve the category transition history for the patient sorted by transitionedAt.

Security
PartnerApiKey and PartnerOAuth
Path
patientIdinteger, (int64)required

Patient ID (AccountPatient id)

accountIdinteger, (int64)required

Account identifier

Query
startDatestring

Only transitions with transitionedAt on or after this time (ISO 8601)

Example:startDate=2025-01-01T00:00:00Z
endDatestring

Only transitions with transitionedAt on or before this time (ISO 8601)

Example:endDate=2025-01-31T00:00:00Z
sortDirstring(?i)ASC|DESC

Sort direction

Default:"DESC"
Enum:"ASC""DESC"
cursorstring, [ 0 .. 2048 ] characters

Pagination cursor from previous response

limitinteger, (int32), [ 1 .. 1000 ]

Number of results per page (max 1000)

Default:20
Example:limit=20
curl -i -X GET \
  'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/patient/{patientId}/category/transition?startDate=2025-01-01T00%3A00%3A00Z&endDate=2025-01-31T00%3A00%3A00Z&sortDir=ASC&cursor=string&limit=20' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Category transitions retrieved successfully

Bodyapplication/json
nextCursorstring

Opaque cursor for fetching the next page. Null if no more results.

transitionsArray of objects(CategoryTransitionDTO)

List of category transitions

Response
{ "nextCursor": "string", "transitions": [ {} ] }