shouldRetryRequest(context)
To access the LATAM E-Document Certification SuiteApp documentation in Brazilian Portuguese (Português do Brasil), see LATAM E-Document Certification.
Function Declaration |
|
Type |
Interface function |
Description |
Indicates whether the system should try to send the request again when:
These responses indicate, for example, that the web service is down or having problems. You should only implement this function if you need to adapt the system's behavior according with the tax authority's response. |
Returns |
Boolean |
Input Parameters |
Example
function shouldRetryRequest(context) {
return context.response == null || context.response.code != "200";
}
};