POST Report/UpdateRequest?pageId={pageId}&objectId={objectId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageId

integer

Required

objectId

integer

Required

Body Parameters

RequestDTI
NameDescriptionTypeAdditional information
InspectionOptionIds

Collection of ObjectId

None.

InspectionTypeId

integer

None.

OrderIds

Collection of ObjectId

None.

CheckedPcs

integer

None.

RequestId

integer

None.

Report

Collection of DefectTypeGroup

None.

Request Formats

application/json, text/json

Sample:
{
  "InspectionOptionIds": [
    {
      "Id": 1
    },
    {
      "Id": 1
    }
  ],
  "InspectionTypeId": 1,
  "OrderIds": [
    {
      "Id": 1
    },
    {
      "Id": 1
    }
  ],
  "CheckedPcs": 1,
  "RequestId": 2,
  "Report": [
    {
      "DefectTypeGroupId": 1,
      "DefectTypeGroupName": "sample string 2",
      "CategoryId": 3,
      "IsCritical": true,
      "IsCustom": true,
      "SumCritical": 6,
      "SumMajor": 7,
      "SumMinor": 8,
      "Ord": 9,
      "DefectTypes": [
        {
          "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"
        }
      ]
    },
    {
      "DefectTypeGroupId": 1,
      "DefectTypeGroupName": "sample string 2",
      "CategoryId": 3,
      "IsCritical": true,
      "IsCustom": true,
      "SumCritical": 6,
      "SumMajor": 7,
      "SumMinor": 8,
      "Ord": 9,
      "DefectTypes": [
        {
          "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:
<RequestDTI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BasicQA.Models.Report">
  <Report>
    <DefectTypeGroup>
      <CategoryId>3</CategoryId>
      <DefectTypeGroupId>1</DefectTypeGroupId>
      <DefectTypeGroupName>sample string 2</DefectTypeGroupName>
      <DefectTypes>
        <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>
      </DefectTypes>
      <IsCritical>true</IsCritical>
      <IsCustom>true</IsCustom>
      <Ord>9</Ord>
      <SumCritical>6</SumCritical>
      <SumMajor>7</SumMajor>
      <SumMinor>8</SumMinor>
    </DefectTypeGroup>
    <DefectTypeGroup>
      <CategoryId>3</CategoryId>
      <DefectTypeGroupId>1</DefectTypeGroupId>
      <DefectTypeGroupName>sample string 2</DefectTypeGroupName>
      <DefectTypes>
        <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>
      </DefectTypes>
      <IsCritical>true</IsCritical>
      <IsCustom>true</IsCustom>
      <Ord>9</Ord>
      <SumCritical>6</SumCritical>
      <SumMajor>7</SumMajor>
      <SumMinor>8</SumMinor>
    </DefectTypeGroup>
  </Report>
  <RequestId>2</RequestId>
  <CheckedPcs>1</CheckedPcs>
  <InspectionOptionIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/Basic.Sso.Model.Authentication">
    <d2p1:ObjectId>
      <d2p1:Id>1</d2p1:Id>
    </d2p1:ObjectId>
    <d2p1:ObjectId>
      <d2p1:Id>1</d2p1:Id>
    </d2p1:ObjectId>
  </InspectionOptionIds>
  <InspectionTypeId>1</InspectionTypeId>
  <OrderIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/Basic.Sso.Model.Authentication">
    <d2p1:ObjectId>
      <d2p1:Id>1</d2p1:Id>
    </d2p1:ObjectId>
    <d2p1:ObjectId>
      <d2p1:Id>1</d2p1:Id>
    </d2p1:ObjectId>
  </OrderIds>
</RequestDTI>

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 'RequestDTI'.

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>