Messaging API connector

The ecosio Messaging API uses the credentials displayed and generated in the Monitor on the Connectors page in the ERP connectors section. API connectors are set up for you by ecosio.

Interactive demo

API connector parameters

The API Parameters section of an API connector displays the parameters for messages delivered to and from ecosio.

Maximum message size

The Maximum message size parameter sets the largest document ecosio accepts or forwards.

State modes

State modes define the set of statuses the API returns. To maintain backwards compatibility, you can choose which mode the API should use. You can choose 10, 11, 12, or 13.

Mode 10

Mode 10 is the original mode and forms the basis for all other state modes.

StateFinal stateDescription
REQUEST_RECEIVEDNoecosio received the request.
RECEIVEDNoThe document type, sender, and receiver of the document are determined.
DELIVEREDNoThe message is available for the recipient to download.
PICKEDUPNoThe recipient picked up the message.
FORWARDEDNoecosio delivered the message successfully.
PROCESSEDYesThe recipient acknowledged the successful processing of the document via callback.
EXCEPTIONNoAn error occurred whilst processing or delivering the document to the recipient.
HANDLEDYesAn authorised person acknowledged the processing or delivery failure and took appropriate countermeasures. A resend wasn't necessary.
ARCHIVEDYesecosio archived the document without further processing or access.
PROCESSINGNoThe document processing hasn't yet finished.
Mode 11

Mode 11 adds the EXCEPTION_UNDER_REVIEW and ONBOARDING states.

StateFinal stateDescription
REQUEST_RECEIVEDNoecosio received the request.
RECEIVEDNoThe document type, sender, and receiver of the document are determined.
DELIVEREDNoThe message is available for the recipient to download.
PICKEDUPNoThe recipient picked up the message.
FORWARDEDNoecosio delivered the message successfully.
PROCESSEDYesThe recipient acknowledged the successful processing of the document via callback.
EXCEPTIONNoAn error occurred whilst processing or delivering the document to the recipient.
HANDLEDYesAn authorised person acknowledged the processing or delivery failure and took appropriate countermeasures. A resend wasn't necessary.
ARCHIVEDYesecosio archived the document without further processing or access.
PROCESSINGNoThe document processing hasn't yet finished.
EXCEPTION_UNDER_REVIEWNoThe message transitioned to the EXCEPTION state and ecosio is actively working on the resolution of the exception.
ONBOARDINGYesThe message transitioned to the EXCEPTION state but the customer is currently in the onboarding process, likely testing the connector.
Mode 12

Mode 12 removes the ARCHIVED, EXCEPTION_UNDER_REVIEW, and ONBOARDING states, and adds the EXCEPTION_CUSTOMER and HANDLED_CUSTOMER states.

StateFinal stateDescription
REQUEST_RECEIVEDNoecosio received the request.
RECEIVEDNoThe document type, sender, and receiver of the document are determined.
DELIVEREDNoThe message is available for the recipient to download.
PICKEDUPNoThe recipient picked up the message.
FORWARDEDNoecosio delivered the message successfully.
PROCESSEDYesThe recipient acknowledged the successful processing of the document via callback.
HANDLEDYesAn authorised person acknowledged the processing or delivery failure and took appropriate countermeasures. A resend wasn't necessary.
EXCEPTION_CUSTOMERYesAn exception occurred that ecosio can't resolve and you must fix.
HANDLED_CUSTOMERYesAfter you resolve an EXCEPTION_CUSTOMER state, trigger this state to mark it resolved.
PROCESSINGNoThe document processing hasn't yet finished.
Mode 13

Modes 13 replaces the PICKEDUP, FORWARDED, and PROCESSED states with SENT.

StateFinal stateDescription
REQUEST_RECEIVEDNoecosio received the request.
RECEIVEDNoThe document type, sender, and receiver of the document are determined.
DELIVEREDNoThe message is available for the recipient to download.
SENTYesThe recipient received the message and, if supported, also acknowledged its processing.
HANDLEDYesAn authorised person acknowledged the processing or delivery failure and took appropriate countermeasures. A resend wasn't necessary.
EXCEPTION_CUSTOMERYesAn exception occurred that ecosio can't resolve and you must fix.
HANDLED_CUSTOMERYesAfter you resolve an EXCEPTION_CUSTOMER state, trigger this state to mark it resolved.
PROCESSINGNoThe document processing hasn't yet finished.

Request callback

If Request Callback is selected, when you send a message, ecosio automatically receives a delivery or processing callback from the recipient. The message state updates based on this response. This is set when the connector is created. To change it, contact your ecosio Integration Engineer.

If the recipient doesn't support callbacks, the message reaches a final state when delivery is confirmed by the channel. In mode 13 this is SENT. In modes 10, 11, and 12 this is PROCESSED. If delivery fails, the state changes to EXCEPTION in modes 10 and 11, or EXCEPTION_CUSTOMER in modes 12 and 13.


What’s Next

Did this page help you?