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

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

latest/customization/api/extensions/irestserviceprovider.txt ยท Last modified: 2023/07/21 10:19 (external edit)
Back to top
Contact us