Time tracking API XML
Show the time create schema Time create schema
<?xml version="1.0" encoding="utf-8"?>
<Request Object="Time" Method="Create" xmlns="urn:InvoiceClarity-com:TimeCreate" >
<Time>
<Description>Lots of time</Description>
<ProjectId>1</ProjectId>
<ProjectTaskId>1</ProjectTaskId>
<Billable>true</Billable>
<StartTime>2008-29-01</StartTime>
<Duration>1</Duration>
</Time>
</Request>
Time create response
<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
<TimeId>12356</TimeId>
<Errors>
<Error description="Invalid xxx"></Error>
</Errors>
</Response>
Show the time update schema Time update schema
<?xml version="1.0" encoding="utf-8"?>
<Request Object="Time" Method="Update" xmlns="urn:InvoiceClarity-com:TimeUpdate" >
<Time>
<TimeId>1</TimeId>
<Description>Lots of time</Description>
<UserId>1</UserId>
<ProjectId>1</ProjectId>
<ProjectTaskId>1</ProjectTaskId>
<Billable>true</Billable>
<StartTime>2008-29-01</StartTime>
<Duration>1</Duration>
</Time>
</Request>
Time update response
<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
<TimeId>12356</TimeId>
<Errors>
<Error description="Invalid xxx"></Error>
</Errors>
</Response>
Show the time delete schema Time delete schema
<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Time" Method="Delete" xmlns="urn:InvoiceClarity-com:TimeDelete" >
<TimeId>80</TimeId>
</Request>
Time delete response
<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
<TimeId>12356</TimeId>
<Errors>
<Error description="Invalid xxx"></Error>
</Errors>
</Response>
Show the time list schema Time list schema
<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Time" Method="List" xmlns="urn:InvoiceClarity-com:TimeList" >
<Page>1</Page>
<PerPage>9</PerPage>
<ShowArchived>true</ShowArchived>
<ShowDeleted>true</ShowDeleted>
</Request>
Time list response
<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
<Times page="1" total="5" >
<Time>
<TimeId>123456</TimeId>
<Description>Lots of time</Description>
<User>Fred</User>
<Project>Web project</Project>
<ProjectTask>Design</ProjectTask>
<Billable>true</Billable>
<StartTime>2008-29-01</StartTime>
<Duration>1</Duration>
</Time>
</Times>
<Errors>
<Error description="Invalid xxx"></Error>
</Errors>
</Response>
Show the time item schema Time item schema
<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Time" Method="Item" xmlns="urn:InvoiceClarity-com:TimeItem" >
<TimeId>80</TimeId>
</Request>
Time item response
<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
<Time>
<TimeId>123456</TimeId>
<Description>Lots of time</Description>
<User>Fred</User>
<Project>Web project</Project>
<ProjectTask>Design</ProjectTask>
<Billable>true</Billable>
<StartTime>2008-29-01</StartTime>
<Duration>1</Duration>
</Time>
<Errors>
<Error description="Invalid xxx"></Error>
</Errors>
</Response>