A GraphQL API must be executed in less than 28 seconds. Otherwise, the operation times out.
To make sure an operation can last for more time than the time-out limit, you can use an asynchronous mutation.
An asynchronous operation uses a start call and returns a tracking Id.
The following table displays an example and the result of an asynchronous mutation. Some of the fields displayed are not mandatory and others have been omitted.
You can do a second call to check the result using the returned tracking Id.
The following table displays an example of a query mutation using an asynchronous mutation and its result once it is finished. Some of the fields displayed are not mandatory and others have been omitted.
query {
xtremReporting {
report {
generateReportPdf {
track (trackingId: "zCM6T7qDNdav2ZR8S0hg7") {
status result {
key
filename
mimeType
contentLength
status
rejectReason
downloadUrl
}
errorMessage
}
}
}
}
}