Client

Create Client

Create a new client. If successful, returns the client_id of the newly created client.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="createClient">
    <name>ABC Mage</name>
    <organization>ABC Mage</organization>
    <email></email>
	<username>new_abc_666</username>				<!-- (Optional) -->
    <password>testpass</password>           	<!-- Defaults to random password (Optional) -->
    <work_phone>(555) 123-4567</work_phone> 	<!-- (Optional) -->
    <address>123 Fake St.</address>     		<!-- Primary address (All optional) -->
    <country>USA</country>
    <language>en</language><!--value should be 'en','po','fr','de','ru','dt','it','sp','swd','por','ind','cro'en = English,po = Polish,fr = French,de= German,ru=Russian,dt=Dutch,it=Italian,sp=Spanish,swd=Swedish,por = Portuguese,ind=Indonatian,cro=Croatia-->
    <currency>USD</currency>
	<custom_fields>                   			<!-- (All optional) -->
        <custom_field>
            <label>Custom Field Label-1</label>
            <value>Custom Field Value-1</value>
        </custom_field>
        <custom_field>
            <label>Custom Field Label-2</label>
            <value>Custom Field Value-2</value>
        </custom_field>
        <custom_field>
            <label>Custom Field Label-3</label>
            <value>Custom Field Value-3</value>
        </custom_field>
        <custom_field>
            <label>Custom Field Label-4</label>
            <value>Custom Field Value-4</value>
        </custom_field>
    </custom_fields>
</request>

			 

Response

<?xml version="1.0" encoding="utf-8"?>
	
		2632
	

Update Client

Update an existing client with the given client_id.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="updateClient">
    <client_id>14432</client_id>
    <name>New</name>
    <organization>ABCLM</organization>
    <email>newc5612@invoicera.com</email>
	<username>new_abc</username>								<!-- (Optional) -->
    <password>testpass</password>           					<!-- Defaults to random password (Optional) -->
    <work_phone>(555) 123-4567</work_phone> 					<!-- (Optional) -->
    <address>123 Fake St.</address>     						<!-- Primary address (All optional) -->
    <country>USA</country>
    <language>en</language><!--value should be 'en','po','fr','de','ru','dt','it','sp','swd','por','ind','cro'en = English,po = Polish,fr = French,de= German,ru=Russian,dt=Dutch,it=Italian,sp=Spanish,swd=Swedish,por = Portuguese,ind=Indonatian,cro=Croatia-->
    <currency>USD</currency>
    <additional_contacts>                   					<!-- all (Optional) -->
        <contact>
            <a_name>Additional-1</a_name>
            <a_email>additional-1@invoicera.com</a_email>
        </contact>
        <contact>
            <a_name>Additional-2</a_name>
            <a_email>additional-2@invoicera.com</a_email>
        </contact>
        <contact>
            <a_name>Additional-3</a_name>
            <a_email>additional-3@invoicera.com</a_email>
        </contact>
        <contact>
            <a_name>Additional-4</a_name>
            <a_email>additional-4@invoicera.com</a_email>
        </contact>
    </additional_contacts>
	<custom_fields>                   							<!-- (All optional) -->
        <custom_field>
            <label>Custom Field Label-1</label>
            <value>Custom Field Value-1</value>
        </custom_field>
        <custom_field>
            <label>Custom Field Label-2</label>
            <value>Custom Field Value-2</value>
        </custom_field>
        <custom_field>
            <label>Custom Field Label-3</label>
            <value>Custom Field Value-3</value>
        </custom_field>
        <custom_field>
            <label>Custom Field Label-4</label>
            <value>Custom Field Value-4</value>
        </custom_field>
    </custom_fields>
</request>
			 

Response

<?xml version="1.0" encoding="utf-8"?>
 
     7985

Delete Client

Delete an existing client.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="deleteClient">
        <client_id></client_id><!-- This is client unique id at Invoicera database. You can use more than one row for delete other clients -->
		
</request>
			 

Response

<?xml version="1.0" encoding="utf-8"?>

    
        7985
    

List Client

Returns a list of client members. Results are ordered by descending client_id.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="listClient">
	<filter> <!-- Pass search parameters here -->
	  <client_id></client_id> <!-- This is client unique id at Invoicera database -->
	  <client_email></client_email> <!-- This is client business email -->
	  <client_status></client_status> <!-- Status are Active, Archived, Deleted. Only Active records will be displayed if no value defined -->
	  <page></page> <!-- This is page number -->
	  <per_page_record></per_page_record>  <!-- This is number of records per page -->
	</filter> <!-- search parameters ends here -->
	<!-- We provide export of <client_id>, <first_name>, <last_name>, <organization>, <address>, <email>, <work_phone>, <currency>, <credit amount>, <payment_method>, <payment_note>, <credit_date> -->
</request>

			 

Get Client

Return the complete client details associated with the given client_id.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="getClient">
        <client_id>16789</client_id><!-- This is client unique id at Invoicera database. Only one ID can be pass at a time. -->
</request>
			 

Response

<?xml version="1.0" encoding="utf-8"?>
    
        
            5346
            Test Kumar
            Client-Sep-01-1
            
test45678@gamil.com USD 0 Cash 2010-09-01 06:59:51

Get Started for FREE

Over 3 Million Users Have Chosen Invoicera

No credit card required. Cancel anytime REQUEST A FREE DEMO