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
|
CisStatement[]
|
{CisStatement}
|
|
stream
byte array
|
string
byte
|
"string"
|
{
"type": "string",
"content": "string",
"model": [
{
"taxYear": "Year2017",
"taxMonth": 0,
"contractorName": "string",
"contractorAddress": {
"line1": "string",
"line2": "string",
"line3": "string",
"line4": "string",
"line5": "string",
"postCode": "string",
"country": "England",
"foreignCountry": "string"
},
"contractorOfficeNumber": "string",
"contractorPayeReference": "string",
"subcontractorName": {
"ttl": "string",
"fore": [
"string"
],
"initials": "string",
"sur": "string"
},
"subContractorUtr": "string",
"verificationNumber": "string",
"grossAmountPaid": 0.0,
"costOfMaterials": 0.0,
"amountLiableToDeduction": 0.0,
"amountDeducted": 0.0,
"amountPayable": 0.0
}
],
"stream": "string"
}