• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Feeding an external application expecting RESTful webservice

    User help
    3
    5
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sasa
      last edited by sasa

      Hi together,

      I opened an new topic, because I couldn´t find helpful informations about "restful" in the forum. I think that is an often chosen way to push data, so it would be cool to have an complete documentation for that.

      Case: An external system expects data from mango. It uses RESTful webservices.

      Here is the definition:

      0_1476102422024_webservice-restful.JPG

      The datastructure looks like:

      {
      "identifier": "1",
      "timestamp": "1475157787",
      "value" : "10",
      "type" : "27",
      "status" : "1",
      "smgwid" : "1",
      "obis" : "1-0:1.8.0",
      "validation": "xyz"
      }

      I tried to use the HTTP-sender method, but couldn´t find a successful way to get it going. Looking at Phil´s work from this topic

      http://infiniteautomation.com/forum/topic/2187/how-to-use-publishers-http-sender/4

      gives me hope that it could work, because he creates an URL with custom fields.

      Has someone experiences with that method or suggestions how it could work with given system methods?

      Regards
      Sasa

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi Sasa,

        I just answered you in the original thread: http://infiniteautomation.com/forum/topic/2187/how-to-use-publishers-http-sender

        1 Reply Last reply Reply Quote 0
        • S
          sasa
          last edited by

          Hi Phil,

          thank you for the help. I will start with the implementation work now.

          Sasa

          1 Reply Last reply Reply Quote 0
          • JoelHaggarJ
            JoelHaggar
            last edited by

            Mango has a RESTful API that you might be able to use. It will not automatically post data as you see here but it works like most normal API's where you request data. You can subscribe to web sockets to receive automatic data pushes when point values change.

            See here for more information:
            http://help.infiniteautomation.com/support/solutions/folders/14000104814

            1 Reply Last reply Reply Quote 0
            • S
              sasa
              last edited by

              Thank you for the interesting news Joel!
              I had a bit contact with swagger and will dive deeper now to get it going.

              Regards,
              Sasa

              1 Reply Last reply Reply Quote 0
              • First post
                Last post