POST api/apps
Create a new app
Request Information
URI Parameters
None.
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": "2baf7a5a-5fa7-4841-931a-f6057fae6c53",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "363df03e-3edb-4fa4-af8a-19f69c5d10c7",
"Name": "sample string 2",
"Customer": {
"Id": "49409bbc-7f10-4ae1-a2e0-30feb8b95bba",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "363df03e-3edb-4fa4-af8a-19f69c5d10c7",
"Name": "sample string 2",
"Customer": {
"Id": "49409bbc-7f10-4ae1-a2e0-30feb8b95bba",
"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": "3f92d6c7-920f-46f7-8463-0d9af6a72dd2",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "9fada8e8-6dad-45fd-9eb6-1b6098f35a7a",
"Name": "sample string 2",
"Customer": {
"Id": "bb3bc05f-7649-4fe0-af15-8af5a273fda8",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "9fada8e8-6dad-45fd-9eb6-1b6098f35a7a",
"Name": "sample string 2",
"Customer": {
"Id": "bb3bc05f-7649-4fe0-af15-8af5a273fda8",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
]
}