GET api/Reports?puid={puid}

Returns all reports for a specific production unit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
puid

Production unit ID

string

Required

Body Parameters

None.

Response Information

Resource Description

Array of Report Info

Collection of ReportInfo
NameDescriptionTypeAdditional information
ID

string

None.

ReportType

ReportType

None.

DateSubmitted

date

None.

DateInspection

date

None.

InstallationName

string

None.

ReasonMeasurement

ReasonMeasurement

None.

IsConform

boolean

None.

IsRobot

boolean

None.

ValidUntil

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": "sample string 1",
    "ReportType": 0,
    "DateSubmitted": "2021-10-23T04:36:59.3235013+02:00",
    "DateInspection": "2021-10-23T04:36:59.3235013+02:00",
    "InstallationName": "sample string 4",
    "ReasonMeasurement": 0,
    "IsConform": true,
    "IsRobot": true,
    "ValidUntil": "2021-10-23T04:36:59.3235013+02:00"
  },
  {
    "ID": "sample string 1",
    "ReportType": 0,
    "DateSubmitted": "2021-10-23T04:36:59.3235013+02:00",
    "DateInspection": "2021-10-23T04:36:59.3235013+02:00",
    "InstallationName": "sample string 4",
    "ReasonMeasurement": 0,
    "IsConform": true,
    "IsRobot": true,
    "ValidUntil": "2021-10-23T04:36:59.3235013+02:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfReportInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MILControlWebApi.Models">
  <ReportInfo>
    <DateInspection>2021-10-23T04:36:59.3235013+02:00</DateInspection>
    <DateSubmitted>2021-10-23T04:36:59.3235013+02:00</DateSubmitted>
    <ID>sample string 1</ID>
    <InstallationName>sample string 4</InstallationName>
    <IsConform>true</IsConform>
    <IsRobot>true</IsRobot>
    <ReasonMeasurement>Unkown</ReasonMeasurement>
    <ReportType>MM</ReportType>
    <ValidUntil>2021-10-23T04:36:59.3235013+02:00</ValidUntil>
  </ReportInfo>
  <ReportInfo>
    <DateInspection>2021-10-23T04:36:59.3235013+02:00</DateInspection>
    <DateSubmitted>2021-10-23T04:36:59.3235013+02:00</DateSubmitted>
    <ID>sample string 1</ID>
    <InstallationName>sample string 4</InstallationName>
    <IsConform>true</IsConform>
    <IsRobot>true</IsRobot>
    <ReasonMeasurement>Unkown</ReasonMeasurement>
    <ReportType>MM</ReportType>
    <ValidUntil>2021-10-23T04:36:59.3235013+02:00</ValidUntil>
  </ReportInfo>
</ArrayOfReportInfo>