POST api/v1/myaircoach/observation/cloud
Post an observations
Request Information
Headers
URI Parameters
None.
Body Parameters
Collection of ObservationWithTimestampName | Description | Type | Additional information |
---|---|---|---|
Typeid |
The type identifier for the observation |
DeviceType |
None. |
Timestamp |
Timestamp for when the observation are taken |
string |
None. |
Inputtype |
Input type used for the observation {AUTO, MANUAL, TEST} |
string |
None. |
Source |
The source from were the observation comes from |
string |
None. |
Equipmentid |
{Optional} - Equipment identifier of the device used in the observation. |
string |
None. |
Measurements |
Collection of zero or more repetitions |
Collection of MeasurementWithTimestamp |
None. |
Request Formats
application/json
Sample:
[ { "Typeid": 528388, "Timestamp": "sample string 1", "Inputtype": "sample string 2", "Source": "sample string 3", "Equipmentid": "sample string 4", "Measurements": [ { "Timestamp": "sample string 1", "TypeId": 68185, "Value": "sample string 2", "UnitCode": 262656 }, { "Timestamp": "sample string 1", "TypeId": 68185, "Value": "sample string 2", "UnitCode": 262656 } ] }, { "Typeid": 528388, "Timestamp": "sample string 1", "Inputtype": "sample string 2", "Source": "sample string 3", "Equipmentid": "sample string 4", "Measurements": [ { "Timestamp": "sample string 1", "TypeId": 68185, "Value": "sample string 2", "UnitCode": 262656 }, { "Timestamp": "sample string 1", "TypeId": 68185, "Value": "sample string 2", "UnitCode": 262656 } ] } ]
Response Information
Headers
Resource Description
Collection of ResponseName | Description | Type | Additional 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" }, { "Result": "sample string 1", "Message": "sample string 2" } ]