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": "fb03f73c-9d42-4607-8694-d3d5ba2dbf7c",
"Name": "sample string 2",
"Customer": {
"Id": "812967a0-6b6e-4cb8-a7c4-e725c409b925",
"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": "e484a42c-c57a-4b58-b855-7afd3972c3ca",
"Name": "sample string 2",
"Customer": {
"Id": "8fddb56b-fd82-4f0d-b284-8f7f47c77a84",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}