<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: streaming dataset(REST API) multiple values as object or array in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/streaming-dataset-REST-API-multiple-values-as-object-or-array/m-p/474770#M14568</link>
    <description>&lt;P&gt;Hi Bastian,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The format should be like the demo. So it should be like below taking your data as an example.&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/FONT&gt;
{
"id" :"AAAAA555555",
"cycle_value" :98.6,
"timestampe" :"2018-07-27T10:21:44.883Z",
"current" :98.6,
"speed" :98.6
&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;},&lt;/STRONG&gt;&lt;/FONT&gt;
{
"id" :"AAAAA555555",
"cycle_value" :98.6,
"timestampe" :"2018-07-27T10:21:44.883Z",
"current" :98.6,
"speed" :98.6
}
&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;]&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;PRE&gt;[
{
     "current": "#%-ItemValue%TB6.PLC_1.Inputs.Current1(7)_Subscription_1000%Current-%#",
        "id":   "rd_25",
     "speed": "#%-ItemValue%TB6.PLC_1.Inputs.Speed Motor 4(7)_Subscription_1000%Current-%#",
     "timestampe": "#%-ItemValue%TB6.Server.ServerStatus.CurrentTime_Subscription_1000%Current-%#",
     "cycle_value": "#%-ItemValue%TB6.PLC_1.DataBlocksGlobal.counter_Db.dc1_count_1_Subscription_1000%Current-%#",
},
{
     "current": "#%-ItemValue%TB6.PLC_1.Inputs.Current2(7)_Subscription_1000%Current-%#",
        "id": "rd_26",
     "speed": "#%-ItemValue%TB6.PLC_1.Inputs.Speed Motor 4(7)_Subscription_1000%Current-%#",
     "timestampe": "#%-ItemValue%TB6.Server.ServerStatus.CurrentTime_Subscription_1000%Current-%#",
     "cycle_value": "#%-ItemValue%TB6.PLC_1.DataBlocksGlobal.counter_Db.dc1_count_1_Subscription_1000%Current-%#",
},
{
     "current": "#%-ItemValue%TB6.PLC_1.Inputs.Current3(7)_Subscription_1000%Current-%#",
        "id": "rd_27",
     "speed": "#%-ItemValue%TB6.PLC_1.Inputs.Speed Motor 4(7)_Subscription_1000%Current-%#",
     "timestampe": "#%-ItemValue%TB6.Server.ServerStatus.CurrentTime_Subscription_1000%Current-%#",
     "cycle_value": "#%-ItemValue%TB6.PLC_1.DataBlocksGlobal.counter_Db.dc1_count_1_Subscription_1000%Current-%#",
},
{
     "current":"#%-ItemValue%TB6.PLC_1.Inputs.Current4(7)_Subscription_1000%Current-%#",
        "id":  "rd_28",
     "speed": "#%-ItemValue%TB6.PLC_1.Inputs.Speed Motor 4(7)_Subscription_1000%Current-%#",
     "timestampe": "#%-ItemValue%TB6.Server.ServerStatus.CurrentTime_Subscription_1000%Current-%#",
     "cycle_value": "#%-ItemValue%TB6.PLC_1.DataBlocksGlobal.counter_Db.dc1_count_1_Subscription_1000%Current-%#",
}
]&lt;/PRE&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jul 2018 05:19:19 GMT</pubDate>
    <dc:creator>v-jiascu-msft</dc:creator>
    <dc:date>2018-07-30T05:19:19Z</dc:date>
    <item>
      <title>streaming dataset(REST API) multiple values as object or array</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/streaming-dataset-REST-API-multiple-values-as-object-or-array/m-p/473714#M14541</link>
      <description>&lt;P&gt;Hi everbody&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a problem and i hope that you could support me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create a new streaming Dataset( REST API):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;[&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="padLeft"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="streamingDataValue"&gt;&lt;EM&gt;&lt;SPAN class="columnName"&gt;"id"&lt;/SPAN&gt; &lt;SPAN class="operator padRight"&gt;:&lt;/SPAN&gt;"AAAAA555555"&lt;SPAN class="operator"&gt;,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="streamingDataValue"&gt;&lt;EM&gt;&lt;SPAN class="columnName"&gt;"cycle_value"&lt;/SPAN&gt; &lt;SPAN class="operator padRight"&gt;:&lt;/SPAN&gt;98.6&lt;SPAN class="operator"&gt;,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="streamingDataValue"&gt;&lt;EM&gt;&lt;SPAN class="columnName"&gt;"timestampe"&lt;/SPAN&gt; &lt;SPAN class="operator padRight"&gt;:&lt;/SPAN&gt;"2018-07-27T10:21:44.883Z"&lt;SPAN class="operator"&gt;,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="streamingDataValue"&gt;&lt;EM&gt;&lt;SPAN class="columnName"&gt;"current"&lt;/SPAN&gt; &lt;SPAN class="operator padRight"&gt;:&lt;/SPAN&gt;98.6&lt;SPAN class="operator"&gt;,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="streamingDataValue"&gt;&lt;EM&gt;&lt;SPAN class="columnName"&gt;"speed"&lt;/SPAN&gt; &lt;SPAN class="operator padRight"&gt;:&lt;/SPAN&gt;98.6&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="padLeft"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;]&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And the body for the streamind Dataset looks like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;"{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"current": {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;"rd25": "#%-ItemValue%TB6.PLC_1.Inputs.Current1(7)_Subscription_1000%Current-%#",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;"rd26": "#%-ItemValue%TB6.PLC_1.Inputs.Current2(7)_Subscription_1000%Current-%#",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;"rd27": "#%-ItemValue%TB6.PLC_1.Inputs.Current3(7)_Subscription_1000%Current-%#",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;"rd28": "#%-ItemValue%TB6.PLC_1.Inputs.Current4(7)_Subscription_1000%Current-%#"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;},&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id": &amp;nbsp;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;"rd25": "rd_25",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;"rd26": "rd_26",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;"rd27": "rd_27",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;"rd28": "rd_28"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;},&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"speed": "#%-ItemValue%TB6.PLC_1.Inputs.Speed Motor 4(7)_Subscription_1000%Current-%#",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"timestampe": "#%-ItemValue%TB6.Server.ServerStatus.CurrentTime_Subscription_1000%Current-%#",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"cycle_value": "#%-ItemValue%TB6.PLC_1.DataBlocksGlobal.counter_Db.dc1_count_1_Subscription_1000%Current-%#",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;"&lt;/DIV&gt;&lt;DIV&gt;But I only receive data from "speed","timestampe" and "cycle_value".&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So there is a problem with the declariation for "current" and "id".&lt;/DIV&gt;&lt;DIV&gt;I tried to implement this mutltiple values as an object { } and as an array[ ]. Booth ways didn´t work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope you can help me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Many thanks in advance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards&lt;/DIV&gt;&lt;DIV&gt;bastian&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Jul 2018 10:28:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/streaming-dataset-REST-API-multiple-values-as-object-or-array/m-p/473714#M14541</guid>
      <dc:creator>bastian_mpnkt</dc:creator>
      <dc:date>2018-07-27T10:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: streaming dataset(REST API) multiple values as object or array</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/streaming-dataset-REST-API-multiple-values-as-object-or-array/m-p/474770#M14568</link>
      <description>&lt;P&gt;Hi Bastian,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The format should be like the demo. So it should be like below taking your data as an example.&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/FONT&gt;
{
"id" :"AAAAA555555",
"cycle_value" :98.6,
"timestampe" :"2018-07-27T10:21:44.883Z",
"current" :98.6,
"speed" :98.6
&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;},&lt;/STRONG&gt;&lt;/FONT&gt;
{
"id" :"AAAAA555555",
"cycle_value" :98.6,
"timestampe" :"2018-07-27T10:21:44.883Z",
"current" :98.6,
"speed" :98.6
}
&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;]&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;PRE&gt;[
{
     "current": "#%-ItemValue%TB6.PLC_1.Inputs.Current1(7)_Subscription_1000%Current-%#",
        "id":   "rd_25",
     "speed": "#%-ItemValue%TB6.PLC_1.Inputs.Speed Motor 4(7)_Subscription_1000%Current-%#",
     "timestampe": "#%-ItemValue%TB6.Server.ServerStatus.CurrentTime_Subscription_1000%Current-%#",
     "cycle_value": "#%-ItemValue%TB6.PLC_1.DataBlocksGlobal.counter_Db.dc1_count_1_Subscription_1000%Current-%#",
},
{
     "current": "#%-ItemValue%TB6.PLC_1.Inputs.Current2(7)_Subscription_1000%Current-%#",
        "id": "rd_26",
     "speed": "#%-ItemValue%TB6.PLC_1.Inputs.Speed Motor 4(7)_Subscription_1000%Current-%#",
     "timestampe": "#%-ItemValue%TB6.Server.ServerStatus.CurrentTime_Subscription_1000%Current-%#",
     "cycle_value": "#%-ItemValue%TB6.PLC_1.DataBlocksGlobal.counter_Db.dc1_count_1_Subscription_1000%Current-%#",
},
{
     "current": "#%-ItemValue%TB6.PLC_1.Inputs.Current3(7)_Subscription_1000%Current-%#",
        "id": "rd_27",
     "speed": "#%-ItemValue%TB6.PLC_1.Inputs.Speed Motor 4(7)_Subscription_1000%Current-%#",
     "timestampe": "#%-ItemValue%TB6.Server.ServerStatus.CurrentTime_Subscription_1000%Current-%#",
     "cycle_value": "#%-ItemValue%TB6.PLC_1.DataBlocksGlobal.counter_Db.dc1_count_1_Subscription_1000%Current-%#",
},
{
     "current":"#%-ItemValue%TB6.PLC_1.Inputs.Current4(7)_Subscription_1000%Current-%#",
        "id":  "rd_28",
     "speed": "#%-ItemValue%TB6.PLC_1.Inputs.Speed Motor 4(7)_Subscription_1000%Current-%#",
     "timestampe": "#%-ItemValue%TB6.Server.ServerStatus.CurrentTime_Subscription_1000%Current-%#",
     "cycle_value": "#%-ItemValue%TB6.PLC_1.DataBlocksGlobal.counter_Db.dc1_count_1_Subscription_1000%Current-%#",
}
]&lt;/PRE&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 05:19:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/streaming-dataset-REST-API-multiple-values-as-object-or-array/m-p/474770#M14568</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-07-30T05:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: streaming dataset(REST API) multiple values as object or array</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/streaming-dataset-REST-API-multiple-values-as-object-or-array/m-p/475051#M14581</link>
      <description>&lt;P&gt;Hi Dale,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;bastian&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 09:19:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/streaming-dataset-REST-API-multiple-values-as-object-or-array/m-p/475051#M14581</guid>
      <dc:creator>bastian_mpnkt</dc:creator>
      <dc:date>2018-07-30T09:19:32Z</dc:date>
    </item>
  </channel>
</rss>

