| Bookmark Name | Actions |
|---|
APIs
This section covers the details of the APIs supported by Entitlement microservices.
Business APIs
GET/party/customers/userIds/{userId}/entitlements
http://localhost:8095/ms-entitlement-api/api/v1.0.0/party/customers/userIds/{userId}/entitlements[
{
"resourceName": "string",
"entitlements": [
"string"
]
}
]
GET/system/entitlements/users/{userId}?serviceid=clientwebService&channelid=web&customfilterid=test
http://localhost:8095/ms-entitlement-api/api/v1.0.0/system/entitlements/users/{userId}?serviceid=clientwebService&channelid=web&customfilterid=test[
{
"resourceId": "string",
"roles": [
"string"
]
}
]
GET/system/entitlements/users/{userId}?serviceid=string&channelid=string&customfilterid=string
http://localhost:8095/ms-entitlement-api/api/v1.0.0/system/entitlements/users/{userId}?serviceid=string&channelid=string&customfilterid=string[
"entitlements": [
{
"resourceId": "string",
"roles": [
{
"role": "string",
"actions": [
"string",
"string"
]
}
]
}
]
}
Managment APIs
There are eleven APIs to the management part. The main functionality is to manage the CRUD operations in the entitlements database.
POST/system/entitlements/users/{userId}/resources/{resourceId}
http://localhost:8080/ms-campaign-api/api/v1.0.0/system/entitlements/users/{userId}/resources/{resourceId}{
"roles": [
"string"
],
"channelid":"string",
"customfilterid":"string",
"serviceid":"string"
}
{
"roles": [
"string"
]
}
GET/system/entitlements/users/{userId}/resources/{resourceId}?serviceid=string&channelid=string&customfilterid=string
http://localhost:8095/ms-entitlement-api/api/v1.0.0/system/entitlements/users/{userId}/resources/{resourceId}?serviceid=string&channelid=string&customfilterid=string{
"roles": [
"string"
]
}
PUT/system/entitlements/users/{userId}/resources/{resourceId}
http://localhost:8080/ms-campaign-api/api/v1.0.0/system/entitlements/users/{userId}/resources/{resourceId}{
"entitlements": [
{
"mode": "add",
"roles": [
"string"
]
},
{
"mode": "rem",
"roles": [
"string"
]
}
],
"channelid":"string",
"customfilterid":"string",
"serviceid":"string"
}
{
"entitlements": [
{
"roles": [
"string"
]
}
]
}
DELETE/system/entitlements/users/{userId}/resources/{resourceId}? serviceid=string&channelid=string&customfilterid=string
http://localhost:8095/ms-entitlement-api/api/v1.0.0/system/entitlements/users/{userId}/resources/{resourceId}? serviceid=string&channelid=string&customfilterid=string{
"roles": [
"string"
]
}
POST/system/entitlements/resources/{resourceId}
http://localhost:8080/ms-campaign-api/api/v1.0.0/system/entitlements/resources/{resourceId}{
"entitlements": [
{
"userId": "string",
"roles": [
"string"
]
}
],
"channelid":"string",
"customfilterid":"string",
"serviceid":"string"
}
{
"entitlements": [
{
"userId": "string",
"roles": [
"string"
]
}
]
}
PUT/system/entitlements/resources/{resourceId}
http://localhost:8080/ms-campaign-api/api/v1.0.0/system/entitlements/resources/{resourceId}{
"entitlements": [
{
"userId": "string",
"roles": {
"mode": "add",
"roles": [
"string"
]
}
}
],
"channelid":"string",
"customfilterid":"string",
"serviceid":"string"
}
{
"entitlements": [
{
"userId": "string",
"roles": {
"mode": "add",
"roles": [
"string"
]
}
}
]
}
DELETE/system/entitlements/resources/{resourceId}?serviceid=string&channeled=string&customfilerid=string
http://localhost:8095/ms-entitlement-api/api/v1.0.0/system/entitlements/resources/{resourceId}?serviceid=string&channeled=string&customfilerid=string{
"entitlements": [
{
"userId": "string",
"roles": {
"roles": [
"string"
]
}
}
]
}
GET/system/entitlements/resources/{resourceId}?serviceid=string&channeled=string&customfilerid=string
http://localhost:8095/ms-entitlement-api/api/v1.0.0/system/entitlements/resources/{resourceId}?serviceid=string&channeled=string&customfilerid=string{
"entitlements": [
{
"userId": "string",
"roles": [
"string"
]
}
]
}
POST/system/entitlements/users/{userId}
http://localhost:8080/ms-campaign-api/api/v1.0.0/system/entitlements/users/{userId}{
"entitlements": [{
"resourceId": "string",
"roles": [
"string"
]
}
],
"channelid":"string",
"customfilterid":"string",
"serviceid":"string"
}
{
"entitlements": [
{
"resourceId": "string",
"roles": [
"string"
]
}
]
}
PUT/system/entitlements/users/{userId}
http://localhost:8080/ms-campaign-api/api/v1.0.0/system/entitlements/users/{userId}{
"entitlements": [ {
"resourceId": "string",
"mode": "rem",
"roles": [
"string"
]
}
],
"channelid":"string",
"customfilterid":"string",
"serviceid":"string"
}
{
"entitlements": [
{
"resourceId": "string",
"roles": [
"string"
]
}
]
}
DELETE/system/entitlements/users/{userId}?serviceid=string&channeled=string&customfilerid=string
http://localhost:8095/ms-entitlement-api/api/v1.0.0/system/entitlements/users/{userId}?serviceid=string&channeled=string&customfilerid=string{
"items": [
{
"resourceId": "string",
"roles": [
"string"
]
}
]
}
Add Bookmark
save your best linksView Bookmarks
Visit your best linksIn this topic
Are you sure you want to log-off?