• 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

    Continue the topic RESTful API for CRUD data point

    Wishlist
    api crud data point
    3
    4
    1.4k
    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.
    • J
      jyc9999
      last edited by

      Re: RESTful API to CRUD data source/data point/publisher

      I am looking for a way to change data point value using Mango API.

      I searched on the forum and ran into a relevant topic (shown above). The last reply has been more than 1 year old. Could you please provide some updates on this topic and point me to the right direction on how to implement that?

      Thank you

      Jack

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

        Hi Jack, welcome to the forum!

        The API has come a long way in the last year. We can't really keep every thread up to date forever, but we can answer your questions as they arise if you can't find the answer.

        If you haven't seen swagger, I encourage you to modify your Mango/overrides/properties/env.properties or Mango/classes/env.properties file to have swagger.enabled=true (it is false by default). Then, after you restart Mango and login, you can navigate to /swagger and get a list of available API endpoints. You can use the GET /rest/v1/data-points/{xid} endpoint to get the model of your data point for the PUT endpoint.

        I have a feeling you're looking for the endpoint PUT /rest/v1/data-points/{xid}

        1 Reply Last reply Reply Quote 0
        • terrypackerT
          terrypacker
          last edited by

          One more quick note is that if you are trying to change the point value of a data point you may want to look at a PUT to /point-values/{xid}.

          1 Reply Last reply Reply Quote 0
          • J
            jyc9999
            last edited by

            Thank you very much for your responses. I am new to the Mango system and still trying to get my ways around it, Really appreciate this forum and all the helps you all provided!

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