Template:AOTGResponseStatus: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Response Successful HTTP Request |
|||
200 OK |
|||
<br/> |
<br/> |
||
''' |
'''4 possible response body of the process status.''' |
||
======InQueue status====== |
======InQueue status====== |
||
*'''InQueue''' status Indicates that the requests to AOTG Server is waiting to be processed. |
*'''InQueue''' status Indicates that the requests to AOTG Server is waiting to be processed. |
||
*Usually this happen when many requests are in a loop. |
*Usually this happen when many requests are in a loop. |
||
*: |
*:Make sure the request in the loop has a pause time, |
||
*:or use 'batch' method to process multiple records in single request (if available). |
|||
<span style="color:#336600;">"RequestId"</span>: <span style="color:#cc0000;">{{{1}}}</span>, |
<span style="color:#336600;">"RequestId"</span>: <span style="color:#cc0000;">{{{1}}}</span>, |
||
<span style="color:#336600;">"Status"</span>: <span style="color:#cc0000;">"InQueue"</span> |
<span style="color:#336600;">"Status"</span>: <span style="color:#cc0000;">"InQueue"</span> |
Revision as of 03:24, 28 March 2019
Response Successful HTTP Request
200 OK
4 possible response body of the process status.
InQueue status
- InQueue status Indicates that the requests to AOTG Server is waiting to be processed.
- Usually this happen when many requests are in a loop.
- Make sure the request in the loop has a pause time,
- or use 'batch' method to process multiple records in single request (if available).
"RequestId": {{{1}}}, "Status": "InQueue"
Processing status
- Processing status indicates that the request is not complete.
"RequestId": {{{1}}}, "Status": "Processing"
Completed status
- Completed status Indicates that the request has been performed and succeeded.
"RequestId": {{{1}}}, "Status": "Completed"
Failed status
- Failed status indicates that the request has been performed but has error.
"RequestId": {{{1}}}, "Status": "Failed"