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 

Code Example

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

<?php
$applicationData=['field_id'=>'Value','field_id'=>'Value'];  // e.g.  [‘first_name’ => ‘Alex’, ‘last_name’ => ‘Scott’, 'email'=>'xxx@gmail.com'];
$data=[];
$data['data']=json_encode($applicationData);
$apiUrl='https://demo.classe365.com/rest/applicationSubmit';
$domainName="demo";
$apiKey='api_key_value_here';
$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);
curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
$output = curl_exec($ch);
curl_close($ch);
?>

Did this answer your question?