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
|
EmployeeLeaveReport
|
{EmployeeLeaveReport}
|
|
stream
byte array
|
string
byte
|
"string"
|
{
"type": "string",
"content": "string",
"model": {
"lines": [
{
"firstName": "string",
"lastName": "string",
"type": "Unauthorised",
"payment": "DoNotPay",
"payrollCode": "string",
"openEndedAbsence": true,
"percentOfPay": 0.0,
"paySSPInAddition": true,
"payFrequency": "DaysInPeriod",
"occupationalPolicy": "string",
"from": "2024-11-21",
"to": "2024-11-21",
"useOpeningPay": true,
"openingPay": 0.0,
"openingOmpPay": 0.0,
"babyDueDate": "2024-11-21",
"babyBirthDate": "2024-11-21",
"matchingDate": "2024-11-21",
"expectedPlacementDate": "2024-11-21",
"placementDate": "2024-11-21",
"deathDate": "2024-11-21",
"averageWeeklyEarnings": 0.0,
"automaticAWECalculation": true,
"calculationType": "OneThreeSixtyFifthFTE",
"strikeHoursToDeduct": 0.0,
"historicLeaveRequiresProcessing": true,
"offsetPay": true,
"useAssumedPensionablePay": true,
"automaticAPPCalculation": true,
"assumedPensionablePay": 0.0
}
],
"report": "GrossToNet",
"taxYear": "Year2017",
"title": "string",
"isDraft": true
},
"stream": "string"
}