GET api/Project/BugTypes?projectId={projectId}

Get bug/task types for a project

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

Project ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Get bug/task types for a project

API_Data_DictionaryOfInt32AndTBugType
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Dictionary of integer [key] and TBugType [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "1": {
      "BugTypeId": 1,
      "BugTypeName": "sample string 2",
      "StatusId": 1,
      "DisplayOrder": 1,
      "ChoiceName": "sample string 2",
      "OrderNo": 1,
      "IsActive": true
    },
    "2": {
      "BugTypeId": 1,
      "BugTypeName": "sample string 2",
      "StatusId": 1,
      "DisplayOrder": 1,
      "ChoiceName": "sample string 2",
      "OrderNo": 1,
      "IsActive": true
    }
  }
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfKeyValueOfintTBugTypeBgG597TJ 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.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfintTBugTypeBgG597TJ>
      <d2p1:Key>1</d2p1:Key>
      <d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Project">
        <d4p1:BugTypeId>1</d4p1:BugTypeId>
        <d4p1:BugTypeName>sample string 2</d4p1:BugTypeName>
        <d4p1:DisplayOrder>1</d4p1:DisplayOrder>
        <d4p1:StatusId>1</d4p1:StatusId>
      </d2p1:Value>
    </d2p1:KeyValueOfintTBugTypeBgG597TJ>
    <d2p1:KeyValueOfintTBugTypeBgG597TJ>
      <d2p1:Key>2</d2p1:Key>
      <d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Project">
        <d4p1:BugTypeId>1</d4p1:BugTypeId>
        <d4p1:BugTypeName>sample string 2</d4p1:BugTypeName>
        <d4p1:DisplayOrder>1</d4p1:DisplayOrder>
        <d4p1:StatusId>1</d4p1:StatusId>
      </d2p1:Value>
    </d2p1:KeyValueOfintTBugTypeBgG597TJ>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfKeyValueOfintTBugTypeBgG597TJ>