How can we help?

Searching:

0 results found

Tenants/Get (List)

GET /odata/Tenants

Description

Gets a list of all the Tenants to which you have access permissions.

To get the details of a specific Tenant, refer to Tenants/Get (Specific).

See the following for request and response details ‒

See Also

Request ‒ Tenants/Get (List)

Property Type Description Mandatory
appId String The unique identifier of this Application’s Master Application. A Master Application is the Application that enables the management of all/any of the Applications within a Tenant and all its Sub-tenants. Each Tenant has a single Master Application. Y

Example JSON Tenants/Get (List) Request

curl -X GET \

  https://api.stg.axonize.com/odata/tenants \

  -H ‘Authorization: Token’ \

  -H ‘appId: 801A048A-9F23-429F-BF0D-B6D35B22771E ‘

Response ‒ Tenants/Get (List)

For each Tenant, the response provides the properties in Tenants/Post.

Example JSON Tenants/Get (List) Response

Status 200 ‒ OK

{

    “@odata.context”: “http://stg-axonizeapi-axonize.stg-ase-axonize.p.azurewebsites.net/odata/$metadata#Tenants”,

    “value”: [

        {

            “region”: null,

            “active”: false,

            “appId”: “801A048A-9F23-429F-BF0D-B6D35B22771E “,

            “subdomain”: “tenant subdomain”,

            “logo”: null,

            “cultureInfo”: null,

            “reportPrefix”: null,

            “timezone”:”Asia/Jerusalem”

            “parentId”: null,

            “name”: “fcm2m”,

            “id”: “5851631d4e41925b98f01234”,

            “createDate”: “0001-01-01T00:00:00Z”,

            “createUser”: null,

            “updateDate”: “0001-01-01T00:00:00Z”,

            “updateUser”: null,

            “passwordPolicy”: null,

            “security”: null,

            “additionalProperties”: [],

            “ancestors”: []

        }

    ]

}