POST Api/DataMart/EntityPerformance

Post Entity Performance Data

Request Information

URI Parameters

None.

Body Parameters

Contains the ProjectId to find the Data Mart and List of Entity Performance data rows

EntityPerformanceRequest
NameDescriptionTypeAdditional information
ProjectId

integer

None.

EntityPerformance

Collection of EntityPerformance

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "EntityPerformance": [
    {
      "DataSourceName": "sample string 1",
      "DataDateTime": "2020-01-29T06:02:09.2315229+00:00",
      "SourceKey1": "sample string 2",
      "SourceKey2": "sample string 3",
      "SourceKey3": "sample string 4",
      "SourceKey4": "sample string 5",
      "SourceKey5": "sample string 6",
      "MetricName": "sample string 7",
      "MetricValue": "sample string 8"
    },
    {
      "DataSourceName": "sample string 1",
      "DataDateTime": "2020-01-29T06:02:09.2315229+00:00",
      "SourceKey1": "sample string 2",
      "SourceKey2": "sample string 3",
      "SourceKey3": "sample string 4",
      "SourceKey4": "sample string 5",
      "SourceKey5": "sample string 6",
      "MetricName": "sample string 7",
      "MetricValue": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<EntityPerformanceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sumerian.CapacityPlanner.DAL.BusinessObjects.DataMart">
  <EntityPerformance>
    <EntityPerformance>
      <DataDateTime>2020-01-29T06:02:09.2315229+00:00</DataDateTime>
      <DataSourceName>sample string 1</DataSourceName>
      <MetricName>sample string 7</MetricName>
      <MetricValue>sample string 8</MetricValue>
      <SourceKey1>sample string 2</SourceKey1>
      <SourceKey2>sample string 3</SourceKey2>
      <SourceKey3>sample string 4</SourceKey3>
      <SourceKey4>sample string 5</SourceKey4>
      <SourceKey5>sample string 6</SourceKey5>
    </EntityPerformance>
    <EntityPerformance>
      <DataDateTime>2020-01-29T06:02:09.2315229+00:00</DataDateTime>
      <DataSourceName>sample string 1</DataSourceName>
      <MetricName>sample string 7</MetricName>
      <MetricValue>sample string 8</MetricValue>
      <SourceKey1>sample string 2</SourceKey1>
      <SourceKey2>sample string 3</SourceKey2>
      <SourceKey3>sample string 4</SourceKey3>
      <SourceKey4>sample string 5</SourceKey4>
      <SourceKey5>sample string 6</SourceKey5>
    </EntityPerformance>
  </EntityPerformance>
  <ProjectId>1</ProjectId>
</EntityPerformanceRequest>

Response Information

Resource Description

Void, only HTTP status code

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.