Unable to upload Blood-Glucose-Measure RRS feed

  • Question

  • This is an Android application using PutThings Version 2.

    The error I'm getting is "The XML request format is invalid. -- The element 'data-xml' has invalid child element 'value'. List of possible elements expected: 'common'."

    The XML for glucose measure

    <info> <thing> <type-id>879e7c04-4e8a-4707-9ad3-b054df467ce4</type-id> <eff-date>2010-09-03T12:13:22</eff-date> <data-xml> <when> <date><y>2010</y><m>9</m><d>3</d></date> <time><h>12</h><m>13</m><s>22</s></time </when> <value><mmolPerL>25</mmolPerL></value> <glucose-measurement-type><text>whole blood</text></glucose-measurement-type>

    </data-xml> </thing> </info>

    I'm not sure where I'm violating the schema.

    • Edited by sargcatfish1 Wednesday, December 18, 2013 3:18 AM
    Wednesday, December 18, 2013 2:05 AM