Fix doxygen
This commit is contained in:
parent
44eda2d4ad
commit
2c477c7169
@ -63,6 +63,7 @@ class MyModuleApi extends DolibarrApi
|
|||||||
* @return array|mixed data without useless information
|
* @return array|mixed data without useless information
|
||||||
*
|
*
|
||||||
* @url GET myobjects/{id}
|
* @url GET myobjects/{id}
|
||||||
|
*
|
||||||
* @throws RestException
|
* @throws RestException
|
||||||
*/
|
*/
|
||||||
public function get($id)
|
public function get($id)
|
||||||
@ -186,6 +187,8 @@ class MyModuleApi extends DolibarrApi
|
|||||||
* @param array $request_data Request datas
|
* @param array $request_data Request datas
|
||||||
* @return int ID of myobject
|
* @return int ID of myobject
|
||||||
*
|
*
|
||||||
|
* @throws RestException
|
||||||
|
*
|
||||||
* @url POST myobjects/
|
* @url POST myobjects/
|
||||||
*/
|
*/
|
||||||
public function post($request_data = null)
|
public function post($request_data = null)
|
||||||
@ -212,6 +215,8 @@ class MyModuleApi extends DolibarrApi
|
|||||||
* @param array $request_data Datas
|
* @param array $request_data Datas
|
||||||
* @return int
|
* @return int
|
||||||
*
|
*
|
||||||
|
* @throws RestException
|
||||||
|
*
|
||||||
* @url PUT myobjects/{id}
|
* @url PUT myobjects/{id}
|
||||||
*/
|
*/
|
||||||
public function put($id, $request_data = null)
|
public function put($id, $request_data = null)
|
||||||
@ -250,6 +255,8 @@ class MyModuleApi extends DolibarrApi
|
|||||||
* @param int $id MyObject ID
|
* @param int $id MyObject ID
|
||||||
* @return array
|
* @return array
|
||||||
*
|
*
|
||||||
|
* @throws RestException
|
||||||
|
*
|
||||||
* @url DELETE myobjects/{id}
|
* @url DELETE myobjects/{id}
|
||||||
*/
|
*/
|
||||||
public function delete($id)
|
public function delete($id)
|
||||||
|
|||||||
@ -391,10 +391,8 @@ class Contacts extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*
|
*
|
||||||
* @throws 401 RestException Insufficient rights
|
* @throws RestException 401 Insufficient rights
|
||||||
* @throws 401 RestException Access not allowed for login
|
* @throws RestException 404 Category or contact not found
|
||||||
* @throws 404 RestException Category not found
|
|
||||||
* @throws 404 RestException Contact not found
|
|
||||||
*/
|
*/
|
||||||
public function addCategory($id, $category_id)
|
public function addCategory($id, $category_id)
|
||||||
{
|
{
|
||||||
@ -433,10 +431,8 @@ class Contacts extends DolibarrApi
|
|||||||
* @param int $category_id Id of category
|
* @param int $category_id Id of category
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*
|
*
|
||||||
* @throws 401 RestException Insufficient rights
|
* @throws RestException 401 Insufficient rights
|
||||||
* @throws 401 RestException Access not allowed for login
|
* @throws RestException 404 Category or contact not found
|
||||||
* @throws 404 RestException Category not found
|
|
||||||
* @throws 404 RestException Contact not found
|
|
||||||
*/
|
*/
|
||||||
public function deleteCategory($id, $category_id)
|
public function deleteCategory($id, $category_id)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1388,11 +1388,11 @@ class Thirdparties extends DolibarrApi
|
|||||||
* @param array $request_data Request data
|
* @param array $request_data Request data
|
||||||
*
|
*
|
||||||
* @return SocieteAccount
|
* @return SocieteAccount
|
||||||
|
*
|
||||||
* @throws RestException 401 Unauthorized: User does not have permission to read thirdparties
|
* @throws RestException 401 Unauthorized: User does not have permission to read thirdparties
|
||||||
* @throws RestException 409 Conflict: A SocieteAccount entity (gateway) already exists for this company and site.
|
* @throws RestException 409 Conflict: A SocieteAccount entity (gateway) already exists for this company and site.
|
||||||
* @throws RestException 422 Unprocessable Entity: You must pass the site attribute in your request data !
|
* @throws RestException 422 Unprocessable Entity: You must pass the site attribute in your request data !
|
||||||
* @throws RestException 500 Internal Server Error: Error creating SocieteAccount account
|
* @throws RestException 500 Internal Server Error: Error creating SocieteAccount account
|
||||||
* @status RestException 201
|
|
||||||
*
|
*
|
||||||
* @url POST {id}/gateways
|
* @url POST {id}/gateways
|
||||||
*/
|
*/
|
||||||
@ -1530,6 +1530,7 @@ class Thirdparties extends DolibarrApi
|
|||||||
* @param array $request_data Request data
|
* @param array $request_data Request data
|
||||||
*
|
*
|
||||||
* @return SocieteAccount
|
* @return SocieteAccount
|
||||||
|
*
|
||||||
* @throws RestException 401 Unauthorized: User does not have permission to read thirdparties
|
* @throws RestException 401 Unauthorized: User does not have permission to read thirdparties
|
||||||
* @throws RestException 404 Not Found: Specified thirdparty ID does not belongs to an existing thirdparty
|
* @throws RestException 404 Not Found: Specified thirdparty ID does not belongs to an existing thirdparty
|
||||||
* @throws RestException 409 Conflict: Another SocieteAccount entity already exists for this thirdparty with this site key.
|
* @throws RestException 409 Conflict: Another SocieteAccount entity already exists for this thirdparty with this site key.
|
||||||
|
|||||||
@ -68,9 +68,9 @@ class Tickets extends DolibarrApi
|
|||||||
* @param int $id ID of ticket
|
* @param int $id ID of ticket
|
||||||
* @return array|mixed Data without useless information
|
* @return array|mixed Data without useless information
|
||||||
*
|
*
|
||||||
* @throws 401
|
* @throws RestException 401
|
||||||
* @throws 403
|
* @throws RestException 403
|
||||||
* @throws 404
|
* @throws RestException 404
|
||||||
*/
|
*/
|
||||||
public function get($id)
|
public function get($id)
|
||||||
{
|
{
|
||||||
@ -87,9 +87,9 @@ class Tickets extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @url GET track_id/{track_id}
|
* @url GET track_id/{track_id}
|
||||||
*
|
*
|
||||||
* @throws 401
|
* @throws RestException 401
|
||||||
* @throws 403
|
* @throws RestException 403
|
||||||
* @throws 404
|
* @throws RestException 404
|
||||||
*/
|
*/
|
||||||
public function getByTrackId($track_id)
|
public function getByTrackId($track_id)
|
||||||
{
|
{
|
||||||
@ -106,9 +106,9 @@ class Tickets extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @url GET ref/{ref}
|
* @url GET ref/{ref}
|
||||||
*
|
*
|
||||||
* @throws 401
|
* @throws RestException 401
|
||||||
* @throws 403
|
* @throws RestException 403
|
||||||
* @throws 404
|
* @throws RestException 404
|
||||||
*/
|
*/
|
||||||
public function getByRef($ref)
|
public function getByRef($ref)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -171,9 +171,8 @@ class Users extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @return array|mixed Data without useless information
|
* @return array|mixed Data without useless information
|
||||||
*
|
*
|
||||||
* @throws 401 RestException Insufficient rights
|
* @throws RestException 401 Insufficient rights
|
||||||
* @throws 404 RestException User not found
|
* @throws RestException 404 User or group not found
|
||||||
* @throws 404 RestException User group not found
|
|
||||||
*/
|
*/
|
||||||
public function getInfo()
|
public function getInfo()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user