POST api/Admin/SetBugGUIDisplayPage?projectId={projectId}&issueTypeId={issueTypeId}
SetBugGUIDisplayPage for a project and issuetype
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectId |
项目ID |
integer |
Required |
| issueTypeId |
Issue类型ID |
integer |
Required |
Body Parameters
Pages
Collection of TUIBugGUIDisplayPage| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectID | integer |
None. |
|
| GUIPageTemplate | integer |
None. |
|
| IncidentTypeID | integer |
None. |
|
| GUIPageID | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ProjectID": 1,
"GUIPageTemplate": 2,
"IncidentTypeID": 3,
"GUIPageID": 1
},
{
"ProjectID": 1,
"GUIPageTemplate": 2,
"IncidentTypeID": 3,
"GUIPageID": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfTUIBugGUIDisplayPage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Project">
<TUIBugGUIDisplayPage>
<GUIPageID>1</GUIPageID>
<GUIPageTemplate>2</GUIPageTemplate>
<IncidentTypeID>3</IncidentTypeID>
<ProjectID>1</ProjectID>
</TUIBugGUIDisplayPage>
<TUIBugGUIDisplayPage>
<GUIPageID>1</GUIPageID>
<GUIPageTemplate>2</GUIPageTemplate>
<IncidentTypeID>3</IncidentTypeID>
<ProjectID>1</ProjectID>
</TUIBugGUIDisplayPage>
</ArrayOfTUIBugGUIDisplayPage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SetBugGUIDisplayPage for a project and issuetype
API_Data_Int32| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": 2
}
application/xml, text/xml
Sample:
<API_Data_int xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
<Data>2</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_int>