Skip to main content

Create Device

POST 

/api/portals/createdevice

Tier: Internal — subject to change without notice.

Creates a reader or IO device with its sensors, actuators, and antennas, standalone (not yet attached to a portal).

The device is attached to a portal later via PortalController.UpdatePortal(...). The TemplateId's extended properties are the reader configuration values (e.g. IP address, reader mode, power settings — see Enums.ReaderMode for the reader-mode values). DeviceType and ConnectionType are supplied as strings and are not validated against their enums.

Request

Responses

Returns the created device, re-fetched after save. See PortalDtos.DeviceDetailDto. Initial Status is Offline; component statuses are Unknown.