POST api/Admin/GetCustomDefectReportSettingList?projectId={projectId}

GetCustomDefectReportSetting info based on project id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

projectId

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetCustomDefectReportSetting info based on project id

API_Data_ListOfCustomDefectReportSetting
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of CustomDefectReportSetting

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "ProjectBaseFamilyID": 1,
      "DefectProjectBaseID": 2,
      "FieldID": 3,
      "ChoiceID": 4,
      "ThresholdValue": 1
    },
    {
      "ProjectBaseFamilyID": 1,
      "DefectProjectBaseID": 2,
      "FieldID": 3,
      "ChoiceID": 4,
      "ThresholdValue": 1
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfCustomDefectReportSetting 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.DevTrackDB">
    <d2p1:CustomDefectReportSetting>
      <d2p1:ChoiceID>4</d2p1:ChoiceID>
      <d2p1:DefectProjectBaseID>2</d2p1:DefectProjectBaseID>
      <d2p1:FieldID>3</d2p1:FieldID>
      <d2p1:ProjectBaseFamilyID>1</d2p1:ProjectBaseFamilyID>
      <d2p1:ThresholdValue>1</d2p1:ThresholdValue>
    </d2p1:CustomDefectReportSetting>
    <d2p1:CustomDefectReportSetting>
      <d2p1:ChoiceID>4</d2p1:ChoiceID>
      <d2p1:DefectProjectBaseID>2</d2p1:DefectProjectBaseID>
      <d2p1:FieldID>3</d2p1:FieldID>
      <d2p1:ProjectBaseFamilyID>1</d2p1:ProjectBaseFamilyID>
      <d2p1:ThresholdValue>1</d2p1:ThresholdValue>
    </d2p1:CustomDefectReportSetting>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfCustomDefectReportSetting>