POST api/v1/observation
Post a collection of observations
Request Information
Headers
URI Parameters
None.
Body Parameters
The observation collection.
Collection of ObservationName | Description | Type | Additional information |
---|---|---|---|
Typeid |
The type identifier for the observation |
DeviceType |
Required |
Timestamp |
Timestamp for when the observation are taken |
string |
Required |
Inputtype |
Input type used for the observation {AUTO, MANUAL, TEST} |
string |
Required |
Source | string |
None. |
|
Equipmentid |
{Optional} - Equipment identifier of the device used in the observation. |
string |
None. |
Measurements |
Collection of zero or more repetitions |
Collection of Measurement |
Required |
Comment |
{Optional} - A custom plain text comment belonging to the observation |
string |
None. |
Contexts |
{Optional} - Collection of zero or more repetitions |
Collection of ContextInformation |
None. |
Request Formats
application/json
[ { "Typeid": 528391, "Timestamp": "2017-05-03T12:00:00.000+02:00", "Inputtype": "TEST", "Source": null, "Equipmentid": "5C313EFFFE020E12", "Measurements": [ { "TypeId": 150021, "Value": "125", "UnitCode": 266016 }, { "TypeId": 150022, "Value": "80", "UnitCode": 266016 }, { "TypeId": 149546, "Value": "65", "UnitCode": 264864 } ], "Comment": null, "Contexts": null } ]
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
[ { "Result": "AA", "Message": "" } ]