General Information
...
Service | API | Method | Data Model | Workflow | Group |
---|---|---|---|---|---|
multitenant | /product/package/acl/env | PUT | N/A | Product |
Description
This API updates the package under a product that both have codes that accordingly match the ones sent in the query.Update product package ACL by env
Input
...
Code Block |
---|
Type: application/json |
...
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
id | Query | YES | String | N/A | The product id |
code | Query | YES | String | The Length is 4 - 5 | The product code |
acl | Body | YES | Object | Part of ACL Schema | Package ACL - Check the example below |
env | Query | YES | String | N/A | Environment code |
type | Query | NO | String | granular | Type of Acl (API group or granular) |
ACL Example of type API Group
|
ACL Example of type Granular
|
Output
...
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
Valid Response
|
Invalid Response
|
Response schema
Follow this link to check out the response JSON Schema
SOAJS Error Codes
...
Code | Description | ||
---|---|---|---|
| Business logic required data are missing | ||
| Unable to find products | ||
| Unable to find package | ||
| This record is locked. You cannot modify or delete it | ||
| Model error: + %model_error% |
...