POST Api/DataMart/GetEntities

Post - Get entities

Request Information

URI Parameters

None.

Body Parameters

Contains the ProjectId and Entity filters

EntitiesRequest
NameDescriptionTypeAdditional information
ProjectId

integer

None.

EntityType

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "EntityType": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<EntitiesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sumerian.CapacityPlanner.DAL.BusinessObjects.DataMart">
  <EntityType xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </EntityType>
  <ProjectId>1</ProjectId>
</EntitiesRequest>

Response Information

Resource Description

HTTP status code and list of entities

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.