GET api/user/projectdetails/{userid}
This method is being deprecated. Use api/EnterpriseUser/GetDetailedProjects
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProjectForPDMViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectId | integer |
None. |
|
| ProjectName | string |
None. |
|
| ClientId | integer |
None. |
|
| ClientName | string |
None. |
|
| ProjectTypeId | byte |
None. |
|
| ProjectType | string |
None. |
|
| PopulationId | byte |
None. |
|
| Population | string |
None. |
|
| SampleId | integer |
None. |
|
| ProductType | integer |
None. |
|
| ProductLine | integer |
None. |
|
| flg_flushot | boolean |
None. |
|
| pop_smoke | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ProjectId": 1,
"ProjectName": "sample string 2",
"ClientId": 3,
"ClientName": "sample string 4",
"ProjectTypeId": 64,
"ProjectType": "sample string 5",
"PopulationId": 64,
"Population": "sample string 6",
"SampleId": 7,
"ProductType": 1,
"ProductLine": 1,
"flg_flushot": true,
"pop_smoke": true
},
{
"ProjectId": 1,
"ProjectName": "sample string 2",
"ClientId": 3,
"ClientName": "sample string 4",
"ProjectTypeId": 64,
"ProjectType": "sample string 5",
"PopulationId": 64,
"Population": "sample string 6",
"SampleId": 7,
"ProductType": 1,
"ProductLine": 1,
"flg_flushot": true,
"pop_smoke": true
}
]
application/xml, text/xml
Sample:
<ArrayOfProjectForPDMViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Enterprise.Authorization.Models">
<ProjectForPDMViewModel>
<ClientId>3</ClientId>
<ClientName>sample string 4</ClientName>
<Population>sample string 6</Population>
<PopulationId>64</PopulationId>
<ProductLine>1</ProductLine>
<ProductType>1</ProductType>
<ProjectId>1</ProjectId>
<ProjectName>sample string 2</ProjectName>
<ProjectType>sample string 5</ProjectType>
<ProjectTypeId>64</ProjectTypeId>
<SampleId>7</SampleId>
<flg_flushot>true</flg_flushot>
<pop_smoke>true</pop_smoke>
</ProjectForPDMViewModel>
<ProjectForPDMViewModel>
<ClientId>3</ClientId>
<ClientName>sample string 4</ClientName>
<Population>sample string 6</Population>
<PopulationId>64</PopulationId>
<ProductLine>1</ProductLine>
<ProductType>1</ProductType>
<ProjectId>1</ProjectId>
<ProjectName>sample string 2</ProjectName>
<ProjectType>sample string 5</ProjectType>
<ProjectTypeId>64</ProjectTypeId>
<SampleId>7</SampleId>
<flg_flushot>true</flg_flushot>
<pop_smoke>true</pop_smoke>
</ProjectForPDMViewModel>
</ArrayOfProjectForPDMViewModel>