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": "cb1106b9-23dc-4455-8ef0-5c22f2f90d0b",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "c852044b-0851-4331-a0c8-b8ca700cf490",
"Name": "sample string 2",
"Customer": {
"Id": "7483943d-6920-447e-af94-11869498333a",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "c852044b-0851-4331-a0c8-b8ca700cf490",
"Name": "sample string 2",
"Customer": {
"Id": "7483943d-6920-447e-af94-11869498333a",
"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": "06209cde-3ab5-44c6-8155-91eac1968382",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "111fde02-f38e-4a24-8af7-1e09530a24ce",
"Name": "sample string 2",
"Customer": {
"Id": "10b70ec7-5256-4cfc-acc4-d619cb494f54",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "111fde02-f38e-4a24-8af7-1e09530a24ce",
"Name": "sample string 2",
"Customer": {
"Id": "10b70ec7-5256-4cfc-acc4-d619cb494f54",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
]
}