Task

Create Task

Create a new task. If successful, returns the task_id of the newly created task. If project_id provided, project will be assigned to the task automatically.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="createTask">
	<name>Task 34-Inoicera API</name>
	<description>test description</description>
	<task_billable>Y</task_billable>
	<task_rate>30</task_rate>
	<projects>  
       <project_id>278</project_id>  
       <project_id>781</project_id>  
    </projects>  
</request>

			 

Response

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

Update Task

Update an existing task with the given task_id.

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="updateTask">
	<task_id>875</task_id>
	<name>Task 4-Inoicera API</name>
	<description>test description</description>
	<task_billable>Y</task_billable>
	<task_rate>30</task_rate>
	<projects>  
       <project_id>278</project_id>    
    </projects>  
</request>

			 

Response

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

Delete Task

Delete an existing task.

Request

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

Response

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

List Task

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

Request

<?xml version="1.0" encoding="utf-8"?>
<request method="listTask">
    <filter> <!-- Pass search parameters here -->
		<project_id></project_id> <!-- This is project unique id at Invoicera database -->
		<task_name></task_name> <!-- This is task name -->
		<task_billable></task_billable> <!-- Y if task is billbale and N if not -->
		<task_status></task_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 -->
</request>
			 

Response

<?xml version="1.0" encoding="utf-8"?>
    
        
                                     
                278
                0
                PR-001
                Dummy description
                0
                flat
                No
                2010-06-25 07:16:08
                Active
                
                    1304
                    
                
                    692
                    691
                
            

          

Get Task

Return the complete task details associated with the given task_id.

Request

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

Response

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

            842
            gj
            
            Y
            5.00
            2010-10-26 00:10:56
            Active
            
                278
                879
            
        
          

Get Started for FREE

Over 3 Million Users Have Chosen Invoicera

No credit card required. Cancel anytime REQUEST A FREE DEMO