Setting query timeouts for XAPIs

About this task

You can add individual query timeouts for APIs. To do this, specify the query timeout value in seconds for the API in the API's input XML. For example:

<ApiInput QueryTimeout="10"> 
... 
... 
... 
</ApiInput>
Note: The value of the QueryTimeout attribute overrides the value of the yfs.ui.queryTimeout property in the yfs.properties file. But the value of this attribute is valid only for a single API call. After the API execution is complete, the query timeout is set to the old value based on the value of the yfs.ui.queryTimeout property in the yfs.properties file.