POST api/customergroups
Create a new customer group
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"Id": "1d3b3f99-5b61-485c-8d74-8b736f6ed7e6",
"Name": "sample string 2",
"Customer": {
"Id": "4499d2ff-a6ad-4654-a627-a9aaa4aa33d5",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
Response Information
Resource Description
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": "f2c9dc56-7c96-4c1c-824a-99f85d573c41",
"Name": "sample string 2",
"Customer": {
"Id": "d733b4f1-8a59-4543-9743-56e9d14f97a0",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}