GET Api/ProjectPhase/GetByProject/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProjectPhaseViewModel
NameDescriptionTypeAdditional information
ProjectPhaseId

integer

None.

ProjectId

integer

None.

PhaseCode

string

None.

PhaseName

string

None.

EmployeeId

integer

None.

Description

string

None.

PhaseStartDate

date

None.

PhaseEndDate

date

None.

StatusId

integer

None.

SeqNo

integer

None.

PriorityId

integer

None.

ProjectName

string

None.

EmployeeName

string

None.

Priority

string

None.

Status

string

None.

TotalCount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProjectPhaseId": 1,
    "ProjectId": 2,
    "PhaseCode": "sample string 3",
    "PhaseName": "sample string 4",
    "EmployeeId": 5,
    "Description": "sample string 6",
    "PhaseStartDate": "2025-12-08T01:54:52.0332404+05:30",
    "PhaseEndDate": "2025-12-08T01:54:52.0332404+05:30",
    "StatusId": 7,
    "SeqNo": 8,
    "PriorityId": 9,
    "ProjectName": "sample string 10",
    "EmployeeName": "sample string 11",
    "Priority": "sample string 12",
    "Status": "sample string 13",
    "TotalCount": 14
  },
  {
    "ProjectPhaseId": 1,
    "ProjectId": 2,
    "PhaseCode": "sample string 3",
    "PhaseName": "sample string 4",
    "EmployeeId": 5,
    "Description": "sample string 6",
    "PhaseStartDate": "2025-12-08T01:54:52.0332404+05:30",
    "PhaseEndDate": "2025-12-08T01:54:52.0332404+05:30",
    "StatusId": 7,
    "SeqNo": 8,
    "PriorityId": 9,
    "ProjectName": "sample string 10",
    "EmployeeName": "sample string 11",
    "Priority": "sample string 12",
    "Status": "sample string 13",
    "TotalCount": 14
  }
]

application/xml, text/xml

Sample:
<ArrayOfProjectPhaseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
  <ProjectPhaseViewModel>
    <Description>sample string 6</Description>
    <EmployeeId>5</EmployeeId>
    <EmployeeName>sample string 11</EmployeeName>
    <PhaseCode>sample string 3</PhaseCode>
    <PhaseEndDate>2025-12-08T01:54:52.0332404+05:30</PhaseEndDate>
    <PhaseName>sample string 4</PhaseName>
    <PhaseStartDate>2025-12-08T01:54:52.0332404+05:30</PhaseStartDate>
    <Priority>sample string 12</Priority>
    <PriorityId>9</PriorityId>
    <ProjectId>2</ProjectId>
    <ProjectName>sample string 10</ProjectName>
    <ProjectPhaseId>1</ProjectPhaseId>
    <SeqNo>8</SeqNo>
    <Status>sample string 13</Status>
    <StatusId>7</StatusId>
    <TotalCount>14</TotalCount>
  </ProjectPhaseViewModel>
  <ProjectPhaseViewModel>
    <Description>sample string 6</Description>
    <EmployeeId>5</EmployeeId>
    <EmployeeName>sample string 11</EmployeeName>
    <PhaseCode>sample string 3</PhaseCode>
    <PhaseEndDate>2025-12-08T01:54:52.0332404+05:30</PhaseEndDate>
    <PhaseName>sample string 4</PhaseName>
    <PhaseStartDate>2025-12-08T01:54:52.0332404+05:30</PhaseStartDate>
    <Priority>sample string 12</Priority>
    <PriorityId>9</PriorityId>
    <ProjectId>2</ProjectId>
    <ProjectName>sample string 10</ProjectName>
    <ProjectPhaseId>1</ProjectPhaseId>
    <SeqNo>8</SeqNo>
    <Status>sample string 13</Status>
    <StatusId>7</StatusId>
    <TotalCount>14</TotalCount>
  </ProjectPhaseViewModel>
</ArrayOfProjectPhaseViewModel>