OneCE Gateway API

Middleware gateway between Destiny One CE, Marketo, Moodle, Lagunita, iLearn, and OpenText

View as JSON

System
GET /health Health check
Destiny One CE
GET /api/GetStudentByStudentNumber/{studentNumber} Get student by student number
GET /api/GetStudentByUserName/{userName} Get student by username
GET /api/GetStudentByObjectId/{objectId} Get student by object ID
GET /api/SearchStudentByNumber/{studentNumber} Search student by number (contains)
POST /api/SearchStudent Search students with criteria
POST /api/CreateStudent Create a new student
POST /api/UpdateStudentByObjectId Update student matched by objectId
POST /api/getStudentApplications Get application info for a student
GET /api/GetCourseProfile/{courseNumber} Get course section profile
GET /api/GetCourseInformation/{courseNumber} Get course information
GET /api/searchCourseSection/{courseNumber}/{sectionNumber} Search course section by course and section code
GET /api/searchCourseSections/{courseNumber}/{instructionMethod} Search course sections by course and instruction method
GET /api/getStudentSectionEnrollments/{studentNumber} Get enrolled course sections for a student
GET /api/getStudentApplicationFiles/{xNumber}/{applicationNumber} Get uploaded files for a student application
GET /api/deleteStudentApplicationFiles/{xNumber} Delete uploaded files for a student application
GET /api/manageApplicationSubmitFiles/{xNumber} Downloads to machine, uploads to opentext, deletes from Destiny, deletes from machine
GET /api/searchInstructor/{instructorNumber} Search instructor by number
POST /api/searchInstructors Search multiple instructors by IDs
POST /api/enrollStudentInSection Enroll student in a course section
POST /api/dropStudentFromSection Drop student from a course section
POST /api/gradeStudentV1 Grade student (V1 - direct Destiny payload)
POST /api/gradeStudent Grade student (V2 - by student/course number)
POST /api/gradeStudentV3 Grade student (V3 - async, no Courtesy Access filter)
GET /api/ReEnroll/{xNumber}/{courseNumber} Drop and re-enroll student to extend access
Callback
POST /api/callBack Webhook receiver from Destiny One CE
Marketo
POST /api/postLead Upsert student as Marketo lead
POST /api/postApplication Post application to Marketo
POST /api/postCertificate Post certificate to Marketo
POST /api/postCertificateDelete Delete certificate from Marketo
POST /api/postTransaction Post transaction (course enroll/drop/refund)
POST /api/postCourseGrade Post course grade to Marketo
POST /api/postOnlineResourceUpdate Update online resource in Marketo
POST /api/postOpportunity Upsert opportunity in Marketo
POST /api/postRole Upsert opportunity role in Marketo
POST /api/postOpportunityAndRole Post opportunity and role to Marketo
Moodle
POST /api/InformMoodle/{requestType} Forward enrollment event to Moodle
Lagunita
PUT /api/EnrollStudentLagunita Enroll student in Lagunita course
DELETE /api/UnEnrollStudentLagunita Unenroll student from Lagunita course
iLearn
PUT /api/EnrollStudentiLearn Enroll student in iLearn course
DELETE /api/UnEnrollStudentiLearn Unenroll student from iLearn course
POST /api/AddUseriLearn/{accountId} Add user to iLearn account
DELETE /api/RemoveUseriLearn/{accountId}/{userName} Remove user from iLearn account
POST /api/EnrollStudentiLearnCourse/{accountId}/{courseNumber}/{userName} Enroll student in iLearn course by path params
DELETE /api/UnEnrollStudentiLearnCourse/{accountId}/{courseNumber}/{userName} Unenroll student from iLearn course by path params
POST /api/ExtendStudentiLearn Extend student enrollment in iLearn
OpenText
POST /api/CreateFolder Create student folder in OpenText
POST /api/UploadFile Upload file to OpenText folder
POST /api/UpdateCategories Update categories on OpenText folder
GET /api/testAuth/{authVersion} Test OpenText authentication
POST /api/createFolderV1 Create folder using basic auth (V1)
GET /api/getCategoriesV1/{folderId}/{categoryId} Get categories via OT gateway (V1)
GET /api/getCategories/{folderId}/{categoryId} Get categories via AWS gateway
GET /api/searchFolderId/{xNumber}/{folderSearch} Search folder ID by xNumber
POST /api/createCategory/{folderId} Create category on folder
POST /api/enrollmentCategory Process enrollment category update
GET /api/uploadFilePostman/{folderId}/{fileName} Process file upload using postman recommendation