Service

Create Service

Create a new service. If successful, returns the service_id of the newly created service.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="createService">
	<name>service-129</name>
	<cost>23</cost>
	<unit>Hour</unit>							<!-- options are 'Hour','Month','Minutes','Year','Day','Basic'-->
	<description>test_service</description>
</request>
			 

Response

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

Update Service

Update an existing service with the given service_id.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="updateService">
	<service_id>2632</service_id>
	<name>ser_1</name>
	<cost>23</cost>
	<unit>minutes</unit>
	<description>test_service</description>
</request>

			 

Response

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

Delete Service

Delete an existing Service.

Request

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

Response

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

List Service

Returns a list of service summaries. Results are ordered by descending service number.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="listService">
    <filter> <!-- Pass search parameters here -->
        <service_id></service_id> <!-- This is service unique id at Invoicera database -->
        <item_name></item_name> <!-- This is service name -->
        <item_cost></item_cost> <!-- This is service unit cost -->    
        <item_status></item_status> <!-- Status are Active, Archive, 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 <service_id>, <service_name>, <unit_cost>, <quantity>, <date>, <status> --> 
</request>
			 

Response

<?xml version="1.0" encoding="utf-8"?>
    
        
            
                2632
                test service
                50.00
                Hour
                2009-07-07 08:06:30
                Active
            
            .
            .
            .
        
    

Get Service

Return the complete service details associated with the given service_id.

Request

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

Response

<?xml version="1.0" encoding="utf-8"?>
    
        
            2632
            test service
            50.00
            Hour
            2009-07-07 08:06:30
            Active
        
    

Get Started for FREE

Over 3 Million Users Have Chosen Invoicera

No credit card required. Cancel anytime REQUEST A FREE DEMO