: A built-in JSON configurator helps users define endpoints and trigger methods based on specific tags or alarms.
Developers familiar with web technologies can interact with industrial data.
Pass Authorization: Basic base64(username:password) in every request. Easy to test, but credentials are sent with each call.
It acts as an enabler for data transfer to cloud platforms, particularly when used with the WinCC/Cloud Connector . 3. Architecture and Configuration
It supports HTTPS, ensuring data integrity and confidentiality. Why Use the WinCC REST API? (Key Benefits)
Siemens offers two distinct ways to use REST with WinCC, depending on whether WinCC is the "server" or the "client":
| Endpoint | Method | Description | |----------|--------|-------------| | /auth/login | POST | Authenticate user, receive session token. | | /auth/logout | POST | Invalidate session. | | /tags | GET | List all tags (names, types). | | /tags/<tag_name>/value | GET | Read value of one tag. | | /tags/<tag_name>/value | PUT | Write value to one tag. | | /tags/values | POST | Read multiple tags in one request. | | /tags/values | PUT | Write multiple tags. | | /alarms/current | GET | Get active alarms. | | /alarms/archive | GET | Get historical alarms (with filters). | | /users/current | GET | Get logged-in user info. |
Software engineers without automation backgrounds can easily consume SCADA data using standard web development skills. Core Capabilities of the WinCC REST API
The REST API opens up many possibilities for data exchange, system monitoring, and industrial automation.