Reporting APIs

Examples

merchant-statement-list Request

https://[server-name]/reports?userName=myUsername&password=myP%40ssword&fromDate=20180101&toDate=20180131&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 4666
Call Stack
#TimeMemoryFunctionLocation
10.0000234112{main}( )../index.php:0
20.0045287328include( '/var/www/html/unidoc/unicharge.php' )../index.php:356
30.0354453864mysql_fetch_array ( )../unicharge.php:4666


//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=20180101" \ 
	 -d "toDate=20180131" \ 
	 -d "accountId=2001" 
 
 
 

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