1. Retrieve Fees, Invoices or Payments Information URL - https://<tenant>.classe365.com/rest/feesInfo?<param>=<value>Possible 

Parameters:
a. fee_id/invoice_id/payment_id –
           i. For particular fees information and all invoices & payments belonging to that fees -  pass fee_id
           ii. For particular invoice information & all payment belonging to that invoice – pass invoice_id
           iii. For particular payment information – pass payment_id
           iv. If you don’t pass neither of above then system will return all fees, invoices & payments information 

b. format (api response format)
          i. Default response format is XML format but if you want the response in json format then pass this “format” param with value “json”Note: 


Note: This API requires basic http authentication for access. Tenant name should be passed as username and api key should be passed as password. To understand how to get the API key, please check Classe365 API Introduction. URL - https://<tenant name>.classe365.com/rest/applicationSubmit 

Code Example

E.g. php code to call this api through curl

<?php
$url='https://demo.classe365.com/rest/feesInfo?fee_id=2'; // to get particular fees information (having id 2) and all relevant invoices & payments information
$domainName="demo"; // tenant name
$apiKey='Eq78O$s9Ay@8kylj'; // key generated from application > settings > apis
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $ url);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERPWD, $domainName.":".$apiKey);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
$output = curl_exec($ch);
curl_close($ch);
?> 

Did this answer your question?