Skip to content

Commit

Permalink
IVIS-46: - Update API chapter (fix method get list by criteria).
Browse files Browse the repository at this point in the history
  • Loading branch information
RuslanPopenko committed Oct 26, 2016
1 parent 687bb9b commit 40e4bc7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
6 changes: 1 addition & 5 deletions docs/api/incidents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -275,17 +275,13 @@ Parameters request:
* *search_text*
* *order_by*

.. note::

Now required for order_by only "title" and search criteria also title in Incident

Parameters response:
~~~~~~~~~~~~~~~~~~~~
*Array*

.. note::

Array structure the same as `Get incidents`_
Now required for order_by only "title" and search criteria also title. Search mechanism use contain.



Expand Down
7 changes: 6 additions & 1 deletion docs/api/issues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,5 +252,10 @@ Parameters request:
* *search_text*
* *order_by*

Parameters response:
~~~~~~~~~~~~~~~~~~~~
*Array*

.. note::
Now required for order_by only "title" and search criteria also title in Issue

Now required for order_by only "title" and search criteria also title. Search mechanism use contain.
21 changes: 21 additions & 0 deletions docs/api/persons.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Provides following method for `API <index.html>`_ calls:
* `Update person`_
* `Delete person`_
* `Get person or persons by personal id`_
* `Get persons list`_ by some criteria

.. _`Get person`:

Expand Down Expand Up @@ -224,4 +225,24 @@ Parameters response:
~~~~~~~~~~~~~~~~~~~~
*ARRAY or OBJECT (Person)*

.. _`Get persons list`:

Get persons list
----------------

URL:
~~~~
*/persons*

Method:
~~~~~~~
*GET*

Parameters request:
~~~~~~~~~~~~~~~~~~~
* *search_text*
* *order_by*

.. note::

Now required for order_by "first_name" and "last_name" search criteria first_name or last_name. Search mechanism use contain.

0 comments on commit 40e4bc7

Please sign in to comment.