You are browsing the documentation for iTop 2.7 which is not the current version.

Consider browsing to iTop 3.0 documentation

๐Ÿ”™ Back

iRestServiceProvider

api

Implement this interface to add new operations to the REST/JSON web service

Tags

since 2.0.1

Public methods

ExecOperation

public

Enumerate services delivered by this class
public ExecOperation($sVersion, $sVerb, $aParams)

Parameters

types name default description
string $sVersion The version (e.g. 1.0) supported by the services
string $sVerb
array $aParams

Returns

\RestResult The standardized result structure (at least a message)

ListOperations

public

Enumerate services delivered by this class
public ListOperations($sVersion)

Parameters

types name default description
string $sVersion The version (e.g. 1.0) supported by the services

Returns

array An array of hash 'verb' => verb, 'description' => description

๐Ÿ”™ Back

2_7_0/customization/api/extensions/irestserviceprovider.txt ยท Last modified: 2020/04/15 15:23 (external edit)
Back to top
Contact us