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

From AutoCount Resource Center
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:
==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>
 
 

Revision as of 02:55, 4 March 2019

<DRAFT>

Incompleted!

Get List of AR Invoice

Get the list of AR Invoice in a specific date range.

API Method

Http Method: POST
Method: /api/public/v1/ARInvoice/GetARInvoiceList
Content-Type: application/json
Parameters: FromDateTime, ToDateTime
Document date range.

API Request Flow

  1. Submit GetARInvoiceList request to retrieve a range of AR Invoice in account book.
  2. Check the successful request status, if the data is completed (ready).
  3. Retrieve the data with Result method.


Code Snippets

  • Add header of "SOTC_AUTH", and assign value of AccessToken.



Reponse

Response Successful HTTP Request

200 OK

Response Successful Body

Id and Name are required to retrieve result (data).



See Also AOTG API


Go to menu

Go to top
Resources For AutoCount Software Developers