Skip to main content
1-Visitor
July 25, 2017
Question

Creating Things based on Infotable results

  • July 25, 2017
  • 1 reply
  • 1375 views

Hi All

I am new to TWX, I have created an integration connector to my API and am able to GET info on the Service no problem.

What I am struggling to do is to create a service that will create the results of the GET (which is in an infotable via Route) and then have a scheduler to check the values every 30minutes.

// result: INFOTABLE dataShape: "ApexReadings"

var result =  Things["nooitconnector"].nooitreadings({

     Order: undefined /* STRING */,

     SiteId: undefined /* INTEGER */,

     PageSize: undefined /* INTEGER */,

     PageNumber: undefined /* INTEGER */,

     Search: undefined /* STRING */,

     Sort: undefined /* STRING */,

     From: undefined /* STRING */,

     To: undefined /* STRING */,

     MeterId: undefined /* INTEGER */

});

Is this a difficult thing to do?

Thanks in advance

Daz

1 reply

5-Regular Member
July 26, 2017

Hello, Darryl.

I think we need some more information here to assist with this. Can you post or upload the full script of the Service?  How is the API call being used by the Service?

Thank you,

-- Craig A.