Sidebar

iTop Customization

"How to" examples
DataModel

User Interface

Automation & Ticket management

Portal Customization

๐Ÿ”™ Back

iRestServiceProvider

api

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

Tags

since 2.0.1

API synthesis

List of the public API methods. When manipulating iRestServiceProvider, You can call those methods:

Public methods

ExecOperation

api 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

api 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

latest/customization/api/extensions/irestserviceprovider.txt ยท Last modified: 2024/09/10 10:25 by 127.0.0.1
Back to top
Contact us