POST Api/DataMart/EntityProperties

Post Properties Data for a Single Entity

Request Information

URI Parameters

None.

Body Parameters

Contains the ProjectId and Entity identifiers and List of Properties data rows

EntityPropertiesRequest
NameDescriptionTypeAdditional information
ProjectId

integer

None.

DataSourceName

string

None.

SourceKey1

string

None.

SourceKey2

string

None.

SourceKey3

string

None.

SourceKey4

string

None.

SourceKey5

string

None.

EntityProperties

Collection of EntityProperties

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "DataSourceName": "sample string 2",
  "SourceKey1": "sample string 3",
  "SourceKey2": "sample string 4",
  "SourceKey3": "sample string 5",
  "SourceKey4": "sample string 6",
  "SourceKey5": "sample string 7",
  "EntityProperties": [
    {
      "PropertyName": "sample string 1",
      "PropertyValue": "sample string 2",
      "EffectiveFrom": "2020-06-04T13:44:24.2886942+01:00"
    },
    {
      "PropertyName": "sample string 1",
      "PropertyValue": "sample string 2",
      "EffectiveFrom": "2020-06-04T13:44:24.2886942+01:00"
    }
  ]
}

application/xml, text/xml

Sample:
<EntityPropertiesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sumerian.CapacityPlanner.DAL.BusinessObjects.DataMart">
  <DataSourceName>sample string 2</DataSourceName>
  <EntityProperties>
    <EntityProperties>
      <EffectiveFrom>2020-06-04T13:44:24.2886942+01:00</EffectiveFrom>
      <PropertyName>sample string 1</PropertyName>
      <PropertyValue>sample string 2</PropertyValue>
    </EntityProperties>
    <EntityProperties>
      <EffectiveFrom>2020-06-04T13:44:24.2886942+01:00</EffectiveFrom>
      <PropertyName>sample string 1</PropertyName>
      <PropertyValue>sample string 2</PropertyValue>
    </EntityProperties>
  </EntityProperties>
  <ProjectId>1</ProjectId>
  <SourceKey1>sample string 3</SourceKey1>
  <SourceKey2>sample string 4</SourceKey2>
  <SourceKey3>sample string 5</SourceKey3>
  <SourceKey4>sample string 6</SourceKey4>
  <SourceKey5>sample string 7</SourceKey5>
</EntityPropertiesRequest>

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.