Skip to main content

COINS REST-JSON Integration

Updated over 2 weeks ago

Coins ERP+ has had XML web services and data interfaces for many years. From v11.11 of COINS a REST interface has been introduced and an ability to interface with COINS using JSON formatted messages.

For this to work correctly the following entries must be present in the Apache server configuration to map various custom headers to COINS variables.

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

SetEnvIf coins_hostname "(.*)" HTTP_COINS_HOSTNAME=$1

SetEnvIf coins_environment "(.*)" HTTP_COINS_ENVIRONMENT=$1

SetEnvIf coins_id "(.*)" HTTP_COINS_ID=$1

SetEnvIf coins_from "(.*)" HTTP_COINS_FROM=$1

SetEnvIf coins_hash "(.*)" HTTP_COINS_HASH=$1

Attachment icon
Did this answer your question?