Customer widget permissions
Display widget permission to a customer
Method |
URL |
Description |
Arguments |
Outputs |
---|---|---|---|---|
GET |
/customers/{cid}/widgets |
Display widget permission to a customer |
cid |
See the Outputs table. |
Arguments
Parameter |
Type |
Description |
---|---|---|
cid |
int |
Customer ID. |
Outputs
Parameter |
Type |
Description |
---|---|---|
widgetPermissionId |
int |
Widget Permission ID |
customerId |
int |
Customer ID |
widgets |
JSON array |
List of widgets object |
Create or update widget permissions of a customer
Method |
URL |
Description |
Arguments |
Outputs |
---|---|---|---|---|
POST |
/customers/{cid}/widgets |
Create or update widget permissions of a customer |
See the next table. |
200 OK |
Arguments (JSON payload)
Parameter |
Type |
Description |
---|---|---|
widgetPermissionId |
int |
Widget Permission Id |
customerId |
int |
Customer Id |
widgets |
JSON array |
List of widgets object |