GET api/Admin/GetSubProjectLinkedAlarmDefectInfoByIDs?projectId={projectId}&SubProjectID={SubProjectID}&fresh={fresh}

GetSubProjectLinkedAlarmDefectInfoByIDs info based on project id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

projectId

integer

Required

SubProjectID

SubProjectIDs

integer

Required

fresh

fresh

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

GetSubProjectLinkedAlarmDefectInfoByIDs info based on project id

API_Data_ListOfDefectInfo
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of DefectInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "DefectChoiceID": 1,
      "DefectChoiceName": "sample string 2",
      "PlanEndDate": "2024-07-20 09:09:14",
      "ProjectID": 3,
      "ID": 4,
      "Title": "sample string 5",
      "Description": "sample string 6",
      "CrntOwnerID": 7,
      "OwnerName": "sample string 8",
      "CrntStateID": 9,
      "StateName": "sample string 10",
      "WorkDescription": "sample string 11"
    },
    {
      "DefectChoiceID": 1,
      "DefectChoiceName": "sample string 2",
      "PlanEndDate": "2024-07-20 09:09:14",
      "ProjectID": 3,
      "ID": 4,
      "Title": "sample string 5",
      "Description": "sample string 6",
      "CrntOwnerID": 7,
      "OwnerName": "sample string 8",
      "CrntStateID": 9,
      "StateName": "sample string 10",
      "WorkDescription": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfDefectInfo 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.Binding">
    <d2p1:DefectInfo>
      <d2p1:CrntOwnerID>7</d2p1:CrntOwnerID>
      <d2p1:CrntStateID>9</d2p1:CrntStateID>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:ID>4</d2p1:ID>
      <d2p1:OwnerName>sample string 8</d2p1:OwnerName>
      <d2p1:ProjectID>3</d2p1:ProjectID>
      <d2p1:StateName>sample string 10</d2p1:StateName>
      <d2p1:Title>sample string 5</d2p1:Title>
      <d2p1:WorkDescription>sample string 11</d2p1:WorkDescription>
      <d2p1:DefectChoiceID>1</d2p1:DefectChoiceID>
      <d2p1:DefectChoiceName>sample string 2</d2p1:DefectChoiceName>
      <d2p1:PlanEndDate>2024-07-20T14:09:14.6584785-07:00</d2p1:PlanEndDate>
    </d2p1:DefectInfo>
    <d2p1:DefectInfo>
      <d2p1:CrntOwnerID>7</d2p1:CrntOwnerID>
      <d2p1:CrntStateID>9</d2p1:CrntStateID>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:ID>4</d2p1:ID>
      <d2p1:OwnerName>sample string 8</d2p1:OwnerName>
      <d2p1:ProjectID>3</d2p1:ProjectID>
      <d2p1:StateName>sample string 10</d2p1:StateName>
      <d2p1:Title>sample string 5</d2p1:Title>
      <d2p1:WorkDescription>sample string 11</d2p1:WorkDescription>
      <d2p1:DefectChoiceID>1</d2p1:DefectChoiceID>
      <d2p1:DefectChoiceName>sample string 2</d2p1:DefectChoiceName>
      <d2p1:PlanEndDate>2024-07-20T14:09:14.6584785-07:00</d2p1:PlanEndDate>
    </d2p1:DefectInfo>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfDefectInfo>