Aggregate service
The Aggregate service is aimed to aggregate bank transactions of a household (or client) and combine this with the profile of the household. In the contrary to the Pivot service, the transactions are now organized to a personalized scheme. The scheme also contains underlying system categories.
LinX offers the following aggregate results:
- Averages per category per month
- A household profile, containing the by LinX detectable values.
The Aggregate Service requires at least twelve months of data as input, else it will throw an error.
Calling the Aggregate service
Endpoint: https://linx.invers.nl:8100/api/linx/aggregate
Method: POST
Header: ApiKey: string (required)
X-Request-ID: string (required)
ClientId: string (optional)
InputHash: string (optional)
SchemaId: int (optional)
In the absence of a Schema ID, our standard scheme will be used
Body: Data: byte[] (required)
Errors: 400, 403 or 500
Information
Field | Type | Description |
---|---|---|
Aggregated | Aggregated | Aggregate according to scheme |
Profile | Household | Profile based on Nibud |
Aggregated
Field | Type | Description |
---|---|---|
Id | Integer | Internal parameter |
Name | String | Scheme name |
Title | String | Scheme title |
Description | String | Internal parameter |
Nodes | Array of Nodes | |
Transactions | Integer | Number of transactions |
Categorized | Integer | Number of transactions with a category |
Amount | Decimal | Total amount |
Debit | Decimal | Total debited |
Credit | Decimal | Totaal credited |
From | Date | Date of first transaction |
To | Date | Date of last transaction |
Imported | boolean | Internal parameter |
Node
Contains information about groups
Field | Type | Description |
---|---|---|
Id | Integer | Group identifier |
Name | String | Group name |
Title | String | Group title |
Description | String | Internal Parameter |
Tooltip | String | Internal Parameter |
Type | Enum | Internal Parameter |
Costtype | Enum | Internal Parameter |
Voorbeeld | Integer | Internal Parameter |
Basis | Integer | Internal Parameter |
Nodes | Array of Nodes | |
Categories | Array of Category | Rubrieken |
Posten | Array of Items | Nibud items |
Amount | Decimal | |
Value | Decimal | Rounded off amount |
InterpolatedAmount | Decimal | |
isEnabled | boolean | Internal Parameter |
isVisible | boolean | Internal Parameter |
SyncKey | UUID | Internal Parameter |
Category
Field | Type | Description |
---|---|---|
Id | Integer | Category identifier |
Name | String | Category name |
Type | Enum | Category type: None = 0 Income = 1 Expenses = 2 |
Amount | Decimal | |
Value | Integer | Rounded off amount |
Count | Integer | Internal parameter |
Items
Item (Or Posts) are part of the Nibud scheme.
Field | Type | Description |
---|---|---|
Id | Integer | Item identifier |
Post | String | Item |
Name | String | Item name |
Voorbeeld | Integer | Internal parameter |
Basis | Integer | Internal parameter |
Profile
Field | Type | Description |
---|---|---|
BesteedbaarInkomen | Decimal | Net disposable income per month |
Hoofdpersonen | Array of main characters | Main household characters |
Huisgenoten | Array of Housemates | Housemates of the household |
Kinderen | Array of Children | Children |
Autos | Array of Cars | Cars |
Woning | Residence | Information on the residence |
Incomes | Array | Information on the income sources |
For more information on the contents of the profile output, see Profiling Service.
Output (example)
{
"aggregated": {
"id": 0,
"name": "string",
"title": "string",
"description": "string",
"nodes": [
{
"id": 0,
"name": "string",
"title": "string",
"description": "string",
"tooltip": "string",
"type": "none",
"costType": "none",
"voorbeeld": 0,
"basis": 0,
"nodes": [
null
],
"categories": [
{
"id": 0,
"name": "string",
"type": "none",
"amount": 0,
"value": 0,
"count": 0
}
],
"posten": [
{
"id": 0,
"post": "string",
"name": "string",
"voorbeeld": 0,
"basis": 0
}
],
"amount": 0,
"value": 0,
"interpolatedAmount": 0,
"isEnabled": true,
"isVisible": true,
"syncKey": "string"
}
],
"transactions": 0,
"categorized": 0,
"amount": 0,
"debit": 0,
"credit": 0,
"from": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"to": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"imported": true
},
"profile": {
"besteedbaarInkomen": 0,
"hoofdpersonen": [
{
"valid": true,
"geboortedatum": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"geslacht": "man",
"eigenRisico": "categorie1"
}
],
"huisgenoten": [
{
"valid": true,
"geboortedatum": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"geslacht": "man"
}
],
"kinderen": [
{
"valid": true,
"geboortedatum": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"geslacht": "man",
"schooltype": "basis",
"woonsituatie": "thuiswonend",
"leeftijd": "nul_tot_en_met_vijf",
"kinderbijslag": 0,
"toelichting": "string"
}
],
"autos": [
{
"valid": true,
"kilometersPerJaar": 0,
"nieuwwaarde": 0,
"status": "nieuw",
"soort": "geen",
"kilometer": "less_Then_10000",
"voertuig": {
"kenteken": "string",
"voertuigsoort": "string",
"merk": "string",
"handelsbenaming": "string",
"inrichting": "string",
"datum_tenaamstelling": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"zuinigheidslabel": "string",
"catalogusprijs": 0,
"aantal_zitplaatsen": 0,
"vervaldatum_apk": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"type": "string",
"variant": "string",
"taxi_indicator": "string",
"wam_verzekerd": "string",
"api_gekentekende_voertuigen_brandstof": "string",
"brandstof": [
{
"brandstof_omschrijving": "string",
"brandstof_volgnummer": 0,
"brandstofverbruik_buiten": 0,
"brandstofverbruik_gecombineerd": 0,
"brandstofverbruik_stad": 0,
"co2_uitstoot_gecombineerd": 0,
"emissiecode_omschrijving": "string",
"geluidsniveau_stationair": 0,
"kenteken": "string",
"milieuklasse_eg_goedkeuring_licht": "string",
"nettomaximumvermogen": 0,
"toerental_geluidsniveau": 0
}
]
}
}
],
"woning": {
"wozWaarde": 0,
"woz": "less_Then_150000",
"valid": true,
"bouwjaar": "na2001",
"energielabel": "a",
"soort": "huurwoning",
"typeWoning": "vrijstaandGroot",
"huurPerMaand": 0,
"hypotheekPerMaand": 0,
"gemeenteId": 0,
"adres": {
"id": "string",
"default": true,
"street": "string",
"houseNumber": "string",
"houseNumberAddition": "string",
"zipcode": "string",
"city": {
"id": "string",
"name": "string"
},
"municipality": {
"id": "string",
"name": "string"
},
"province": {
"id": "string",
"name": "string"
},
"country": "string",
"type": "string",
"purpose": "unknown",
"surface": 0,
"surfaceArea": 0,
"latitude": 0,
"longitude": 0
}
},
"incomes": [
{
"id": 0,
"partner": true,
"title": "string",
"tooltip": "string",
"unit": "none",
"div": 0,
"value": 0,
"categories": [
{
"id": 0,
"amount": 0
}
]
}
]
}
}