GET api/baselineviews/project/{projectId}
Gets a list of baseline views related to a project.
Request Information
URI Parameters
Name | Description | Type | Additional 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 BaselineViewName | Description | Type | Additional information |
---|---|---|---|
ProjectId | integer |
None. |
|
Id | string |
None. |
|
Name | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
LastProcessedDate | date |
None. |
|
BaselineId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "962235b0ca8642eba82b8e49e069ebc1", "Name": "Global Production", "StartDate": "2022-02-19T01:47:08.9525063+00:00", "EndDate": "2022-05-19T01:47:08.9525063+01:00", "LastProcessedDate": "2022-05-19T02:47:08.9525063+01:00", "BaselineId": 0, "ProjectId": 512 }, { "Id": "c1269d4fa30d4057bf714d6c28d78bdf", "Name": "DR Data Centers", "StartDate": "2022-01-21T01:47:08.9525063+00:00", "EndDate": "2022-04-21T01:47:08.9525063+01:00", "LastProcessedDate": "2022-04-21T02:47:08.9525063+01:00", "BaselineId": 0, "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> <BaselineId>0</BaselineId> <EndDate>2022-05-19T01:47:08.9525063+01:00</EndDate> <Id>962235b0ca8642eba82b8e49e069ebc1</Id> <LastProcessedDate>2022-05-19T02:47:08.9525063+01:00</LastProcessedDate> <Name>Global Production</Name> <ProjectId>512</ProjectId> <StartDate>2022-02-19T01:47:08.9525063+00:00</StartDate> </BaselineView> <BaselineView> <BaselineId>0</BaselineId> <EndDate>2022-04-21T01:47:08.9525063+01:00</EndDate> <Id>c1269d4fa30d4057bf714d6c28d78bdf</Id> <LastProcessedDate>2022-04-21T02:47:08.9525063+01:00</LastProcessedDate> <Name>DR Data Centers</Name> <ProjectId>771</ProjectId> <StartDate>2022-01-21T01:47:08.9525063+00:00</StartDate> </BaselineView> </ArrayOfBaselineView>