Create sundry document
You use this method to create a new sundry document.
Request method
POST
Request url
https://ponte.venice.be/webconnect/api/{DossierId}/{FinancialYear}/Sundry
Context identification
Identification | Description |
---|---|
DossierId | The unique identifier of the dossier. |
FinancialYear | The financial year. |
https://ponte.venice.be/webconnect/api/Demo/2021/Sundry
Request header
See request header.
Request body
Structure
Request (object)
- Sundries (array)
- Sundry (limited to one) (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
{ "Request": { "Sundries": { "Sundry": [ { "Fields": { "BookDate": "2021-03-14", "Book": "DIV" }, "Entries": { "Entry": [ { "Fields": { "AmountDocC": "100.00", "Account": "6302" "AmountDetC": "100.00", "DetC": "EUR", } }, { "Fields": { "AmountDocC": "-100.00", "Account": "2419" "AmountDetC": "-100.00", "DetC": "EUR", } } ] } } ] } } }
<?xml version="1.0" encoding="utf-8"?> <Request> <Sundries> <Sundry> <Fields> <BookDate>2021-03-14</BookDate> <Book>ING</Book> </Fields> <Entries> <Entry> <Fields> <AmountDocC>100.00</AmountDocC> <Account>6302</Account> <AmountDetC>100.00</AmountDetC> <DetC>EUR</DetC> </Fields> </Entry> <Entry> <Fields> <AmountDocC>-100.00</AmountDocC> <Account>2419</Account> <AmountDetC>-100.00</AmountDetC> <DetC>EUR</DetC> </Fields> </Entry> </Entries> </Sundry> </Sundries> </Request>
Http status
See http status.Response body
You can receive the response in json or xml.
Structure
Response (object)
- System number
Examples
{ "Response": { "SystemNumber": "6" } }
<?xml version="1.0" encoding="utf-8"?> <Response> <SystemNumber>6</SystemNumber> </Response>