List Categories


List the application categories for this OU.

Operation Permissions


Applications assigned with the Application Registration Administrator policy in the OU.

Request Format


GET https://{apigw-address}/enos-app-service/v2.5/category/list

Request Parameters(URI)


Name Location(Path/Query) Required/Optional Data Type Description
orgId Query Required String The OU ID which the application belongs to. How to get orgId >>

Request Parameters(Header)


Name Required/Optional Data Type Description
accept-language Optional String The required language, such as “zh-CN” or “en-US”. If not specified, the default return message will include all available internationalized content. EnOS Supported Languages >>

Response Parameters


Name Data Type Description
categoryId String The category ID.
name StringI18n The category name.

Samples

Request Sample


url: https://{apigw-address}/enos-app-service/v2.5/category/list?orgId=yourOrgId
method: GET

Return Sample


{
  "code": 0,
  "msg": "OK",
  "subMsg": null,
  "data": [
    {
      "categoryId": 21,
      "name": {
        "pl_PL": "Wiatrowe",
        "en_US": "Wind",
        "es_ES": "Viento",
        "zh_CN": "风电",
        "fr_FR": "Vent",
        "ja_JP": "風",
        "de_DE": "Wind"
      }
    },
    {
      "categoryId": 22,
      "name": {
        "pl_PL": "Słoneczne",
        "en_US": "Solar",
        "es_ES": "Solar",
        "zh_CN": "光伏",
        "fr_FR": "Solaire",
        "ja_JP": "太陽光発電",
        "de_DE": "Solar"
      }
    },
    {
      "categoryId": 23,
      "name": {
        "pl_PL": "Energia wodna",
        "en_US": "Hydroelectricity",
        "es_ES": "Hidroelectricidad",
        "zh_CN": "水电",
        "fr_FR": "Hydroélectricité",
        "ja_JP": "水力発電",
        "de_DE": "Wasserkraft"
      }
    }
  ]
}