v7
latestSwagger 2.02026-07-13322074.5 KBTwins
Retrieves a component from a digital twin. Status codes:
- 200 OK
- 400 Bad Request
- InvalidArgument - The digital twin id or component path is invalid.
- 404 Not Found
- DigitalTwinNotFound - The digital twin was not found.
- ComponentNotFound - The component path was not found.
get/digitaltwins/{id}/components/{componentPath}
Path parameters
idstring required
The id of the digital twin. The id is unique within the service and case sensitive.
componentPathstring required
The name of the DTDL component.
Query parameters
api-versionstring required
The requested API version.
Response
Success
Component required
Digital twin component