GET - /product/console/acl/scope/service

General Information


Service

API

Method

Data Model

Workflow

Group

Service

API

Method

Data Model

Workflow

Group

multitenant

/product/console/acl/scope/service

GET

Products

N/A

Console product

Description

Get the ACL of a specific service in the console product scope

Input


Type: application/json



Name

Source

Mandatory

Type

Special Format

Description

Name

Source

Mandatory

Type

Special Format

Description

productCode

Query

YES

String

 

The product code

mainEnv

Query

YES

String

 

 

secEnv

Query

NO

String

 

 

page

Query

NO

integer

 

 



Output


Response

SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response 

Valid Response

 

{ "result": true, "data": { "product": "TROD", "acl": [{ "service": "micro1", "version": "1.2", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "infra", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "oauth", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "urac", "version": "3", "envs": { "dev": true }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "multitenant", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "repositories", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "controller", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "marketplace", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "soamonitor", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "soaanalytics", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "console", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }, { "service": "dashboard", "version": "1", "envs": { "dev": false }, "restriction": { "dev": true }, "access": { "dev": true } }] } }

Invalid Response

{ "result":false, "errors":{ "codes":[460], "details":[ { "code":460, "message":"Unable to find product" } ] } }

Response schema

Follow this link to check out the response JSON Schema

SOAJS Error Codes




Code

Description

Code

Description

400

Business logic required data are missing

460

Unable to find product

602

Model error: + %model_error%

Â