uicosss / aits_admissions_decision_processing
PHP library for using the AITS Admissions Decision Processing API.
Package info
github.com/uicosss/aits_admissions_decision_processing
pkg:composer/uicosss/aits_admissions_decision_processing
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.10
Requires (Dev)
- vlucas/phpdotenv: ^5.6
This package is auto-updated.
Last update: 2026-04-08 21:00:26 UTC
README
AITS - Admissions Decision Processing
PHP library for using the AITS Admissions Decision Processing API. Contact AITS for additional implementation details.
Usage
To use the library, you need to:
Composer
composer require uicosss/aits_admissions_decision_processing
require_once 'vendor/autoload.php';
Instantiate an object of the class
$apiUrl = 'apiurl.com/without/trailing/slash'; // Contact AITS for this
$subscriptionKey = 'YOUR_SUBSCRIPTION_KEY'; // Contact AITS for this
$admissionsDecision = new uicosss\AdmissionsDecisionProcessing($apiUrl, $subscriptionKey);
POST application decision
Use the create method to send a decision to Banner with the following required parameters:
$studentId(UIN)$termCode$applNo$decisionCode$env(optional, corresponds to a Banner environments)
This will return a AdmissionsDecisionResponse object containing the API response.
$admissionsDecision = new AdmissionsDecisionProcessing($apiUrl, $subscriptionKey);
$admissionsDecisionResponse = $admissionsDecision->create($studentId, $termCode, $applNo, $decisionCode);
if ($admissionsDecisionResponse->isSuccess()) {
echo 'Success' . PHP_EOL;
} else {
echo 'Error' . PHP_EOL;
}
Examples:
You can use the attached scripts in examples/ file from the command line to test functionality.
php create-test.php apiurl.com/without/trailing/slash YOUR_SUBSCRIPTION_KEY studentId termCode applNo apdcDate apdcCode