POST Report/UpdateReport?pageId={pageId}&objectId={objectId}&requestId={requestId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageId

integer

Required

objectId

integer

Required

requestId

integer

Required

Body Parameters

Collection of DefectType
NameDescriptionTypeAdditional information
DefectTypeDescription

string

None.

DefectTypeGroupId

integer

None.

DefectTypeGroupName

string

None.

CriticalIsEditable

boolean

None.

MajorIsEditable

boolean

None.

MinorIsEditable

boolean

None.

Ord

integer

None.

DefectTypeId

integer

None.

Critical

integer

None.

Major

integer

None.

Minor

integer

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "DefectTypeDescription": "sample string 1",
    "DefectTypeGroupId": 2,
    "DefectTypeGroupName": "sample string 3",
    "CriticalIsEditable": true,
    "MajorIsEditable": true,
    "MinorIsEditable": true,
    "Ord": 7,
    "DefectTypeId": 8,
    "Critical": 9,
    "Major": 10,
    "Minor": 11,
    "Comment": "sample string 12"
  },
  {
    "DefectTypeDescription": "sample string 1",
    "DefectTypeGroupId": 2,
    "DefectTypeGroupName": "sample string 3",
    "CriticalIsEditable": true,
    "MajorIsEditable": true,
    "MinorIsEditable": true,
    "Ord": 7,
    "DefectTypeId": 8,
    "Critical": 9,
    "Major": 10,
    "Minor": 11,
    "Comment": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDefectType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BasicQA.Models.Report">
  <DefectType>
    <Comment>sample string 12</Comment>
    <Critical>9</Critical>
    <DefectTypeId>8</DefectTypeId>
    <Major>10</Major>
    <Minor>11</Minor>
    <CriticalIsEditable>true</CriticalIsEditable>
    <DefectTypeDescription>sample string 1</DefectTypeDescription>
    <DefectTypeGroupId>2</DefectTypeGroupId>
    <DefectTypeGroupName>sample string 3</DefectTypeGroupName>
    <MajorIsEditable>true</MajorIsEditable>
    <MinorIsEditable>true</MinorIsEditable>
    <Ord>7</Ord>
  </DefectType>
  <DefectType>
    <Comment>sample string 12</Comment>
    <Critical>9</Critical>
    <DefectTypeId>8</DefectTypeId>
    <Major>10</Major>
    <Minor>11</Minor>
    <CriticalIsEditable>true</CriticalIsEditable>
    <DefectTypeDescription>sample string 1</DefectTypeDescription>
    <DefectTypeGroupId>2</DefectTypeGroupId>
    <DefectTypeGroupName>sample string 3</DefectTypeGroupName>
    <MajorIsEditable>true</MajorIsEditable>
    <MinorIsEditable>true</MinorIsEditable>
    <Ord>7</Ord>
  </DefectType>
</ArrayOfDefectType>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IEnumerable`1'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>