POST Report/UpdateCustomDefectType?pageId={pageId}&objectId={objectId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageId | integer |
Required |
|
objectId | integer |
Required |
Body Parameters
ReportDefectTypesDTIName | Description | Type | Additional information |
---|---|---|---|
CurrentUserId | integer |
None. |
|
CurrentUserProfileId | integer |
None. |
|
RequestId | integer |
None. |
|
DefectTypes | Collection of DefectTypeValueDTI |
None. |
Request Formats
application/json, text/json
Sample:
{ "CurrentUserId": 1, "CurrentUserProfileId": 2, "RequestId": 3, "DefectTypes": [ { "Id": 1, "Value": "sample string 1" }, { "Id": 1, "Value": "sample string 1" } ] }
application/xml, text/xml
Sample:
<ReportDefectTypesDTI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BasicQA.Models.Report"> <CurrentUserId>1</CurrentUserId> <CurrentUserProfileId>2</CurrentUserProfileId> <DefectTypes> <DefectTypeValueDTI> <Id>1</Id> <Value>sample string 1</Value> </DefectTypeValueDTI> <DefectTypeValueDTI> <Id>1</Id> <Value>sample string 1</Value> </DefectTypeValueDTI> </DefectTypes> <RequestId>3</RequestId> </ReportDefectTypesDTI>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>