CostOfEmploymentReportReportResponse

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 CostOfEmploymentReport {CostOfEmploymentReport}
stream
byte array
string byte "string"
{
  "type": "string",
  "content": "string",
  "model": {
    "hasDepartments": true,
    "lines": [
      {
        "pay": 0.0,
        "employerNic": 0.0,
        "pension": 0.0,
        "aeoFees": 0.0,
        "statPayReclaim": 0.0,
        "totalCost": 0.0,
        "employee": {
          "id": "string",
          "name": "string",
          "metadata": {},
          "url": "string"
        },
        "payrollCode": "string",
        "department": "string"
      }
    ],
    "employer": {
      "id": "string",
      "name": "string",
      "metadata": {},
      "url": "string"
    },
    "payPeriod": "Custom",
    "ordinal": 0,
    "period": 0,
    "periodTo": 0,
    "startPeriodName": "string",
    "endPeriodName": "string",
    "startDate": "2024-11-23",
    "endDate": "2024-11-23",
    "report": "GrossToNet",
    "taxYear": "Year2017",
    "title": "string",
    "isDraft": true
  },
  "stream": "string"
}
Contained in Models

- none -

Consumed by Operations

- none -

Returned by Operations
Cost Of Employment