POST api/customergroups
Create a new customer group
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{ "Id": "65135a5b-9cec-4de5-8508-1d7a71b43f76", "Name": "sample string 2", "Customer": { "Id": "493c3570-72f9-42aa-a7cf-0978c548b9f5", "Name": "sample string 2" }, "IsActive": true, "Settings": [ { "Name": "EmbedReportUrl", "Value": "sample string 1" }, { "Name": "EmbedReportUrl", "Value": "sample string 1" } ] }
Response Information
Resource Description
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": "74cb4cd7-cb8d-4dca-8856-e9003f830fff", "Name": "sample string 2", "Customer": { "Id": "9ef24c44-8689-43a1-af45-387c17380918", "Name": "sample string 2" }, "IsActive": true, "Settings": [ { "Name": "EmbedReportUrl", "Value": "sample string 1" }, { "Name": "EmbedReportUrl", "Value": "sample string 1" } ] }