POST api/v1/measurement/devices/create
Creates a new FMS device record
CygNet Access Requirements
CygNet ACS security: BRDGAPI ACCESS 3
CygNet Bridge API license type: Base
Request Information
URI Parameters
None
Body Parameters
Request object containing the data for the new device
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteService |
CygNet site and service (Site.Service) of the FMS Service |
string |
Required |
| beginActiveDate |
Begin Active Date |
date |
Required |
| endActiveDate |
End Active Date |
date |
Required |
| deviceInstallDate |
Install date of the device |
date |
Required |
| name |
Device Name |
string |
Required |
| description |
Device Description |
string |
Required |
| deviceType |
Device type |
integer |
Required |
| timezoneKey |
CygNet Timezone key |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"siteService": "CYGSITE.FMS",
"beginActiveDate": "2000-01-01T00:00:00",
"endActiveDate": "3000-12-31T00:00:00",
"deviceInstallDate": "2020-01-15T00:00:00",
"name": "New_Device",
"description": "My new device",
"deviceType": 1,
"timezoneKey": 64
}
Response Information
Resource Description
Device record for the specified device name
| Name | Description | Type | Additional information |
|---|---|---|---|
| nodeId |
Value of the specified property |
integer |
None |
Response Formats
application/json, text/json
Sample:
{
"nodeId": 200
}