Synchronous and Asynchronous Actions
Some actions are synchronous and others are asynchronous.
A connector does not respond to a synchronous action until it has completed the request. The result of the action is in the response to the request.
A connector responds to an asynchronous action immediately. The request is added to a queue of actions. The response to the request contains a token. You can use this token to determine whether the request has finished, and obtain the results of the action. To do this, use the QueueInfo
action.
Asynchronous Action Example
http://localhost:1234/action=Fetch&FetchAction=Synchronize
Asynchronous Action Response
<autnresponse> <action>FETCH</action> <response>SUCCESS</response> <responsedata> <token>MTAuMi4xMDUuMzQ6MTIzNDpGRVRDSDoxNzUyNTc4MDc0</token> </responsedata> </autnresponse>