update web services documentation and add scripts to test this case and
some example files. FEA: ItEr76S22ExpenseTrackingSystem
This commit is contained in:
parent
9080e7ecb4
commit
f3ada1bea4
4 changed files with 26 additions and 0 deletions
|
|
@ -274,6 +274,12 @@ Supported entities:
|
||||||
* DTO: ``org.libreplan.ws.workreports.api.WorkReportDTO``
|
* DTO: ``org.libreplan.ws.workreports.api.WorkReportDTO``
|
||||||
* Business class: ``org.libreplan.business.workreports.entities.WorkReport``
|
* 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
|
Other
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
|
|
|
||||||
14
scripts/rest-clients/expenses-sheet-sample.xml
Normal file
14
scripts/rest-clients/expenses-sheet-sample.xml
Normal 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>
|
||||||
3
scripts/rest-clients/export-expense-sheet.sh
Executable file
3
scripts/rest-clients/export-expense-sheet.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
./export.sh expenses $*
|
||||||
3
scripts/rest-clients/import-expense-sheet.sh
Executable file
3
scripts/rest-clients/import-expense-sheet.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
./import.sh expenses $*
|
||||||
Loading…
Add table
Reference in a new issue