Azure Industrial IoT OPC UA Twin Service
Version : v2
License : MIT LICENSE
License URL : https://opensource.org/licenses/MIT
Terms of service : null
Host : localhost:9080
Schemes : HTTP, HTTPS
- Browse : Browse nodes services
- Call : Call node method services
- Read : Node read services
- Write : Node writing services
Browse nodes services
POST /twin/v2/browse/{endpointId}
Browse a node on the specified endpoint. The endpoint must be activated and connected and the module client and server must trust each other.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Body | body required |
The browse request | BrowseRequestApiModel |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | BrowseResponseApiModel |
application/json-patch+json
application/json
text/json
application/*+json
application/x-msgpack
text/plain
application/json
text/json
application/x-msgpack
GET /twin/v2/browse/{endpointId}
Browse the set of unique hierarchically referenced target nodes on the endpoint. The endpoint must be activated and connected and the module client and server must trust each other. The root node id to browse from can be provided as part of the query parameters. If it is not provided, the RootFolder node is browsed. Note that this is the same as the POST method with the model containing the node id and the targetNodesOnly flag set to true.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Query | nodeId optional |
The node to browse or omit to browse the root node (i=84) | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | BrowseResponseApiModel |
text/plain
application/json
text/json
application/x-msgpack
POST /twin/v2/browse/{endpointId}/next
Browse next set of references on the endpoint. The endpoint must be activated and connected and the module client and server must trust each other.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Body | body required |
The request body with continuation token. | BrowseNextRequestApiModel |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | BrowseNextResponseApiModel |
application/json-patch+json
application/json
text/json
application/*+json
application/x-msgpack
text/plain
application/json
text/json
application/x-msgpack
GET /twin/v2/browse/{endpointId}/next
Browse the next set of unique hierarchically referenced target nodes on the endpoint. The endpoint must be activated and connected and the module client and server must trust each other. Note that this is the same as the POST method with the model containing the continuation token and the targetNodesOnly flag set to true.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Query | continuationToken required |
Continuation token from GetSetOfUniqueNodes operation | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | BrowseNextResponseApiModel |
text/plain
application/json
text/json
application/x-msgpack
POST /twin/v2/browse/{endpointId}/path
Browse using a path from the specified node id. This call uses TranslateBrowsePathsToNodeIds service under the hood. The endpoint must be activated and connected and the module client and server must trust each other.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Body | body required |
The browse path request | BrowsePathRequestApiModel |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | BrowsePathResponseApiModel |
application/json-patch+json
application/json
text/json
application/*+json
application/x-msgpack
text/plain
application/json
text/json
application/x-msgpack
Call node method services
POST /twin/v2/call/{endpointId}
Invoke method node with specified input arguments. The endpoint must be activated and connected and the module client and server must trust each other.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Body | body required |
The method call request | MethodCallRequestApiModel |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | MethodCallResponseApiModel |
application/json-patch+json
application/json
text/json
application/*+json
application/x-msgpack
text/plain
application/json
text/json
application/x-msgpack
POST /twin/v2/call/{endpointId}/metadata
Return method meta data to support a user interface displaying forms to input and output arguments. The endpoint must be activated and connected and the module client and server must trust each other.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Body | body required |
The method metadata request | MethodMetadataRequestApiModel |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | MethodMetadataResponseApiModel |
application/json-patch+json
application/json
text/json
application/*+json
application/x-msgpack
text/plain
application/json
text/json
application/x-msgpack
Node read services
POST /twin/v2/read/{endpointId}
Read a variable node's value. The endpoint must be activated and connected and the module client and server must trust each other.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Body | body required |
The read value request | ValueReadRequestApiModel |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | ValueReadResponseApiModel |
application/json-patch+json
application/json
text/json
application/*+json
application/x-msgpack
text/plain
application/json
text/json
application/x-msgpack
GET /twin/v2/read/{endpointId}
Get a variable node's value using its node id. The endpoint must be activated and connected and the module client and server must trust each other.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Query | nodeId required |
The node to read | string |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | ValueReadResponseApiModel |
text/plain
application/json
text/json
application/x-msgpack
POST /twin/v2/read/{endpointId}/attributes
Read attributes of a node. The endpoint must be activated and connected and the module client and server must trust each other.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Body | body required |
The read request | ReadRequestApiModel |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | ReadResponseApiModel |
application/json-patch+json
application/json
text/json
application/*+json
application/x-msgpack
text/plain
application/json
text/json
application/x-msgpack
Node writing services
POST /twin/v2/write/{endpointId}
Write variable node's value. The endpoint must be activated and connected and the module client and server must trust each other.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Body | body required |
The write value request | ValueWriteRequestApiModel |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | ValueWriteResponseApiModel |
application/json-patch+json
application/json
text/json
application/*+json
application/x-msgpack
text/plain
application/json
text/json
application/x-msgpack
POST /twin/v2/write/{endpointId}/attributes
Write any attribute of a node. The endpoint must be activated and connected and the module client and server must trust each other.
Type | Name | Description | Schema |
---|---|---|---|
Path | endpointId required |
The identifier of the activated endpoint. | string |
Body | body required |
The batch write request | WriteRequestApiModel |
HTTP Code | Description | Schema |
---|---|---|
200 | Success | WriteResponseApiModel |
application/json-patch+json
application/json
text/json
application/*+json
application/x-msgpack
text/plain
application/json
text/json
application/x-msgpack