Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:mervis-scada:50-api [2019/03/13 15:25]
m.chlupac [setDataPointValue]
en:mervis-scada:50-api [2019/07/10 11:38]
m.chlupac
Line 32: Line 32:
  
 ===== Example ===== ===== Example =====
 +
 +====api/​checkCredentials====
 +
 +**Request**
 +
 +   * URL: /​api/​checkCredentials?​format=xml
 +   * Method: POST
 +
 +**Request**
 +
 +<code javascript>​
 +{"​cred":​{"​n":"​demo","​p":"​demo"​}}
 +</​code>​
 +
 +**Response**
 +
 +<code xml>
 +<?xml version="​1.0"​ encoding="​utf-8"?>​
 +<​checkCredentialsResult xmlns:​r="​http://​dev.rcware.eu/​serialization/​references"​ d="​GlobalDomain"​ l="​demo"​ t="​2:​85be00d3-5875-4dec-a9b4-c98e2ff2acbe"​ xmlns="​http://​dev.rcware.eu/​auth"​ />
 +</​code>​
 +
 +  * You can use the received token **t** in subsequent API calls.
  
 ====api/​get/​history==== ====api/​get/​history====