Questions on REST API
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?
-
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:
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:
Please sign in to leave a comment.
Comments
1 comment