Differences
This shows you the differences between two versions of the page.
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:12] m.chlupac [setDataPointValue] |
en:mervis-scada:50-api [2019/07/10 11:38] m.chlupac |
||
---|---|---|---|
Line 32: | Line 32: | ||
===== Example ===== | ===== Example ===== | ||
+ | |||
+ | ====api/ | ||
+ | |||
+ | **Request** | ||
+ | |||
+ | * URL: / | ||
+ | * Method: POST | ||
+ | |||
+ | **Request** | ||
+ | |||
+ | <code javascript> | ||
+ | {" | ||
+ | </ | ||
+ | |||
+ | **Response** | ||
+ | |||
+ | <code xml> | ||
+ | <?xml version=" | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | * You can use the received token **t** in subsequent API calls. | ||
====api/ | ====api/ | ||
Line 163: | Line 185: | ||
Sets data point value using a button (primary the INIT button). Only numerical values are supported. Parameter buttonName is not mandatory. Value ' | Sets data point value using a button (primary the INIT button). Only numerical values are supported. Parameter buttonName is not mandatory. Value ' | ||
+ | {{ : | ||
**Example: | **Example: | ||
Line 168: | Line 191: | ||
dpGuid = ' | dpGuid = ' | ||
projectId = ' | projectId = ' | ||
- | buttonName = ' | + | buttonName = ' |
newValue = 1; | newValue = 1; | ||