POST api/apps

Create a new app

Request Information

URI Parameters

None.

Body Parameters

AppDto
NameDescriptionTypeAdditional 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": "d991dc3a-19fe-43a3-965e-0a91914bc04f",
  "Name": "sample string 2",
  "IsActive": true,
  "NotificationType": "Bubble",
  "CustomerGroups": [
    {
      "Id": "794fb15f-3acf-41f0-a6d7-c9ab5b27a818",
      "Name": "sample string 2",
      "Customer": {
        "Id": "12681c27-1e91-4719-af1a-622f6a12ee14",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    },
    {
      "Id": "794fb15f-3acf-41f0-a6d7-c9ab5b27a818",
      "Name": "sample string 2",
      "Customer": {
        "Id": "12681c27-1e91-4719-af1a-622f6a12ee14",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    }
  ]
}

Response Information

Resource Description

AppDto
NameDescriptionTypeAdditional 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": "7e2c48de-ca11-400d-b520-6a7bf59cee1e",
  "Name": "sample string 2",
  "IsActive": true,
  "NotificationType": "Bubble",
  "CustomerGroups": [
    {
      "Id": "31f1b821-d4f7-41ef-a993-eba044e48cf1",
      "Name": "sample string 2",
      "Customer": {
        "Id": "d089148e-5f38-4748-9940-280b58a99696",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    },
    {
      "Id": "31f1b821-d4f7-41ef-a993-eba044e48cf1",
      "Name": "sample string 2",
      "Customer": {
        "Id": "d089148e-5f38-4748-9940-280b58a99696",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    }
  ]
}