POST api/v1/healthprofessional/device/create
Creates a new device
Request Information
Headers
URI Parameters
None.
Body Parameters
DeviceHPName | Description | Type | Additional information |
---|---|---|---|
TypeId |
The type identifier for the device |
DeviceType |
None. |
EquipmentId |
The equipment identifier, Bluetooth/ZigBee address or other identifier. |
string |
None. |
Status |
The status of the device, allocated or deallocated. |
DeviceStatus |
None. |
Manufacturer |
{Optional} - The manufacturer for the device |
string |
None. |
Model |
{Optional} - Model of the device |
string |
None. |
SerialNumber |
{Optional} - The serial number for the device |
string |
None. |
PatientId |
The patient identifier mapped to the device |
string |
None. |
LatestSync |
The latest synchronize of the device to the server. |
date |
None. |
Request Formats
application/json
{ "TypeId": 528388, "EquipmentId": "sample string 1", "Status": "Allocated", "Manufacturer": "sample string 2", "Model": "sample string 3", "SerialNumber": "sample string 4", "PatientId": "sample string 5", "LatestSync": "2025-02-03T11:08:20.5859456+00:00" }
Response Information
Headers
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
Result |
Result of the response |
string |
None. |
Message |
Additional information of the response |
string |
None. |
Response Formats
application/json
{ "Result": "sample string 1", "Message": "sample string 2" }