post https://example.com/device/v2/devices/templates/
Create a new Device by Template name
(*)This parameter is mandatory only if its optional parent attribute is defined. Click here for more information.
Request Body Parameters:
Parameter | Type | Mandatory | Description | Example |
---|---|---|---|---|
<customAttribute1> | <customAttribute1Type> | false | Regular custom attribute 1 value | |
<customAttributeN> | <customAttributeNType> | false | Regular custom attribute N value | |
_configuration | object | false | An object that holds the entity configuration attributes | |
_configuration.<customAttribute1> | <customAttribute1Type> | false | Configuration custom attribute 1 value | |
_configuration.<customAttributeN> | <customAttributeNType> | false | Configuration custom attribute N value | |
_description | string | false | Device description | |
_id | string | true | Pattern:[a-zA-Z0-9:_-]+ | |
_ownerOrganization | object | false | ||
_ownerOrganization.id | string | true(*) | A UUID formatted string | 3fa85f64-5717-4562-b3fc-2c963f66afa6 |
_patient | object | false | ||
_patient.id | string | true(*) | A UUID formatted string | 3fa85f64-5717-4562-b3fc-2c963f66afa6 |
_registrationCode | object | false | ||
_registrationCode.id | string | true(*) | A UUID formatted string | 3fa85f64-5717-4562-b3fc-2c963f66afa6 |
_timezone | string | false | A java time zone supported by the java runtime environment | Europe/Oslo |
Path Parameters:
Parameter | Type | Mandatory | Description | Example |
---|---|---|---|---|
templateName | string | true | null |
This API requires PROTECTED_API permission(s).