/
OMS Officer Status API

OMS Officer Status API


Officer Status API

URL

https://base.url.org/api/oms/ext/officer-status?territory=ZZZ


Parameters

Parameter Name

Required

Description

Default

territoryRequiredThe territory value “ZZZ” is the three-character territory abbreviation (ie, USE = USA Eastern Territory)

includeRetired 

optional

"true" to include retired personnel in the results, "false" to not include retired personnel

(boolean, default = false)

lastName 

optional

search for personnel with the specified last name

(string, default = NULL)

emailAddressoptional

search for personnel with the specified email address

(string, default = NULL)
start optional

optional pagination value to specify which index the result set should start

(integer, default = 0)
limit optional

optional pagination value to specify the maximum number of results to the call should return in a single request.  There is no setting to retrieve all of the results, but there's no limit on the number that can be retrieved (up to the maximum value supported by a 32-bit signed integer -- 2147483647).

(integer, default = 25)


Responses

200 OK

Results were found that match the request and are included in the response body

401 UnauthorizedThe current account in the request header does not have access to the API

403 Forbidden

The current account in the request header does not have access to the territory requested in the request URL

404 Not Found

Returned if NO results were found that match the specified criteria

500 Internal Server ErrorOne or more request string parameters are invalid or an error was encountered by the server while processing the request

The API does have paging implemented using the start, limit, or a combination of the two parameters.  Defaults are as follows: start = 0, limit = 25

Related content

OMS Active Officer API
OMS Active Officer API
More like this
OMS Officer Taxes API
OMS Officer Taxes API
More like this
OMS Retired Officers API
OMS Retired Officers API
More like this
OMS Personnel by Date API
OMS Personnel by Date API
More like this
OMS Contact Info for Unit API
OMS Contact Info for Unit API
More like this
OMS Person API
OMS Person API
More like this