Template:AOTGResponseStatus: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
Response of the process status in body.
=====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.
*:Tips: Make sure the request in the loop has a pause time, or use 'batch' method to process multiple records in single request.
*:Tips: Make sure the request in the loop has a pause time, or use 'batch' method to process multiple records in single request.
"RequestId": {{{1}}},
<syntaxhighlight lang="json-object">
"Status": "InQueue"
{

"RequestId": {{{1}}},
"Status": "InQueue"
}
</syntaxhighlight>
=====Processing status=====
=====Processing status=====
*'''Processing''' status indicates that the Create debtor request is not complete.
*'''Processing''' status indicates that the request is not complete.
"RequestId": {{{1}}},
<syntaxhighlight lang="json-object">
"Status": "Processing"
{

"RequestId": {{{1}}},
"Status": "Processing"
}
</syntaxhighlight>
=====Completed status=====
=====Completed status=====
*'''Completed''' status Indicates that the Create debtor request has been performed and succeeded.
*'''Completed''' status Indicates that the request has been performed and succeeded.
"RequestId": {{{1}}},
<syntaxhighlight lang="json-object">
"Status": "Completed"
{

"RequestId": {{{1}}},
"Status": "Completed"
}
</syntaxhighlight>
=====Failed status=====
=====Failed status=====
*'''Failed''' status indicates that the Create debtor request has been performed but has error.
*'''Failed''' status indicates that the request has been performed but has error.
"RequestId": {{{1}}},
<syntaxhighlight lang="json-object">
"Status": "Failed"
{
"RequestId": {{{1}}},
"Status": "Failed"
}
</syntaxhighlight>