Update web services documentation with the new delete service
FEA: ItEr77S13AllowDeleteOrderElements
This commit is contained in:
parent
cffe9a0299
commit
0b0b7fbda0
1 changed files with 6 additions and 6 deletions
|
|
@ -47,10 +47,10 @@ methods with the following meaning:
|
|||
* If it already exists: Update entity with new data.
|
||||
* If it does not exist: Add the new entity.
|
||||
|
||||
These means that delete is not allowed from web services, in that way only new
|
||||
info could be added or updated. This is because of entities are related with
|
||||
others and remove operation could be dangerous. Then if necessary, the
|
||||
recommendation would be add a field to disable such entity.
|
||||
These means that delete is not allowed for all the entities in the web services,
|
||||
in that way only new info could be added or updated. This is because of entities
|
||||
are related with others and remove operation could be dangerous. Anyway for some
|
||||
specific entities the delete operation has been implemented.
|
||||
|
||||
|
||||
Requirements
|
||||
|
|
@ -208,11 +208,11 @@ For each entity there are the following methods:
|
|||
* No parameters
|
||||
* URL: ``/ws/rest/<service-path>/``
|
||||
|
||||
* Remove entity (only available for work reports):
|
||||
* Remove entity (only available for work reports and order elements):
|
||||
|
||||
* HTTP method: ``DELETE``
|
||||
* Parameter: ``entity-code``
|
||||
* URL: ``/ws/rest/workreports/<entity-code>/``
|
||||
* URL: ``/ws/rest/<service-path>/<entity-code>/``
|
||||
|
||||
* Special URL for work report lines:
|
||||
``/ws/rest/workreports/line/<entity-code>/``
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue