Skip to content
Snippets Groups Projects
Commit 18def27e authored by Jean-François Ferry's avatar Jean-François Ferry
Browse files

Change API route for thirdparties lists

Use /thirdparty/list instead of /thirdparties/
parent cd37d3eb
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ class ThirdpartyApi extends DolibarrApi { ...@@ -94,7 +94,7 @@ class ThirdpartyApi extends DolibarrApi {
* *
* Get a list of thirdparties * Get a list of thirdparties
* *
* @url GET /thirdparties/ * @url GET /thirdparty/list
* *
* @param int $mode Set to 1 to show only customers * @param int $mode Set to 1 to show only customers
* Set to 2 to show only prospects * Set to 2 to show only prospects
...@@ -183,7 +183,7 @@ class ThirdpartyApi extends DolibarrApi { ...@@ -183,7 +183,7 @@ class ThirdpartyApi extends DolibarrApi {
/** /**
* Show customers * Show customers
* *
* @url GET /thirdparties/customers * @url GET /thirdparty/list/customers
* *
* @return array List of customers * @return array List of customers
*/ */
...@@ -194,7 +194,7 @@ class ThirdpartyApi extends DolibarrApi { ...@@ -194,7 +194,7 @@ class ThirdpartyApi extends DolibarrApi {
/** /**
* Show prospects * Show prospects
* *
* @url GET /thirdparties/prospects * @url GET /thirdparty/list/prospects
* *
* @return array List of prospects * @return array List of prospects
*/ */
...@@ -205,7 +205,7 @@ class ThirdpartyApi extends DolibarrApi { ...@@ -205,7 +205,7 @@ class ThirdpartyApi extends DolibarrApi {
/** /**
* Show other * Show other
* *
* @url GET /thirdparties/others * @url GET /thirdparty/list/others
* *
* @return array List of thirpdparties who are not customer neither prospect * @return array List of thirpdparties who are not customer neither prospect
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment