uicosss/aits_admissions_decision_processing
最新稳定版本:v1.0.0
Composer 安装命令:
composer require uicosss/aits_admissions_decision_processing
包简介
PHP library for using the AITS Admissions Decision Processing API.
README 文档
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\AITS\AdmissionsDecisionProcessing($apiUrl, $subscriptionKey);
POST application decision
Use the create method to send a decision to Banner with the following required parameters:
$studentId(UIN)$termCode$applicationNumber$decisionCode$bannerEnvironment(optional, corresponds to a Banner environment)
This will return a AdmissionsDecisionResponse object containing the API response.
try {
$admissionsDecision = new Uicosss\AITS\AdmissionsDecisionProcessing($apiUrl, $subscriptionKey);
$admissionsDecisionResponse = $admissionsDecision->create($studentId, $termCode, $applNo, $decisionCode);
if ($admissionsDecisionResponse->isSuccess()) {
echo 'Success' . PHP_EOL;
} else {
echo 'Error' . PHP_EOL;
}
} catch (GuzzleException|Exception $e) {
print_r($e->getMessage());
}
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
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-21