API - Update Entry (Boeking)


Resource:
/acumulus/stable/entry/entry_update.php
Since API:
Authentication:
API user
Communication:
Basic submit, including below structure


Submit

<?xml version="1.0" encoding="UTF-8"?>
<myxml>
     ...
    <entryid></entryid>
    <accountnumber></accountnumber>
    <invoicelayoutid></invoicelayoutid>
    <contactid></contactid>
    <entryfilename></entryfilename>
    <entryfile></entryfile>
<myxml>

entryid mandatory
Numeric identifier.

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.

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>
    ...
    <entry>
        <entryid></entryid>
        <entryproc></entryproc>
        <entryfile></entryfile>
        <entryfileaccepted></entryfileaccepted>
        <entryfilename></entryfilename>
        <entryfiletype></entryfiletype>
    </entry>
</response>

entryid
Identifier at which the update was applied to.

entryproc
Either "updated" when successful or "error" when not able to propagate the update.

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 indicated describing the footprint of the supplied file.