Read sundry documents
You use this method to read one or more sundry documents.
Request method
GET
Request url
https://ponte.venice.be/webconnect/api/{DossierId}/{FinancialYear}/Sundry?{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 sundry: |
Fields | List of fields, containing property names of the sundry 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/Sundry?SystemNumber=1&fields=BookDate,Book&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)
- Sundries (array)
- Sundry (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": { "Sundries": { "Sundry": [ { "Fields": { "BookDate": "2021-03-14", "Book": "DIV" }, "Entries": { "Entry": [ { "Fields": { "AmountDocC": "100.00", "Account": "6302" } }, { "Fields": { "AmountDocC": "-100.00", "Account": "2419" } } ] } } ] } } }
<?xml version="1.0" encoding="utf-8"?> <Response> <Sundries> <Sundry> <Fields> <BookDate>2021-03-14</BookDate> <Book>ING</Book> </Fields> <Entries> <Entry> <Fields> <AmountDocC>100.00</AmountDocC> <Account>6302</Account> </Fields> </Entry> <Entry> <Fields> <AmountDocC>-100.00</AmountDocC> <Account>2419</Account> </Fields> </Entry> </Entries> </Sundry> </Sundries> </Response>