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": "af4559dd-3034-4bb8-9420-403875585f49",
  "Name": "sample string 2",
  "IsActive": true,
  "NotificationType": "Bubble",
  "CustomerGroups": [
    {
      "Id": "3164d778-a522-4828-86b5-629ce39ae3fb",
      "Name": "sample string 2",
      "Customer": {
        "Id": "1c139a00-2574-4af8-94cb-30c8be133456",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    },
    {
      "Id": "3164d778-a522-4828-86b5-629ce39ae3fb",
      "Name": "sample string 2",
      "Customer": {
        "Id": "1c139a00-2574-4af8-94cb-30c8be133456",
        "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": "92afb232-7888-49df-a722-3c114ff74bc2",
  "Name": "sample string 2",
  "IsActive": true,
  "NotificationType": "Bubble",
  "CustomerGroups": [
    {
      "Id": "c7a25a2a-ccaa-4bde-8b8d-8df3fa612264",
      "Name": "sample string 2",
      "Customer": {
        "Id": "739fa6b5-021f-49bd-8b3d-8d5bd72b48bb",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    },
    {
      "Id": "c7a25a2a-ccaa-4bde-8b8d-8df3fa612264",
      "Name": "sample string 2",
      "Customer": {
        "Id": "739fa6b5-021f-49bd-8b3d-8d5bd72b48bb",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    }
  ]
}