AOTG API: Get List of AR Invoice: Difference between revisions
Content added Content deleted
(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: | Line 5: | ||
==Get List of AR Invoice== |
==Get List of AR Invoice== |
||
Get the list of AR Invoice in a specific date range. |
Get the list of AR Invoice in a specific date range. |
||
{{AOTGApiMethodsSpec|POST|/api/public/v1/ARInvoice/GetARInvoiceList }} |
{{AOTGApiMethodsSpec|POST|/api/public/v1/ARInvoice/GetARInvoiceList|Params=FromDateTime, ToDateTime<br/>Document date range.}} |
||
==API Request Flow== |
==API Request Flow== |
||
Line 13: | Line 13: | ||
#Retrieve the data with '''Result method'''. |
#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> |
|||