POST api/Admin/AddOrEditCustomDefectReportSetting
GetCustomDefectReportSetting info based on project id
Request Information
URI Parameters
None.
Body Parameters
CustomDefectReportSetting Value
CustomDefectReportSetting| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectBaseFamilyID | integer |
None. |
|
| DefectProjectBaseID | integer |
None. |
|
| FieldID | integer |
None. |
|
| ChoiceID | integer |
None. |
|
| ThresholdValue | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProjectBaseFamilyID": 1,
"DefectProjectBaseID": 2,
"FieldID": 3,
"ChoiceID": 4,
"ThresholdValue": 1
}
application/xml, text/xml
Sample:
<CustomDefectReportSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.DevTrackDB"> <ChoiceID>4</ChoiceID> <DefectProjectBaseID>2</DefectProjectBaseID> <FieldID>3</FieldID> <ProjectBaseFamilyID>1</ProjectBaseFamilyID> <ThresholdValue>1</ThresholdValue> </CustomDefectReportSetting>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetCustomDefectReportSetting info based on project id
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>