PUT api/apps/{id}
Update an app
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
AppDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required Max length: 50 |
|
| IsActive | boolean |
None. |
|
| NotificationType | NotificationTypeEnum |
None. |
|
| CustomerGroups | Collection of CustomerGroupDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "6fa6bef9-ee0e-4d22-8158-affb0d08f450",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "00acde9c-2d00-4d37-b086-e1a56f50e3a2",
"Name": "sample string 2",
"Customer": {
"Id": "05279ecc-e1db-4a23-ac75-8baeb28384ac",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "00acde9c-2d00-4d37-b086-e1a56f50e3a2",
"Name": "sample string 2",
"Customer": {
"Id": "05279ecc-e1db-4a23-ac75-8baeb28384ac",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
]
}
Response Information
Resource Description
AppDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required Max length: 50 |
|
| IsActive | boolean |
None. |
|
| NotificationType | NotificationTypeEnum |
None. |
|
| CustomerGroups | Collection of CustomerGroupDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "4e736de9-355e-40af-a372-92470b757594",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "124ff21c-9dc4-4286-bbb4-5be02820b5a4",
"Name": "sample string 2",
"Customer": {
"Id": "54f0f965-55e2-4577-b190-189e98d524bd",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "124ff21c-9dc4-4286-bbb4-5be02820b5a4",
"Name": "sample string 2",
"Customer": {
"Id": "54f0f965-55e2-4577-b190-189e98d524bd",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
]
}