GET api/baselineviews/project/{projectId}

Gets a list of baseline views related to a project.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

The project id to return the list of baselineviews

integer

Required

Body Parameters

None.

Response Information

Resource Description

A list of baselineview or a 403 if the authorized user doesn't have access to the project specified.

Collection of BaselineView
NameDescriptionTypeAdditional information
ProjectId

integer

None.

Id

string

None.

Name

string

None.

StartDate

date

None.

EndDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "962235b0ca8642eba82b8e49e069ebc1",
    "Name": "Global Production",
    "StartDate": "2019-04-22T19:10:03.6538496+01:00",
    "EndDate": "2019-07-22T19:10:03.6538496+01:00",
    "ProjectId": 512
  },
  {
    "Id": "c1269d4fa30d4057bf714d6c28d78bdf",
    "Name": "DR Data Centers",
    "StartDate": "2019-03-24T19:10:03.6538496+00:00",
    "EndDate": "2019-06-24T19:10:03.6538496+01:00",
    "ProjectId": 771
  }
]

application/xml, text/xml

Sample:
<ArrayOfBaselineView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sumerian.API.DAL">
  <BaselineView>
    <EndDate>2019-07-22T19:10:03.6538496+01:00</EndDate>
    <Id>962235b0ca8642eba82b8e49e069ebc1</Id>
    <Name>Global Production</Name>
    <ProjectId>512</ProjectId>
    <StartDate>2019-04-22T19:10:03.6538496+01:00</StartDate>
  </BaselineView>
  <BaselineView>
    <EndDate>2019-06-24T19:10:03.6538496+01:00</EndDate>
    <Id>c1269d4fa30d4057bf714d6c28d78bdf</Id>
    <Name>DR Data Centers</Name>
    <ProjectId>771</ProjectId>
    <StartDate>2019-03-24T19:10:03.6538496+00:00</StartDate>
  </BaselineView>
</ArrayOfBaselineView>