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

« Previous Version 4 Next »

General Information


Service

API

Method

Data Model

Workflow

Group

multitenant

/product/acl/scope/raw

GET

Products

N/A

Product

Description

Get product ACL in raw form

Input


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

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

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

400

Unable to find products

460

Unable to find package

602

Model error: + %model_error%

  • No labels