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": "4d8ddd90-542d-499c-8c93-afc9612f079f",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "186d3609-ddf5-4600-aa86-4988f6db9ca7",
"Name": "sample string 2",
"Customer": {
"Id": "3100ab2f-d28b-4c69-acac-a9e79815e6ea",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "186d3609-ddf5-4600-aa86-4988f6db9ca7",
"Name": "sample string 2",
"Customer": {
"Id": "3100ab2f-d28b-4c69-acac-a9e79815e6ea",
"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": "77a0a6b8-64bd-4256-ab98-5d25f9a28906",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "eb0ef147-015c-40da-8dcc-3158351789a1",
"Name": "sample string 2",
"Customer": {
"Id": "560e2090-13f4-4fb8-b484-b85fa2735dc1",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "eb0ef147-015c-40da-8dcc-3158351789a1",
"Name": "sample string 2",
"Customer": {
"Id": "560e2090-13f4-4fb8-b484-b85fa2735dc1",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
]
}