WarningsReportReportResponse

Used to encapsulate a response for any of the reports.
See the Introduction Guide for Reports for more details

Name / Description Type / Format Example
type
The content-type, this would usually be the same as the accept header you provided when you requested the report
string "string"
content
Contains the filename for application/octet-stream, HTML or other text content depending on Type.
For the deprecated application/pdf type, this contains a link to the PDF file; its end-of-life date is 1st February 2027.
string "string"
model WarningsReport {WarningsReport}
stream
Contains PDF bytes when Type is application/octet-stream.
string byte "string"
{
  "type": "string",
  "content": "string",
  "model": {
    "lines": [
      {
        "payrollCode": "string",
        "employeeName": "string",
        "warningType": "MissingBankDetails",
        "warningMessage": "string"
      }
    ],
    "taxYear": "Year2017"
  },
  "stream": "string"
}
Contained in Models

- none -

Consumed by Operations

- none -

Returned by Operations
Export Payroll Run Warnings