POST api/specPoints/saveEstPoints
save estimated points based on a spec item
Request Information
URI Parameters
None.
Body Parameters
SaveEstPointsBinder| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectId | integer |
Required |
|
| SpecId | integer |
Required |
|
| ModuleId | integer |
Required |
|
| OwnerId | integer |
None. |
|
| Points | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"ProjectId": 1,
"SpecId": 2,
"ModuleId": 3,
"OwnerId": 4,
"Points": 5
}
application/xml, text/xml
Sample:
<SaveEstPointsBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <ModuleId>3</ModuleId> <OwnerId>4</OwnerId> <Points>5</Points> <ProjectId>1</ProjectId> <SpecId>2</SpecId> </SaveEstPointsBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
save estimated points based on a spec item
ApiReturn| Name | 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>