Data360 Analyze

 View Only
  • 1.  Questions on REST API

    Posted 06-14-2019 07:21

    I have 2 questions regarding REST API at this point.

    1. Do we need to request for a new token everytime we run a dataflow ? Its just valid for a session ? 
    I request one today and when I try to run the dataflow with the same token the next day. It does't work.

     

    2. Is there a way to capture the "failed" run when we submit a process through REST API? 



  • 2.  RE: Questions on REST API

    Employee
    Posted 06-26-2019 06:13

    Re. 1: There is a finite validity period for a session token - when using the published REST API this is 4 hours. The token must be renewed after this time as described in the API documentation for the version of the product you are using - from The Help menu navigate to the System administration > API developer documentation topic.

    The information for the latest version of the product is here:

    https://d3sa-preview.infogixsaas.com/docs/dist/api/index.html#resource-user-session-renew-token-username-password

     

    Re. 2 Please refer to the API documentation for 'retrieving schedule run status' located in the 'Simple schedule run tasks' topic for your version of the product.

    The information for the latest version of the product is here:

    https://d3sa-preview.infogixsaas.com/docs/dist/api/index.html#tutorial-simple-scheduled-task-retrieving-status