POST api/Project/UpdateOverview
Update the overview for a given project based on project ID
Request Information
URI Parameters
None.
Body Parameters
overview
ProjectOverviewModelName | Description | Type | Additional information |
---|---|---|---|
ProjectID | integer |
None. |
|
ProjectName | string |
None. |
|
ProjectDescription | string |
None. |
|
ProjectAdministrators | Collection of integer |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectID": 1, "ProjectName": "sample string 2", "ProjectDescription": "sample string 3", "ProjectAdministrators": [ 1, 2 ], "IsActive": true }
application/xml, text/xml
Sample:
<ProjectOverviewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities"> <IsActive>true</IsActive> <ProjectAdministrators xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ProjectAdministrators> <ProjectDescription>sample string 3</ProjectDescription> <ProjectID>1</ProjectID> <ProjectName>sample string 2</ProjectName> </ProjectOverviewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Update the overview for a given project based on project ID
ApiReturnName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" } }
application/xml, text/xml
Sample:
<ApiReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </ApiReturn>