Skip to main content
All CollectionsAPI
Exporting Account Details
Exporting Account Details
Liam avatar
Written by Liam
Updated over a year ago

Exporting an account details details using API

This function can be used to create dynamic web pages, which in turn can use the API to send data back into the database to update that customer record.

Account information can be retrieved by a simple GET http request:

[path to FIVE CRM installation]/api.php?mode=export&hash=<hash>&account=<account>&area=<area>

Parameters

<hash> can be found by going to the Menu option, Setup > Users > User Profiles. Click on a name, the hash is displayed at the top of the screen.

<account> is the account number to retrieve data for.

<area> is the Database Area number where the Account is located in.

An optional extra parameter is Project which is applicable if multiple projects is enabled in the Database Area.

Example response

<?xml version="1.0"?>

<TELRCM>

<ACCOUNT>034</ACCOUNT>

<COMPANY>Electronics</COMPANY>

<ADDRESS1>2 Grafton Road</ADDRESS1>

...

</TELRCM>

<RCMANL>

<ACCOUNT>034</ACCOUNT>

<LINE>1</LINE>

<COMPANY></COMPANY>

<ANAL01></ANAL01>

...

<ANAL98></ANAL58>

<ANAL99></ANAL59>

<ANAL100></ANAL60>

</RCMANL>

<CONT>

<ACCOUNT>034</ACCOUNT>

<CONTACT>Bill</CONTACT>

<SALUTATION>Mr Bill</SALUTATION>

...

</CONT>

<CONT>

<ACCOUNT>034</ACCOUNT>

<CONTACT>John Smith</CONTACT>

...

</CONT>

Click here for more information on the create Account API code.

Did this answer your question?