POST api/v1/patient/device/create

Creates a new device

Request Information

Headers

URI Parameters

None.

Body Parameters

DevicePatient
NameDescriptionTypeAdditional 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.

LatestSync

The latest synchronize of the device to the server.

date

None.

Request Formats

application/json

Sample:
{
  "TypeId": 528388,
  "EquipmentId": "sample string 1",
  "Status": "Allocated",
  "Manufacturer": "sample string 2",
  "Model": "sample string 3",
  "SerialNumber": "sample string 4",
  "LatestSync": "2025-02-03T10:45:12.0487506+00:00"
}

Response Information

Headers

Resource Description

Response
NameDescriptionTypeAdditional information
Result

Result of the response

string

None.

Message

Additional information of the response

string

None.

Response Formats

application/json

Sample:
{
  "Result": "sample string 1",
  "Message": "sample string 2"
}