Lists all HCG servers

GET https://{{axpAPIDomain}}/api/admin/voice/v1/accounts/:accountId/hybrid-cloud-gateways?filter=name=AHCG123&orderBy=name

This API requires the Account Administrator role.

Returns the list of all available Avaya Hybrid Cloud Gateways by account Id

Request Params

KeyDatatypeRequiredDescription
filterstringSpecifies details of a row filter.

The possible fields that can be filtered on are:

  • name

The allowed format:

  • Begins with the column name to be filtered, followed by a colon, then:
    • Either an exact string to match, or
    • A string expression including the * wildcard character
      • :{PREFIX}* will be used to find out word start with.
      • :*{POSTFIX} will be used to find out word end with
      • : will be used to match exact word
  • Begin with column name to be filtered, followed by a = operator. (this will be used to match exact string) | | orderBy | string | | Field name on which ordering needs to be performed. The default order is ascending.

The possible fields that can be ordered on are:

  • name

Field Names are case-senstive (should be written as it is in description).

To specify descending order, a suffix " desc" should be added. For example, "name" for ascending or "name desc" for descending". |

HEADERS

KeyDatatypeRequiredDescription
appkeystring
Acceptstring

RESPONSES

status: OK

{"resources":[{"id":"41c6ef0d-5470-406e-ace2-6dc442b99318","name":"AHCG123","description":"Description of the Avaya Hybrid Cloud Gateway","systemId":"fa703a3a-3dfb-4606-ae79-fd0fe0be3e64","publicKey":"MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEm","publicKeyAlgorithm":"ES256","locationCode":"IN-MH","sessionManagerFqdnList":["sm1906.avaya.com","sm-stage224.avaya.com","sm_prod2201.avaya.com"],"isTermsAndConditionsAccepted":true,"status":"SUCCESS"},{"id":"04703a3a-3dfb-4606-ae79-fd0fe0be3e64","name":"HCG304","description":"Description of the Avaya Hybrid Cloud Gateway","systemId":"04703a3a-3dfb-4606-ae79-fd0fe0be3e64","publicKey":"MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEm","publicKeyAlgorithm":"ES256","locationCode":"IN-MH","sessionManagerFqdnList":["smdev.avaya.com"],"isTermsAndConditionsAccepted":true,"status":"IN_PROGRESS"}]}