Versions Compared

Key

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

...

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

Unable to find products

460

Unable to find package

602

Model error: + %model_error%