GET api/Project?projectId={projectId}
Get project info based on project id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Get project info based on project id
API_Data_ProjectModelName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | ProjectModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "ProjectID": 1, "IsActive": true, "ProjectName": "sample string 3", "ProjectType": 4, "IsSampleProject": 5 } }
application/xml, text/xml
Sample:
<API_Data_ProjectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsSampleProject>5</d2p1:IsSampleProject> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:ProjectName>sample string 3</d2p1:ProjectName> <d2p1:ProjectType>4</d2p1:ProjectType> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ProjectModel>