From 18def27eb6c283e1ea08d288308003c0e154a0c3 Mon Sep 17 00:00:00 2001 From: jfefe Date: Mon, 4 May 2015 01:31:23 +0200 Subject: [PATCH] Change API route for thirdparties lists Use /thirdparty/list instead of /thirdparties/ --- htdocs/societe/class/api_thirdparty.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/societe/class/api_thirdparty.class.php b/htdocs/societe/class/api_thirdparty.class.php index 204db5ba268..a7bb324edc3 100644 --- a/htdocs/societe/class/api_thirdparty.class.php +++ b/htdocs/societe/class/api_thirdparty.class.php @@ -94,7 +94,7 @@ class ThirdpartyApi extends DolibarrApi { * * Get a list of thirdparties * - * @url GET /thirdparties/ + * @url GET /thirdparty/list * * @param int $mode Set to 1 to show only customers * Set to 2 to show only prospects @@ -183,7 +183,7 @@ class ThirdpartyApi extends DolibarrApi { /** * Show customers * - * @url GET /thirdparties/customers + * @url GET /thirdparty/list/customers * * @return array List of customers */ @@ -194,7 +194,7 @@ class ThirdpartyApi extends DolibarrApi { /** * Show prospects * - * @url GET /thirdparties/prospects + * @url GET /thirdparty/list/prospects * * @return array List of prospects */ @@ -205,7 +205,7 @@ class ThirdpartyApi extends DolibarrApi { /** * Show other * - * @url GET /thirdparties/others + * @url GET /thirdparty/list/others * * @return array List of thirpdparties who are not customer neither prospect */