POST api/metrics/summariesdaterange
Returns an array of metrics for a given project, baseline, entities and metric combination.
Request Information
URI Parameters
None.
Body Parameters
Contains the ProjectId, BaselineId, EntityIdList, MetricID, SummaryLevelID, SummaryStartDate and SummaryEndDate identifiers
metricSummaryRequestDateRangeName | Description | Type | Additional information |
---|---|---|---|
MetricID | integer |
None. |
|
SummaryEndDate | string |
None. |
|
ProjectId | integer |
None. |
|
BaselineId | integer |
None. |
|
EntityIdList | string |
None. |
|
SummaryLevelID | integer |
None. |
|
SummaryStartDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MetricID": 1, "SummaryEndDate": "sample string 2", "ProjectId": 3, "BaselineId": 4, "EntityIdList": "sample string 5", "SummaryLevelID": 6, "SummaryStartDate": "sample string 7" }
application/xml, text/xml
Sample:
<MetricsController.metricSummaryRequestDateRange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sumerian.API.Controllers"> <BaselineId>4</BaselineId> <EntityIdList>sample string 5</EntityIdList> <ProjectId>3</ProjectId> <SummaryLevelID>6</SummaryLevelID> <SummaryStartDate>sample string 7</SummaryStartDate> <MetricID>1</MetricID> <SummaryEndDate>sample string 2</SummaryEndDate> </MetricsController.metricSummaryRequestDateRange>
Response Information
Resource Description
Dictionary of string [key] and string [value]Response Formats
application/json, text/json
Sample:
{ "sample string 1": "sample string 2", "sample string 3": "sample string 4" }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringstring> <Key>sample string 1</Key> <Value>sample string 2</Value> </KeyValueOfstringstring> <KeyValueOfstringstring> <Key>sample string 3</Key> <Value>sample string 4</Value> </KeyValueOfstringstring> </ArrayOfKeyValueOfstringstring>