Documentation

Using ServiceNav WebServices

On the page

Need some help?

ServiceNav publishes many WebServices allowing access from a remote system to a large amount of information and to perform some of the add/modify/delete operations of the operating elements.

Full documentation of the WebServices: The full documentation of the WebServices is available here : SN API Webservice API Webservice_Signatures_V1.29

The WebServices can be accessed at the following address: https:///api/mobility .

For our customers benefiting from our SaaS platform, the access is made directly on the address: https://servicenav.io/api/mobility/.

Example of php code, allowing to return the list of User Services of a company.

In this example, the identification is performed at each call. As stated in the documentation, it is possible to use a session if several calls are to be made in succession. The getSession.php function and the use of the "session" parameter in all calls will be used.

Visibility and possible actions via WebServices are the same as those possible in the interface with the same user account.

 Company / attribute: 6 ==> Token / values: 721f92cbba5deef08a29adea5545cc0b ==> Token value of company

//Call to getListServiceUserShortDescription function.
$requestURL = $plateformURL . /getListServiceUserShortDescription.php?param={"filter":[' . $filter.']}';
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL,$requestURL);
curl_setopt($ch, CURLOPT_USERPWD, $plateformUser.':'.$plateformPassword);
$result=curl_exec($ch);

if ($result === false)
{
      echo "request = $requestURL
"; echo "status code = " . curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($curl); die('An error occurred while retrieving the information.'); } curl_close($ch); //Json output $response = json_decode($result, true); print_r ($response); ?>

Note: In the case of contact and/or company calls, the documentation may indicate the following information : List : Contact ID (ID pairs for contacts , ). The idTicketing is not a useful data in the context of ServiceNav WebServices, so the value should be presented in the following form : ["3, "] (where 3 is idMonitoring)

This may also be of interest to you

Mass import and update

Create companies and sites

ServiceNav Configuration Time range

Setting up a time slot

en_US
fr_FR en_US

Welcome to ServiceNav!

Need help? More information about our products? Write to us!
You have taken note of our privacy policy.

[COVID - 19 ] - TELEWORKING, TARGET AVAILABILITY 100% !

While the epidemic lasts, ensure the availability and performance of your IT services for teleworking, with ServiceNav!

Following the government's call to mobilize to help businesses overcome the current health and economic context, we help you, free of charge, to ensure the complete monitoring of your teleworking environments: VPN, VDI, Teams, Skype Enterprise, Citrix... Objectives: collection, availability and usage indicators, dashboards to support your communication.
We use cookies to ensure that you have the best possible experience on our site, and if you continue to use this site, we will assume that you are satisfied with it.

Reserve your place

You have taken note of our privacy policy.