Sidebar

iTop Customization

"How to" examples
DataModel

User Interface

Automation & Ticket management

Portal Customization

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

Consider browsing to iTop 3.2 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

3_1_0/customization/api/extensions/irestserviceprovider.txt ยท Last modified: 2023/07/21 10:19 by 127.0.0.1
Back to top
Contact us