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": "5150bde9-6fc8-4534-a11b-c86238a93b79",
  "Name": "sample string 2",
  "IsActive": true,
  "NotificationType": "Bubble",
  "CustomerGroups": [
    {
      "Id": "4c83b3a3-5837-44f9-a846-dc628355e4a7",
      "Name": "sample string 2",
      "Customer": {
        "Id": "2dc60783-4705-4109-8259-3a3267a8315d",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    },
    {
      "Id": "4c83b3a3-5837-44f9-a846-dc628355e4a7",
      "Name": "sample string 2",
      "Customer": {
        "Id": "2dc60783-4705-4109-8259-3a3267a8315d",
        "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": "94b94523-e491-46e4-aae1-6dad41509ca1",
  "Name": "sample string 2",
  "IsActive": true,
  "NotificationType": "Bubble",
  "CustomerGroups": [
    {
      "Id": "2361d4fc-8239-4287-98b9-4069434e1ad8",
      "Name": "sample string 2",
      "Customer": {
        "Id": "62017b2b-af5b-469f-b10e-8ab42a6caf88",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    },
    {
      "Id": "2361d4fc-8239-4287-98b9-4069434e1ad8",
      "Name": "sample string 2",
      "Customer": {
        "Id": "62017b2b-af5b-469f-b10e-8ab42a6caf88",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    }
  ]
}