Skip to navigation

Get offices

View as Markdown

This method returns a list of offices associated with an account.

Authentication

Authorizationstring

JWT Authorization header using the Bearer scheme. Example: “Authorization: Bearer {token}”

Path parameters

accountIdstringRequired

The globally unique identifier (GUID) for the account.

Query parameters

countintegerOptionalDefaults to 100

The number of results to return. This value must be a number between 1 and 100 (default).

startPositionintegerOptionalDefaults to 0

The starting zero-based index position of the results set from which to begin returning values. The default value is 0.

onlyAccessiblebooleanOptionalDefaults to false

When true, the response only includes the offices that are accessible to the current user.

searchstringOptional

Filters returned records by the specified string. The response only includes records containing this string in the office name field.

Response

Offices successfully retrieved.
officeSummarieslist of objectsOptional

A list of OfficeSummary objects containing summary information about an office.

resultSetSizeintegerOptional
The number of results returned in this response.
startPositionintegerOptional
The index position within the total result set from which returned values start.
endPositionintegerOptionalRead-only
The index position within the total result set at which returned values end.
nextUristringOptional

The URI for the next chunk of records based on the search request. This property is null for the last set of search results.

priorUristringOptional

The URI for the previous chunk of records based on the search request. This property is null for the first set of search results.

totalRowCountintegerOptional
The number of results in this reponse.

Errors

400
Bad Request Error
401
Unauthorized Error