v1

latestOpenAPI 3.0.32026-07-243003151.2 MB
Units

Search for Units (BETA)

This method allows the calling application to search units using query parameters.

get/units

Query parameters

idstring Int64

EES AIR Unit ID.

status'ACTIVE' | 'INACTIVE'

This is a status of a Unit.

type'COMPANY' | 'OUTLET'

This is a type of a Unit.

parentUnitIdboolean

This is a flag that filters the search to child units of the passed parent unit id.

tagstring string

EES AIR Unit Tag.

offsetinteger
Example:51

Offset allows you to skip a number of items before returning data.

limitinteger

The number of items to return.

orderBy'id,ASC' | 'id,DESC' | 'name,ASC' | 'name,DESC' | 'safeName,ASC' | 'safeName,DESC'

Requested result set sorting order

Headers

X-EES-AUTH-CLIENT-IDstring string required

Client ID, This will be provided by EES and is unique to the company calling the API.

X-EES-AUTH-HASHstring string required

Request Security Hash, calculated using SHA-256 function from concatenated full Request URI Path with Query String(s), Payload and Client Secret

Accept-Encoding'' | 'gzip' | 'deflate' | 'gzip,deflate'

This request HTTP header advertises which content encoding (usually a compression algorithm) the calling application is able to understand. The server selects one of the proposals, use it and informs the client of its choice with the Content-Encoding response header. Currently supported gzip and deflate, if request header not present no compression will be used.

X-EES-TRANSACTION-IDstring string

Unique Reference for the API transaction within the calling company.

X-EES-RETRYstring string

This flag denotes the number of attempts that have been made for this request.

Response

OK.

offsetinteger

The number of units skipped when returning the data.

limitinteger

The number of units limited in the results, up to a maximum of 100.

totalinteger

The total number of units matching your search.