Create Super Metric Using POST

Create Super Metric Using POST

Create a SuperMetric with the given name, formula and description

Request
URI
POST
https://{api_host}/api/supermetrics
COPY
Request Body

The SuperMetric to create

supermetric of type(s) application/json
Required

Show optional properties

{
    "formula": "string",
    "name": "string"
}
{
    "description": "string",
    "formula": "string",
    "id": "string",
    "modificationTime": "string",
    "name": "string"
}
string
description
Optional

The description of the SuperMetric

string
formula
Required

The formula expression of the SuperMetric

string As uuid As uuid
id
Optional

The unique ID of the SuperMetric. This will be null when creating a SuperMetric, but it is required when updating an existing SuperMetric.

string As date-time As date-time
modificationTime
Optional

Last modification time of the SuperMetric

string
name
Required

The name of the SuperMetric

Authentication
This operation uses the following authentication methods.
Responses
201

The created SuperMetric from the server

Returns supermetric of type(s) application/json
{
    "description": "string",
    "formula": "string",
    "id": "string",
    "modificationTime": "string",
    "name": "string"
}
string
description
Optional

The description of the SuperMetric

string
formula
Required

The formula expression of the SuperMetric

string As uuid As uuid
id
Optional

The unique ID of the SuperMetric. This will be null when creating a SuperMetric, but it is required when updating an existing SuperMetric.

string As date-time As date-time
modificationTime
Optional

Last modification time of the SuperMetric

string
name
Required

The name of the SuperMetric