ReportResponse[PayrunPaymentsReport]

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
PayrunPaymentsReport {PayrunPaymentsReport}
{
  "type": "string",
  "content": "string",
  "model": {
    "taxYear": "Year2017",
    "payPeriod": "Monthly",
    "period": 0,
    "from": "2019-11-14T10:47:59",
    "to": "2019-11-14T10:47:59",
    "payments": [
      {
        "type": "Employee",
        "payee": {
          "id": "string",
          "name": "string",
          "metadata": {},
          "url": "string"
        },
        "date": "2019-11-14T10:47:59",
        "method": "Cash",
        "amount": 0.0,
        "reference": "string",
        "bankDetails": {
          "bankName": "string",
          "bankBranch": "string",
          "bankReference": "string",
          "accountName": "string",
          "accountNumber": "string",
          "sortCode": "string",
          "note": "string"
        },
        "bacsHash": "string"
      }
    ]
  }
}
Contained in Models

- none -

Consumed by Operations

- none -

Returned by Operations
PayRun Payments