Skip to main content

API: Updating a Data Source (Lookup)

Comments

6 comments

  • Bradley V.

    Does this not return anything, not even headers, when things go as planned?

    0
  • GlennMC

    Hello Bradley,

    When things go as planned with this API call, there will be an HTTP response with at least 2 headers.  One of these will be the HTTP response code of "200".  

    If an error occurs, you will get a non-200 response code header along with more headers with problem information, as documented here:

    https://support.prontoforms.com/entries/21017302-Error-Handling

    /Glenn

     

     

    0
  • Sunil Pai

    Is there a way to trigger a data source that is not a CSV upload to fetch its details again? For example, one tied to a Google Spreadsheet?

    0
  • Danielle Morley

    Hello Sunil,

     

    The API can only update a Manual Upload data source.  For other data sources like Google Spreadsheet, we recommend setting up a fetch schedule at regular intervals (such as hourly) to cover this need.

     

    0
  • Sunil Pai

    Thanks, Danielle. Since you have the ability to "Fetch New Data" for a data source through the web UI, I had assumed it could be done through the API. I would encourage adding this as a feature in the future.

    0
  • Sunil Pai

    Currently Data Sources have a checkbox to "Push updates to devices after a fetch". Does this push only when the datasource has been changed, or on every fetch regardless of changes? The reason I ask is that we recently activated push notifications, but now our users are reporting that they are being told to update their ProntoForms every hour even though I'm confident that none of our data sources are changing that frequently.

    0

Please sign in to leave a comment.