我正在使用IoT Asset Tracking Perishable Goods Network project的作曲家文件。
在Playground中:初始化(SetupDemo事务)后,我运行了两次AccelReading事务,这些事务反映在Shipment资产中:
{
"$class": "org.acme.shipping.perishable.Shipment",
"shipmentId": "320022000251363131363432",
<shipment data>,
"AccelReadings": [
{
"$class": "org.acme.shipping.perishable.AccelReading",
<accelreading data 1>
"timestamp": "2018-09-11T17:48:04.692Z"
},
{
"$class": "org.acme.shipping.perishable.AccelReading",
<accelreading data 2>
"timestamp": "2018-09-11T18:59:27.340Z"
}
]
}
问题是,在使用Composer REST API时,我看不到加速数据x:
正如Paul所建议的那样,我正在使用不同的API和过滤器字段。