POST api/Project/AddIssueStatus
Request Information
URI Parameters
None.
Body Parameters
ItemStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| ForeColor | string |
None. |
|
| BackColor | string |
None. |
|
| IsDefault | boolean |
None. |
|
| Sort | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Description": "sample string 2",
"ForeColor": "sample string 3",
"BackColor": "sample string 4",
"IsDefault": true,
"Sort": 6
}
application/xml, text/xml
Sample:
<ItemStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api"> <BackColor>sample string 4</BackColor> <Description>sample string 2</Description> <ForeColor>sample string 3</ForeColor> <Id>1</Id> <IsDefault>true</IsDefault> <Sort>6</Sort> </ItemStatus>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ItemStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| ForeColor | string |
None. |
|
| BackColor | string |
None. |
|
| IsDefault | boolean |
None. |
|
| Sort | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Description": "sample string 2",
"ForeColor": "sample string 3",
"BackColor": "sample string 4",
"IsDefault": true,
"Sort": 6
},
{
"Id": 1,
"Description": "sample string 2",
"ForeColor": "sample string 3",
"BackColor": "sample string 4",
"IsDefault": true,
"Sort": 6
}
]
application/xml, text/xml
Sample:
<ArrayOfItemStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api">
<ItemStatus>
<BackColor>sample string 4</BackColor>
<Description>sample string 2</Description>
<ForeColor>sample string 3</ForeColor>
<Id>1</Id>
<IsDefault>true</IsDefault>
<Sort>6</Sort>
</ItemStatus>
<ItemStatus>
<BackColor>sample string 4</BackColor>
<Description>sample string 2</Description>
<ForeColor>sample string 3</ForeColor>
<Id>1</Id>
<IsDefault>true</IsDefault>
<Sort>6</Sort>
</ItemStatus>
</ArrayOfItemStatus>