API - Update Entry (Boeking)


Resource:
/acumulus/stable/entry/entry_update.php
Since API:
Available for authenticated:
API gebruiker
Available for authenticated:
API beheerder
Communication:
Basic submit, including below structure

Support voor testmode :
Support voor inodes :

Submit

<?xml version="1.0" encoding="UTF-8"?>
<myxml>
    ...
    <testmode></testmode>
    <lang></lang>
    <inodes></inodes>
    ...
    <entryid></entryid>
    <paymentdate></paymentdate>
    <paymentstatus></paymentstatus>
    <accountnumber></accountnumber>
    <invoicelayoutid></invoicelayoutid>
    <costcenterid></costcenterid>
    <contactid></contactid>
    <entryfilename></entryfilename>
    <entryfile></entryfile>
<myxml>

entryid mandatory
Numeric identifier.

paymentdate
Date of payment.

paymentstatus

Paymentstatus
Description
1
Due
2
Paid

accountnumber
The accountnumber correlates to the bank account identifier of the Acumulus contract owner. The value is provided as a numeric identifier. When omitted, or when no match has been made possible, the first available account in the contract will be selected. Please note that only references to active accountnumbers are allowed. A list of available API-identifiers can be retrieved using a special picklist API call or through the bank accounts overview in Acumulus.

invoicelayoutid
Numeric identifier for the used invoice template / layout. A list of available API-identifiers can be retrieved using a special picklist API call or through the invoice templates overview in Acumulus. (Only applicable to outgoing invoices.)

costcenterid
Numeric identifier for the costcenter.

contactid
Numeric identifier for the contact.

entryfilename
Descriptive name for the file. I.e: "screenshot.jpg". Mandatory when submitting an entryfile.

entryfile
Base64-encoded string containing the actual file. May be limited to data-limits or other restrictions on the contract at hand.


Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
    ...
    <testmode></testmode>
    <entry>
        <entryid></entryid>
        <entryproc></entryproc>
        <entryfile></entryfile>
        <entryfileaccepted></entryfileaccepted>
        <entryfilename></entryfilename>
        <entryfiletype></entryfiletype>
        <entrypaymentdate></entrypaymentdate>
        <entrypaymentstatus></entrypaymentstatus>
        <entrycontactid></entrycontactid>
        <entryinvoicelayoutid></entryinvoicelayoutid>
        <entryaccountnumber></entryaccountnumber>
    </entry>
</response>

entryid
Identifier at which the update was applied to.

entrypaymentdate
Date of payment.

entrypaymentstatus

Paymentstatus
Description
1
Due
2
Paid

entrycontactid
Contact ID of entry.

entryinvoicelayoutid
ID of invoicelayout applied to update.

entryaccountnumber
Accountnumber applied to entry update.

entryproc
Either "updated" when successful, "error" when not able to propagate the update or "no changes made" when an exception is raised.

entryfile

Option
Description
0
No file processing
1
File processing activated

entryfileaccepted

Option
Description
0
No
1
Yes

entryfilename
Final name given to the file. Usually similar to the name suggestion supplied in the submitted XML. However some characters may be removed or replaced.

entryfiletype
MIME-type of supplied file.