POST api/Unit
Request Information
URI Parameters
None.
Body Parameters
UnitModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
LocLat | decimal number |
None. |
|
LocLong | decimal number |
None. |
|
DateCreated | date |
Data type: Date |
|
Measurements | Collection of MeasurementModel |
None. |
|
Sensors | Collection of SensorModel |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UnitModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
LocLat | decimal number |
None. |
|
LocLong | decimal number |
None. |
|
DateCreated | date |
Data type: Date |
|
Measurements | Collection of MeasurementModel |
None. |
|
Sensors | Collection of SensorModel |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.