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": "170de43a-d462-4b42-ad2a-2e30b56418b0",
  "Name": "sample string 2",
  "IsActive": true,
  "NotificationType": "Bubble",
  "CustomerGroups": [
    {
      "Id": "2ee73f9c-299e-4f77-b8cd-1294616a17a0",
      "Name": "sample string 2",
      "Customer": {
        "Id": "ebe38b80-2d0c-44e7-a043-8b018e9e23da",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    },
    {
      "Id": "2ee73f9c-299e-4f77-b8cd-1294616a17a0",
      "Name": "sample string 2",
      "Customer": {
        "Id": "ebe38b80-2d0c-44e7-a043-8b018e9e23da",
        "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": "cbf59ff5-1311-49d0-9567-c249b7949fa6",
  "Name": "sample string 2",
  "IsActive": true,
  "NotificationType": "Bubble",
  "CustomerGroups": [
    {
      "Id": "66510d61-d203-4e7d-b0df-a6c6b8945ef3",
      "Name": "sample string 2",
      "Customer": {
        "Id": "8278b04f-9921-48ce-ba0e-8d5a7b65686f",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    },
    {
      "Id": "66510d61-d203-4e7d-b0df-a6c6b8945ef3",
      "Name": "sample string 2",
      "Customer": {
        "Id": "8278b04f-9921-48ce-ba0e-8d5a7b65686f",
        "Name": "sample string 2"
      },
      "IsActive": true,
      "Settings": [
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        },
        {
          "Name": "EmbedReportUrl",
          "Value": "sample string 1"
        }
      ]
    }
  ]
}