GET Report/DownloadRequest?pageId={pageId}&objectId={objectId}&requestId={requestId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageId

integer

Required

objectId

integer

Required

requestId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Request
NameDescriptionTypeAdditional information
RequestHeader

RequestHeader

None.

Orders

Collection of Order

None.

InspectionOptions

Collection of InspectionOption

None.

InspectionTypes

Collection of InspectionType

None.

RequestId

integer

None.

Report

Collection of DefectTypeGroup

None.

Response Formats

application/json, text/json

Sample:
{
  "RequestHeader": {
    "CollectionId": 1,
    "CollectionName": "sample string 2",
    "CategoryId": 3,
    "CategoryName": "sample string 4",
    "SchemaId": 5,
    "StyleCode": "sample string 6",
    "StyleName": "sample string 7",
    "StyleDescriptionName": "sample string 8",
    "ImgPath": "http://sample string 9",
    "CheckedPcs": 10,
    "Defects": 11,
    "DefectsPerc": 12.0,
    "DefectsPercMajor": 13.0,
    "DefectsPercMinor": 14.0,
    "DefectsPercCritical": 15.0,
    "SourcingName": "sample string 16",
    "FactoryName": "sample string 17",
    "MinShipmentDate": "2024-08-30T12:25:34.5302937+00:00",
    "MaxShipmentDate": "2024-08-30T12:25:34.5302937+00:00",
    "StatusName": "sample string 20",
    "VisitId": 21,
    "VisitDate": "2024-08-30T12:25:34.5302937+00:00",
    "InspectorProfileId": 23
  },
  "Orders": [
    {
      "OrderWebId": 1,
      "ConfQty": 2,
      "ShipQty": 3,
      "IsFlagged": true
    },
    {
      "OrderWebId": 1,
      "ConfQty": 2,
      "ShipQty": 3,
      "IsFlagged": true
    }
  ],
  "InspectionOptions": [
    {
      "InspectionOptionId": 1,
      "InspectionOptionName": "sample string 2",
      "IsFlagged": true
    },
    {
      "InspectionOptionId": 1,
      "InspectionOptionName": "sample string 2",
      "IsFlagged": true
    }
  ],
  "InspectionTypes": [
    {
      "InspectionTypeId": 1,
      "InspectionTypeName": "sample string 2",
      "IsFlagged": true
    },
    {
      "InspectionTypeId": 1,
      "InspectionTypeName": "sample string 2",
      "IsFlagged": true
    }
  ],
  "RequestId": 1,
  "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:
<Request 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>1</RequestId>
  <InspectionOptions>
    <InspectionOption>
      <InspectionOptionId>1</InspectionOptionId>
      <InspectionOptionName>sample string 2</InspectionOptionName>
      <IsFlagged>true</IsFlagged>
    </InspectionOption>
    <InspectionOption>
      <InspectionOptionId>1</InspectionOptionId>
      <InspectionOptionName>sample string 2</InspectionOptionName>
      <IsFlagged>true</IsFlagged>
    </InspectionOption>
  </InspectionOptions>
  <InspectionTypes>
    <InspectionType>
      <InspectionTypeId>1</InspectionTypeId>
      <InspectionTypeName>sample string 2</InspectionTypeName>
      <IsFlagged>true</IsFlagged>
    </InspectionType>
    <InspectionType>
      <InspectionTypeId>1</InspectionTypeId>
      <InspectionTypeName>sample string 2</InspectionTypeName>
      <IsFlagged>true</IsFlagged>
    </InspectionType>
  </InspectionTypes>
  <Orders xmlns:d2p1="http://schemas.datacontract.org/2004/07/BasicQA.Models.Common">
    <d2p1:Order>
      <d2p1:ConfQty>2</d2p1:ConfQty>
      <d2p1:IsFlagged>true</d2p1:IsFlagged>
      <d2p1:OrderWebId>1</d2p1:OrderWebId>
      <d2p1:ShipQty>3</d2p1:ShipQty>
    </d2p1:Order>
    <d2p1:Order>
      <d2p1:ConfQty>2</d2p1:ConfQty>
      <d2p1:IsFlagged>true</d2p1:IsFlagged>
      <d2p1:OrderWebId>1</d2p1:OrderWebId>
      <d2p1:ShipQty>3</d2p1:ShipQty>
    </d2p1:Order>
  </Orders>
  <RequestHeader>
    <CategoryId>3</CategoryId>
    <CategoryName>sample string 4</CategoryName>
    <CheckedPcs>10</CheckedPcs>
    <CollectionId>1</CollectionId>
    <CollectionName>sample string 2</CollectionName>
    <Defects>11</Defects>
    <DefectsPerc>12</DefectsPerc>
    <DefectsPercCritical>15</DefectsPercCritical>
    <DefectsPercMajor>13</DefectsPercMajor>
    <DefectsPercMinor>14</DefectsPercMinor>
    <FactoryName>sample string 17</FactoryName>
    <ImgPath>http://sample string 9</ImgPath>
    <InspectorProfileId>23</InspectorProfileId>
    <MaxShipmentDate>2024-08-30T12:25:34.5302937+00:00</MaxShipmentDate>
    <MinShipmentDate>2024-08-30T12:25:34.5302937+00:00</MinShipmentDate>
    <SchemaId>5</SchemaId>
    <SourcingName>sample string 16</SourcingName>
    <StatusName>sample string 20</StatusName>
    <StyleCode>sample string 6</StyleCode>
    <StyleDescriptionName>sample string 8</StyleDescriptionName>
    <StyleName>sample string 7</StyleName>
    <VisitDate>2024-08-30T12:25:34.5302937+00:00</VisitDate>
    <VisitId>21</VisitId>
  </RequestHeader>
</Request>