With Classe365 API reference guide for Pre-admission Module, customers can connect any external forms into Classe365 Pre-admission module. Customers can:
- Create their own forms external to Classe365 application
- Pass all form data from external forms to Classe365 Pre-admission applications
Creating forms in Classe365
To connect external forms, you'll still need to create the same form in Classe365 as well. Pre-admission forms can be created from Modules -> Pre-admission -> Application Form Fields.
Make note of the field id. This value is required when you pass the information from your application.
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
E.g. php code to call this api through curl
$applicationData=['field_id'=>'Value','field_id'=>'Value']; // e.g. [‘first_name’ => ‘Alex’, ‘last_name’ => ‘Scott’, 'email'=>'firstname.lastname@example.org'];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $apiUrl);
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, false);
$output = curl_exec($ch);