Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General Information

...

Service

API

Method

Data Model

Workflow

Group

multitenant

/product/console/acl/scope/raw

GET

Products

N/A

Console product

...

Get console product ACL in raw form

Input

...

Code Block
Type: application/json


Name

Source

Mandatory

Type

Special Format

Description

id

Query

YES

String

The product id


Output

...

Response

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

Valid Response

Code Block
{
  "result": true,
  "data":
    {
		acl: {
			new: {
				multitenant: {
					"1": {
						access: false,
						apisPermission: "restricted",
						get: [
							{
								group: "Product",
								apis: {
									"/products": {
										access: false
									},
									"/product": {
										access: false
									}
								}
							}
						]
					}
				}
			}
		}
	}
}

Invalid Response

Code Block
{
    "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

400

Business logic required data are missing

460

Unable to find product

602

Model error: + %model_error%