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": "32cef77f-8c62-4060-a7b3-3f6ec2c660d5",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "eae9f0ae-4286-45ec-a26d-392edb468ce2",
"Name": "sample string 2",
"Customer": {
"Id": "a0afa8e7-fb32-4fbd-8e24-97a17a990534",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "eae9f0ae-4286-45ec-a26d-392edb468ce2",
"Name": "sample string 2",
"Customer": {
"Id": "a0afa8e7-fb32-4fbd-8e24-97a17a990534",
"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": "f3ef541a-a710-4f49-87da-3b99b87bcd96",
"Name": "sample string 2",
"IsActive": true,
"NotificationType": "Bubble",
"CustomerGroups": [
{
"Id": "450138a1-9de2-4826-b16e-7d1ab6e3541e",
"Name": "sample string 2",
"Customer": {
"Id": "1fe7178d-b576-46e9-8120-9cbd3515fdef",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "450138a1-9de2-4826-b16e-7d1ab6e3541e",
"Name": "sample string 2",
"Customer": {
"Id": "1fe7178d-b576-46e9-8120-9cbd3515fdef",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
]
}