Template:AOTGResponseStatus: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1:
Response of the process status in body.
=====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.
*: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 indicates that the Create debtor request is not complete.
"RequestId": {{{1}}},
<syntaxhighlight lang="json-object">
"Status": "Processing"
{
 
"RequestId": {{{1}}},
"Status": "Processing"
}
</syntaxhighlight>
=====Completed status=====
*'''Completed''' status Indicates that the Create debtor request has been performed and succeeded.
"RequestId": {{{1}}},
<syntaxhighlight lang="json-object">
"Status": "Completed"
{
 
"RequestId": {{{1}}},
"Status": "Completed"
}
</syntaxhighlight>
=====Failed status=====
*'''Failed''' status indicates that the Create debtor request has been performed but has error.
"RequestId": {{{1}}},
<syntaxhighlight lang="json-object">
"Status": "Failed"
{
"RequestId": {{{1}}},
"Status": "Failed"
}
</syntaxhighlight>