PUT api/customergroups/{id}
Update a customer group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
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": "60bc5350-18e0-4759-a30e-bfa4b2542510",
"Name": "sample string 2",
"Customer": {
"Id": "26b2aae8-09e2-4a20-9c31-d427cf8be90f",
"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": "3463e358-f902-43fd-bda6-064c9121ef12",
"Name": "sample string 2",
"Customer": {
"Id": "bbfde231-915c-4230-ab3f-523538e5a153",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}