Read financial documents
You use this method to read one or more financial documents.
Request method
GET
Request url
https://ponte.venice.be/webconnect/api/{DossierId}/{FinancialYear}/Financial?{Key}={KeyValues}[&fields={FieldList}][&entryFields={FieldList}][&analyticalCentreFields={FieldList}][&analyticalUnitFields={FieldList}]
Context identification
| Identification | Description |
|---|---|
| DossierId | The unique identifier of the dossier. |
| FinancialYear | The financial year. |
Parameters
| Parameter | Description |
|---|---|
| {Key} | The available keys to seek one or more financial: |
| Fields | List of fields, containing property names of the financial document, of which the value has to be returned in the response body. (optional) |
| EntryFields | List of entry fields, containing property names of the accounting detail, of which the value has to be returned in the response body. (optional) |
| AnalyticalCentreFields | List of analytical centre fields, containing property names of the analytical detail, of which the value has to be returned in the response body. (optional) |
| AnalyticalUnitFields | List of analytical unit fields, containing property names of the analytical detail, of which the value has to be returned in the response body. (optional) |
https://ponte.venice.be/WebConnect/api/Demo/2021/Financial?SystemNumber=1&fields=TotalDocC&entryFields=AmountDocC,Account&analyticalCentreFields=-&analyticalUnitFields=-
Request header
See request header.
Request body
-Http status
See http status.Response body
You can receive the response in json or xml.
Structure
Response (object)
- Financials (array)
- Financial (array item)
- Fields (object)
- Entries (array)
- Entry (array item)
- Fields (object)
- AnalyticalCentres (array)
- AnalyticalCentre (array item)
- Fields (object)
- AnalyticalUnits (array)
- AnalyticalUnit (array item)
- Fields (object)
Examples
{
"Response": {
"Financials": {
"Financial": [
{
"Fields": {
"TotalDocC": "100.00"
},
"Entries": {
"Entry": [
{
"Fields": {
"AmountDocC": "100.00",
"Account": "5500002"
}
},
{
"Fields": {
"AmountDocC": "-100.00",
"Account": "400000000001"
}
}
]
}
}
]
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<Response>
<Financials>
<Financial>
<Fields>
<TotalDocC>100.00</TotalDocC>
</Fields>
<Entries>
<Entry>
<Fields>
<AmountDocC>100.00</AmountDocC>
<Account>5500002</Account>
</Fields>
</Entry>
<Entry>
<Fields>
<AmountDocC>-100.00</AmountDocC>
<Account>400000000001</Account>
</Fields>
</Entry>
</Entries>
</Financial>
</Financials>
</Response>