Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

General Information


Service

API

Method

Data Model

Workflow

Group

multitenant

/product/package/acl/service

GET

Products

N/A

Product

Description

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

Input


Type: application/json


Name

Source

Mandatory

Type

Special Format

Description

productCode

Query

YES

String

The product code

packageCode

Query

YES

String

The package 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

 Valid Response

{
  "result": true,
  "data": {
    "package": "TEST2_NEWS",
    "product": "TEST2",
    "acl": [
      {
        "service": "multitenant",
        "version": "1",
        "envs": {
          "dev": false,
          "stage": false
        },
        "restriction": {
          "dev": true,
          "stage": true
        },
        "access": {
          "dev": true,
          "stage": true
        }
      },
      {
        "service": "console",
        "version": "1",
        "envs": {
          "dev": false,
          "stage": false
        },
        "restriction": {
          "dev": true,
          "stage": true
        },
        "access": {
          "dev": true,
          "stage": true
        }
      }
    ]
  }
}

Invalid Response

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

Response schema

Follow this link to check out the response JSON Schema

SOAJS Error Codes



Code

Description

400

Business logic required data are missing

461

Unable to find pacakge

602

Model error: + %model_error%

  • No labels