ReportResponse[P11]

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
This could contain a link to a PDF file, HTML content or other content, depending on the Type value.
string "string"
model
If the type is application.json then this will contain a JSON representation of the relevant model
P11 {P11}
{
  "type": "string",
  "content": "string",
  "model": {
    "taxYear": "Year2017",
    "employerName": "string",
    "payrollCode": "string",
    "employerOfficeNo": "string",
    "employerPayeRef": "string",
    "firstname": "string",
    "surname": "string",
    "niNumber": "string",
    "taxCode": "string",
    "dateOfBirth": "2019-11-13T21:54:11",
    "joinDate": "2019-11-13T21:54:11",
    "leaveDate": "2019-11-13T21:54:11",
    "lines": [
      {
        "period": "string",
        "grossTaxablePay": 0.0,
        "grossTaxablePayYTD": 0.0,
        "tax": 0.0,
        "taxYTD": 0.0,
        "smpYTD": 0.0,
        "sppYTD": 0.0,
        "sapYTD": 0.0,
        "shppYTD": 0.0,
        "spbpYTD": 0.0,
        "studentLoanYTD": 0.0,
        "postgradLoanYTD": 0.0,
        "niValues": [
          {
            "table": "string",
            "period": 0.0,
            "ytd": 0.0
          }
        ]
      }
    ]
  }
}
Contained in Models

- none -

Consumed by Operations

- none -

Returned by Operations
P11