AOTG API: Get List of AR Invoice: Difference between revisions

no edit summary
(Created page with "==<DRAFT>== Incompleted! <br/><br/> ==Get List of AR Invoice== Get the list of AR Invoice in a specific date range. {{AOTGApiMethodsSpec|POST|/api/public/v1/ARInvoice/GetARIn...")
 
No edit summary
Line 5:
==Get List of AR Invoice==
Get the list of AR Invoice in a specific date range.
{{AOTGApiMethodsSpec|POST|/api/public/v1/ARInvoice/GetARInvoiceList|Params=FromDateTime, ToDateTime<br/>Document date range.}}
 
==API Request Flow==
Line 13:
#Retrieve the data with '''Result method'''.
 
<br/>
==Code Snippets==
*Add header of '''"SOTC_AUTH"''', and assign value of '''AccessToken'''.
<br/>
{{AOTGApiCodeSnippetTab
|Python=
<syntaxhighlight lang="Python">
</syntaxhighlight>
|PHPHttp=
<syntaxhighlight lang="PHP">
</syntaxhighlight>
|RestSharp=
<syntaxhighlight lang="C#">
</syntaxhighlight>
|PHPcURL=
<syntaxhighlight lang="PHP">
</syntaxhighlight>
}}
 
===Reponse===
====Response Successful HTTP Request====
200 OK
====Response Successful Body====
'''Id''' and '''Name''' are required to retrieve result (data).
<syntaxhighlight lang="json-object" highlight="2,3">
 
</syntaxhighlight>