Get unit details

This action will return a given unit that you are permitted to access.

Try this request in your browser

/api/ /units/info

Headers

X-Auth-App
X-Auth-Token
X-Auth-Secret
X-Auth-Extension
X-Auth-Password
X-Proxy-Auth-Token
X-Proxy-Auth-Secret

Parameters

id Integer

Structures

Include extended attributes?
Include expansions?

The request output will be shown here...

URL

https://connectapi.dial9.co.uk/api/v2/units/info

Access

Must be authenticated as an admin or reseller. If not authorised, a MustBeAnAdminOrReseller error will be returned.

Parameters

Parameter Type Default

id Required

The ID of the unit

Integer null

Errors

There are no action-specific errors which can be raised.

Response Data

This action will return a unit structure.

You'll receive all extended data with this structure, by default. You can change this behaviour by passing true or false in the _full parameter on the request. By default, you'll receive all expansions for the structure. You remove any/all of them by providing an array of new expansion names in the _expansions parameter on the request.