Get Resource Provider


Get the provider information of a resource based on the resource type.

Operation Permissions

Applications assigned with the administrator policy in the OU.

Request Format

GET https://{apigw-address}/enos-iam-service/v2.3/resource/provider/get

Request Parameters (URI)

Name Location (Path/Query) Mandatory/Optional Data Type Description
orgId Query Mandatory String The ID of the organization to which the resource belongs. How to get orgId>>
resourceType Query Mandatory String The unique resource type identifier.

Response Parameters

Name Data Type Description
data Provider Struct The information of the provider of the resource. For more information, see Provider Struct.

Samples

Request Sample

url: https://{apigw-address}/enos-iam-service/v2.3/resource/provider/get?orgId=yourOrgId&resourceType=yourResourceType
method: GET

Return Sample

{
  "data": {
    "providerCode": "service",
    "resourceType": "asset_node",
    "name": "Asset",
    "baseUrl": "http://{apigw-address}/iam/ctrl/api/resource/proxy",
    "structure": 1,
    "placeholder": null,
    "all": 1,
    "specify": 1,
    "displayIndex": 2,
    "authMode": 0,
    "condition": 0,
    "keyTooltip": null
  },
  "requestId": null,
  "status": 0,
  "message": "",
  "success": true,
  "failed": false,
  "successful": true,
  "fail": false
}