update web services documentation and add scripts to test this case and

some example files.

FEA: ItEr76S22ExpenseTrackingSystem
This commit is contained in:
Susana Montes Pedreira 2012-06-18 09:07:13 +01:00
parent 9080e7ecb4
commit f3ada1bea4
4 changed files with 26 additions and 0 deletions

View file

@ -274,6 +274,12 @@ Supported entities:
* DTO: ``org.libreplan.ws.workreports.api.WorkReportDTO``
* Business class: ``org.libreplan.business.workreports.entities.WorkReport``
* Expense Sheets:
* Service path: ``expenses``
* DTO: ``org.libreplan.ws.expensesheets.api.ExpenseSheetListDTO``
* Business class: ``org.libreplan.business.expensesheet.entities.ExpenseSheet``
Other
~~~~~

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<expense-sheet-list>
<expense-sheet description="Gastos anuales 2012"
code="EXPENSE_SHEET00002">
<expense-sheet-line-list>
<expense-sheet-line date="2012-06-05" task="ORDER00001-00002"
value="40.00" concept="Material reciclable"
code="EXPENSE_SHEET00002-00002" />
<expense-sheet-line date="2012-06-12" task="ORDER00001-00002"
value="40.00" concept=""
code="EXPENSE_SHEET00002-00003" />
</expense-sheet-line-list>
</expense-sheet>
</expense-sheet-list>

View file

@ -0,0 +1,3 @@
#!/bin/sh
./export.sh expenses $*

View file

@ -0,0 +1,3 @@
#!/bin/sh
./import.sh expenses $*