POST api/Project/AddIssueType
Request Information
URI Parameters
None.
Body Parameters
IssueTypeName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Description": "sample string 2" }
application/xml, text/xml
Sample:
<IssueType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api"> <Description>sample string 2</Description> <Id>1</Id> </IssueType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of IssueTypeName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Description | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Description": "sample string 2" }, { "Id": 1, "Description": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfIssueType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api"> <IssueType> <Description>sample string 2</Description> <Id>1</Id> </IssueType> <IssueType> <Description>sample string 2</Description> <Id>1</Id> </IssueType> </ArrayOfIssueType>