General Information
...
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
code | Body | YES | String | The length is between 4 - 5 | Product code |
name | Body | YES | String | N/A | Product name |
description | Body | NO | String | N/A | Product description |
scope | Body | NO | Object | Product Scope |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "result": true, "data": [ { "name": "Fadi2", "code": "FADI2", "description": "Some Description", "scope": { "acl": { "dashboard": { "multitenant": { "1": { "access": false, "get": [ { "/product": { "access": false }, "group": 'Product' } ] }, "2.1" : { "access": false, "get": [ { "/product": { "access": false }, "group": 'Product' } ] } } } } }, "packages": [], "_id": "5d6fedabbed68d11b6f54636" } ] } |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "result":false, "errors":{ "codes":[468], "details":[ { "code":468, "message":"Product already exists" } ] } } |
...