Reporting APIs

Examples

merchant-statement-list Request

https://[server-name]/reports?userName=myUsername&password=myP%40ssword&fromDate=20210112&toDate=20210120&accountId=2001
Operation        

Operation Type        
( ! ) Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/html/unidoc/unicharge.php on line 4643
Call Stack
#TimeMemoryFunctionLocation
10.0012321048{main}( ).../index.php:0
20.02621421192include( '/var/www/html/unidoc/unicharge.php' ).../index.php:381
30.09722193592mysql_fetch_array ( ).../unicharge.php:4643


//More examples this http://curl.haxx.se/docs/httpscripting.html 
 curl -X POST https://[server-name]/reports? \         
 	 -d "userName=myUsername" \ 
	 -d "password=myP%40ssword" \ 
	 -d "fromDate=20210112" \ 
	 -d "toDate=20210120" \ 
	 -d "accountId=2001" 
 
 
 

key: userName myUsername
key: password myP%40ssword
key: fromDate 20210112
key: toDate 20210120
key: accountId 2001
https://[server-name]/reports?userName=myUsername&password=myP%40ssword&fromDate=20210112&toDate=20210120&accountId=2001