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": "60adfd5b-0b3e-4dbc-a9df-125acca08236",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "b4cf91ab-c2f7-4ecb-85b1-8f8c661a92bc",
"Name": "sample string 2",
"Customer": {
"Id": "aed9fc0b-4958-496c-b7cc-75d4fe85d42d",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "b4cf91ab-c2f7-4ecb-85b1-8f8c661a92bc",
"Name": "sample string 2",
"Customer": {
"Id": "aed9fc0b-4958-496c-b7cc-75d4fe85d42d",
"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": "d4488479-fabb-4184-8e35-d17fa5388d34",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "43172b17-0573-4d7d-b86d-e9d4c11345bf",
"Name": "sample string 2",
"Customer": {
"Id": "fa91c8b7-27a7-480e-b0da-215e34b6bae3",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "43172b17-0573-4d7d-b86d-e9d4c11345bf",
"Name": "sample string 2",
"Customer": {
"Id": "fa91c8b7-27a7-480e-b0da-215e34b6bae3",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
]
}