General Information
| | | | | |
---|
multitenant | /product/acl/scope/service | GET | Products | N/A | Product |
Description
Get the ACL of a specific service in the product scope
Input
| | | | | |
---|
productCode | Query | YES | String | Â | The product code |
mainEnv | Query | YES | String | Â | Â |
secEnv | Query | NO | String | Â | Â |
page | Query | NO | integer | Â | Â |
Output
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS responseÂ
Valid Response
Â
{
"result": true,
"data": {
"product": "TROD",
"acl": [{
"service": "micro1",
"version": "1.2",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "infra",
"version": "1",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "oauth",
"version": "1",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "urac",
"version": "3",
"envs": {
"dev": true
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "multitenant",
"version": "1",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "repositories",
"version": "1",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "controller",
"version": "1",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "marketplace",
"version": "1",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "soamonitor",
"version": "1",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "soaanalytics",
"version": "1",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "console",
"version": "1",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}, {
"service": "dashboard",
"version": "1",
"envs": {
"dev": false
},
"restriction": {
"dev": true
},
"access": {
"dev": true
}
}]
}
}
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
| |
---|
400 | Business logic required data are missing |
460 | Unable to find product |
602 | Model error: + %model_error% |
Â