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": "a1f0795a-20d2-4034-aff3-a26a01821a38",
  "Name": "sample string 2",
  "IsActive": true,
  "NotificationType": "Bubble",
  "CustomerGroups": [
    {
      "Id": "b2f0f404-0d90-4cc3-a32d-7812dcd66745",
      "Name": "sample string 2",
      "Customer": {
        "Id": "e3da3161-1ea8-4302-a69f-607fe41ce3a5",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    },
    {
      "Id": "b2f0f404-0d90-4cc3-a32d-7812dcd66745",
      "Name": "sample string 2",
      "Customer": {
        "Id": "e3da3161-1ea8-4302-a69f-607fe41ce3a5",
        "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": "37c4ff24-f0ba-4247-87f0-305ee4883ab2",
  "Name": "sample string 2",
  "IsActive": true,
  "NotificationType": "Bubble",
  "CustomerGroups": [
    {
      "Id": "5ddd817e-7483-4877-b51f-7fdaa270d004",
      "Name": "sample string 2",
      "Customer": {
        "Id": "98b13f2f-1988-45cf-b4d0-0a2842b348a9",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    },
    {
      "Id": "5ddd817e-7483-4877-b51f-7fdaa270d004",
      "Name": "sample string 2",
      "Customer": {
        "Id": "98b13f2f-1988-45cf-b4d0-0a2842b348a9",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    }
  ]
}