This chapter describes the response of the TFNRegistry™ synchronous invocations. If the user makes a synchronous call (not providing the callback URL) and the “Wait Response Timer expires”, the system will respond with a unique Message ID as part of the same request (see Table 1 Synchronous Response). The Message ID provided should be used by the caller to do the active polling.
Table 1: This table describes the response of the TFNRegistry synchronous invocations.
Synchronous Response |
{ “reqId”: “1234”, "statusMsg": "Request is in Progress"
} |
During the active polling request, if the initial request is still in progress, the TFNRegistry API will reply to caller with HTTP status “202 Accepted” (see Figure 2 Synchronous with Active Polling). If the corresponding request referred by the optional {reqId} element in URL has been completed, the corresponding response JSON payload described in each response section of the endpoint will be returned with the HTTP status code 200 OK or specific error as indicated in the response section.
Figure 2 Synchronous with Active Polling