Returns "Success" if enrolment record successfully inserted, or an array of validation "Errors" if the record is unable to be inserted.
-
Version History:
TASS v48.0 - Method Added
-
Version:
1
-
Method:
GET | POST
-
Params:
Required:
application_id [string]
- Enrolment Application IDstud_surname [string]
- Student Surnamegiven_name [string]
- Student Given Name(s)preferred_name [string]
- Student Preferred Namedob [date dd/mm/yyyy]
- Student Date of Birthsex [string]
- Student Gender ("M" or "F")entry_yr [integer]
- Year of Student Entryentry_ygrp [integer]
- Student Year Group when Startingboarder [string]
- Is the Student a Boarder ("Y" or "N")doa [date dd/mm/yyyy]
- Date of Enrolment Applicationpar_surname [string]
- Parent Surnamepar_name [string]
- Parent Full NameOptional:
religion [string]
- Student Religioncurr_year_grp [integer]
- Current Year Groupcurr_school [string]
- Current Schoolprosp_flg [string]
- Stage 1 Flagprosp_date [date dd/mm/yyyy]
- Stage 1 Datefollowup_flg [string]
- Stage 2 Flagfollowup_date [date dd/mm/yyyy]
- Stage 2 Datehold_paid [string]
- Stage 3 Flaghpaid_date [date dd/mm/yyyy]
- Stage 3 Dateinterview_flg [string]
- Stage 4 Flaginterview_date [date dd/mm/yyyy]
- Stage 4 Dateassess_flg [string]
- Stage 5 Flagassess_date [date dd/mm/yyyy]
- Stage 5 Dateplace_offered [string]
- Stage 6 Flagoffer_date [date dd/mm/yyyy]
- Stage 6 Dateaccept_paid [string]
- Stage 7 Flagaccept_date [date dd/mm/yyyy]
- Stage 7 Datee_mail [string]
- Student Emailcampus_code [string]
- Student Campusmob_phone [string]
- Student Mobile Phoneresident_sts [string]
- Student Residency Statusvisa_expiry [date dd/mm/yyyy]
- Student Visa Expiryvisa_subclass [string]
- Student Visa Subclassdate_arrival [date dd/mm/yyyy]
- Student Date Arrival in Auss_indig_sts [string]
- MCEECDYA Student Indigenous Statusmse_code [string]
- MCEECDYA Mother School Educationfse_code [string]
- MCEECDYA Father School Educationmnse_code [string]
- MCEECDYA Mother Non-School Educationfnse_code [string]
- MCEECDYA Father Non-School Educationmocc_code [string]
- MCEECDYA Mother Occupation Groupfocc_code [string]
- MCEECDYA Father Occupation Groupslote_code [string]
- MCEECDYA Student Language other than English Codemlote_code [string]
- MCEECDYA Mother Language other than English Codeflote_code [string]
- MCEECDYA Father Language other than English Codescob_code [string]
- MCEECDYA Student Country of Birtharrive_yr [string]
- Student year of arrival in Australia.sud1_flg to sud10_flg [string]
- Student user defined flagsud11_code to sud20_code [string]
- Student user defined codesud21_text to sud25_text [string]
- Student user defined textprev_conn [string]
- Previous connectionspud1_flg to pud10_flg [string]
- Parent user defined flagpud11_code to pud20_code [string]
- Parent user defined codepud21_text to pud25_text [string]
- Parent user defined textf_name [string]
- Father namef_occ [string]
- Father occupation code. Max 3 characters (values will be truncated)m_name [string]
- Mother namem_occ [string]
- Mother occupation code. Max 3 characters (values will be truncated)par_name2 [string]
- Parent name 2addr1 [string]
- Address 1addr2 [string]
- Address 2addr3 [string]
- Address 3town_sub [string]
- Town suburbstate_code [string]
- State codepost_code [string]
- Post codecountry [string]
- Countrydpid_text [string]
- Address Barcode (DPID Barcode)home_phone [string]
- Home phonebus_phone [string]
- Business phonefax [string]
- Faxsalutation [string]
- Salutationpar_e_mail [string]
- Parent emailmobile1 [string]
- Mobile 1sms_flg1 [string]
- SMS flag 1mobile2 [string]
- Mobile 2sms_flg2 [string]
- SMS flag 2rec_type [string]
- Receipt Type
D = Deposit (Refundable)
A = Advance (Fees Prepayment)
G = General (Revenue Recognised)
E = Enrolment Fee (Revenue Deferred)rec_date [date dd/mm/yyyy]
- Receipt Dateweb_cash_num [integer]
- Online Receipt Reference Numbercash_amt [decimal]
- Receipt Amountbatch_num [integer]
- Batch Number
Where populated, it will be a 9 digit numeric string based on the Settlement Date (yyyymmdd) prefixed with a “6”Conditional:
none
-
Success Response:
"__status": "success"
-
Error Response:
Required
[field_name]
not supplied"__msg": "[field_name] must be specified."
Date
[field_name]
not a valid date"__msg": "[field_name] is invalid."
Integer
[field_name]
not a valid integer"__msg": "[field_name] is invalid."
Decimal
[field_name]
not a valid decimal"__msg": "[field_name] is invalid."
application_id
already exist (Only if the Application has already been processed. Otherwise this new Applciation will replace the previous unprocessed Application)"__msg": "Application ID 'application_id' is not unique."
application_id
exceed 50 characters"__msg": "Application ID 'application_id' exceeded 50 characters."
sex
not 'M' or 'F'"__msg": "Student Gender is invalid."
boarder
not 'Y' or 'N'"__msg": "Boarder is invalid."
rec_type
not 'D' or 'G' or 'A' or 'D'"__msg": "Receipt Type is invalid."
cash_amt
must be 0.00 or a positive number with 2 decimal points"__msg": "Receipt Amount is invalid."
-
Sample Parameters:
application_id=ANTONY02&stud_surname=Anton&given_name=Miracle&preferred_name=Fabulous&dob=1998-07-07&sex=M&entry_yr=2017&entry_ygrp=11&boarder=N&doa=2017-09-29&par_surname=Austin&par_name=John %26 Mary
-
Sample GET: (With URL Encoded
token
)http://api.tasscloud.com.au/tassweb/api/?method=SetEnrolment&appcode=DEMOOE&company=10&token=wJ4E9t7kNMFLndpo50f8UyZNl1aPs4Mlr6KvJPDBvshdD2CuTIZUFFqBBkPxxistvyHOze8yP6cJ5euVnnk1Of%2Bw4h9HWjsgcra8BcAfEi6HNq8eo7bmb%2BAb%2B7toUIIFiMOlf69Xy8R4yb5349VPGZs1BUw5SpSHuX84PP6s1aYyanzDNslZxCk7zRFgK1n894HZR3Dkh8lMRdQyQMaVunS66Iwuj8g0ElU9FhTTlOoInzSo0e9L1P8s5ooQZ6XUlRrMx1%2BoZ4ZUe1lYdof1LA%3D%3D
-
Sample POST:
<form id="postForm" name="postForm" method="POST" action="http://api.tasscloud.com.au/tassweb/api/"> <input type="hidden" name="method" value="setEnrolment"> <input type="hidden" name="appcode" value="DEMOAP"> <input type="hidden" name="company" value="10"> <textarea name="token">wJ4E9t7kNMFLndpo50f8UyZNl1aPs4Mlr6KvJPDBvshdD2CuTIZUFFqBBkPxxistvyHOze8yP6cJ5euVnnk1Of+w4h9HWjsgcra8BcAfEi6HNq8eo7bmb+Ab+7toUIIFiMOlf69Xy8R4yb5349VPGZs1BUw5SpSHuX84PP6s1aYyanzDNslZxCk7zRFgK1n894HZR3Dkh8lMRdQyQMaVunS66Iwuj8g0ElU9FhTTlOoInzSo0e9L1P8s5ooQZ6XUlRrMx1+oZ4ZUe1lYdof1LA==</textarea> </form>