2,743
edits
No edit summary |
No edit summary |
||
Line 74:
===Response===
But this response does not indicate the status of the delete.<br/>▼
As such, use '''RESULT''' method to acquire the status.▼
====Response Successful HTTP Request====
200 OK
Line 88 ⟶ 86:
}
</syntaxhighlight>
{{Note|AOTG Cloud Server returns successful response when the request has been performed.<br/>
▲But this response does not indicate the status of the delete.<br/>
▲As such, use '''RESULT''' method to acquire the status.
}}
==Get Status of the DELETE==
===Code Snippets===
{{AOTGApiCodeSnippetTab
|PHPHttp=
<syntaxhighlight lang="PHP">
</syntaxhighlight>
|RestSharp=
<syntaxhighlight lang="C#">
</syntaxhighlight>
|PHPcURL=
<syntaxhighlight lang="PHP">
</syntaxhighlight>
}}
====Response====▼
200 OK
=====Completed status=====
*'''Completed''' status Indicates that the DELETE request has been performed and succeeded.
<syntaxhighlight lang="json-object">
{
"RequestId": "f0268032-c161-4548-a74a-adb7143274a6",
"Status": "Completed"
}
</syntaxhighlight>
=====Failed status=====
*'''Faield''' status Indicates that the DELETE request has been performed but has error.
<syntaxhighlight lang="json-object">
{
"RequestId": "f0268032-c161-4548-a74a-adb7143274a6",
"Status": "Failed"
}
</syntaxhighlight>
==Get the failed reason of DELETE request==
{{AOTGApiCodeSnippetTab
|PHPHttp=
<syntaxhighlight lang="PHP">
</syntaxhighlight>
|RestSharp=
<syntaxhighlight lang="C#">
</syntaxhighlight>
|PHPcURL=
<syntaxhighlight lang="PHP">
</syntaxhighlight>
}}
▲===Response===
====Response Successful HTTP Request====
200 OK
|