AOTG API: Create AR Invoice: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 257: | Line 257: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
<br/> |
|||
==Use RESULT method to get the failed reason of Create Debtor request== |
|||
===Code Snippets=== |
|||
{{AOTGApiCodeSnippetTab |
|||
|Python= |
|||
<syntaxhighlight lang="Python"> |
|||
</syntaxhighlight> |
|||
|PHPHttp= |
|||
<syntaxhighlight lang="PHP"> |
|||
</syntaxhighlight> |
|||
|RestSharp= |
|||
<syntaxhighlight lang="C#"> |
|||
</syntaxhighlight> |
|||
|PHPcURL= |
|||
<syntaxhighlight lang="PHP"> |
|||
</syntaxhighlight> |
|||
}} |
|||
====Response Successful from HTTP RESULT==== |
|||
200 OK |
|||
====Result of Failed reason==== |
|||
=====Debtor record not found===== |
|||
<tabber> |
|||
Body= |
|||
|-| |
|||
Readable of ResultJson= |
|||
</tabber> |
|||