Read general account cards

You use this method to read one or more general account cards.

Request method

GET

Request url

https://ponte.venice.be/webconnect/api/{DossierId}/GeneralAccount?{Key}={KeyValues}[&fields={FieldList}]

Context identification

Identification Description
DossierId The unique identifier of the dossier.

Parameters

Parameter Description
{Key} The available keys to seek one or more General accounts:
  • SystemNumber={SystemNumber}: Seek general account cards by system number.
  • Number={Number}: Seek general account cards by account number.
  • SyncReference={SyncReference}: Seek general account cards by synchronization reference.
Fields List of fields, containing property names of the general account card, of which the value has to be returned in the response body. (optional)
Example: Get the general account card with number '400' from dossier 'Demo' and limit the general account fields to 'Number', 'DescrNld', 'AccTypeDsc'.
https://ponte.venice.be/WebConnect/api/Demo/GeneralAccount?Number=400&fields=Number,DescrNld,AccTypeDsc

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)

Examples

{
  "Response": {
    "GeneralAccounts": {
      "GeneralAccount": [
        {
          "Fields" : {
            "Number": "400",
            "DescrNld": "Handelsdebiteuren",
            "AccTypeDsc": "Normal"
          }
        }
      ]
    }
  }
}
<?xml version="1.0" encoding="utf-8"?>
<Response>
  <GeneralAccounts>
    <GeneralAccount>
      <Fields>
        <Number>400</Number>
        <DescrNld>Handelsdebiteuren</DescrNld>
        <AccTypeDsc>Normal</AccTypeDsc>
      </Fields>
    </GeneralAccount>
  </GeneralAccounts>
</Response>