GET api/customergroups/GetByCustomerId?id={id}
Get a customer group by customer ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Customer ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerGroupDtoName | 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": "862ceaf8-9af9-418f-a699-a897b5460274", "Name": "sample string 2", "Customer": { "Id": "fd4c3339-7c51-45e2-8fd7-0e64d8a246e3", "Name": "sample string 2" }, "IsActive": true, "Settings": [ { "Name": "EmbedReportUrl", "Value": "sample string 1" }, { "Name": "EmbedReportUrl", "Value": "sample string 1" } ] }, { "Id": "862ceaf8-9af9-418f-a699-a897b5460274", "Name": "sample string 2", "Customer": { "Id": "fd4c3339-7c51-45e2-8fd7-0e64d8a246e3", "Name": "sample string 2" }, "IsActive": true, "Settings": [ { "Name": "EmbedReportUrl", "Value": "sample string 1" }, { "Name": "EmbedReportUrl", "Value": "sample string 1" } ] } ]