GET api/customergroups/GetByUserId?id={id}
Get a customer group by user ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
User ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerGroupDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required Max length: 50 |
|
| Customer | CustomerDto |
None. |
|
| IsActive | boolean |
None. |
|
| Settings | Collection of CustomerGroupSettingDto |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "c411fae3-c69b-4af0-8c0a-150862a87659",
"Name": "sample string 2",
"Customer": {
"Id": "e98f39eb-5fda-4895-9514-3367b5d53fba",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "c411fae3-c69b-4af0-8c0a-150862a87659",
"Name": "sample string 2",
"Customer": {
"Id": "e98f39eb-5fda-4895-9514-3367b5d53fba",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
]