POST api/Vet/V1/Students/{id}/Applications
Submit the application (list of courses applied) for existing student.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Unique student identifier |
string |
Required |
Body Parameters
List of newly applied courses
Collection of ModelVetStudentCourseV1Name | Description | Type | Additional information |
---|---|---|---|
StudentId |
Unique student identifier. |
string |
None. |
CourseId |
Unique course identifier that was applied. |
string |
None. |
CourseAttempt |
Auto-number of the attempt applying the same course. |
integer |
None. |
ApplicationId |
Auto-number generated by the system when submit the application. |
string |
None. |
EmployerId |
Employer code/identifier |
integer |
None. |
TimeStamp |
Timestamp when the application submitted/recorded to the system |
date |
None. |
CourseIntakeCode |
Unique course intake code associated with the applied course |
string |
None. |
Status |
Student course status |
string |
None. |
Request Formats
application/json, text/json
[ { "StudentId": "sample string 1", "CourseId": "sample string 2", "CourseAttempt": 3, "ApplicationId": "sample string 4", "EmployerId": 1, "TimeStamp": "2024-11-21T20:37:04.3420409+11:00", "CourseIntakeCode": "sample string 5", "Status": "sample string 6" }, { "StudentId": "sample string 1", "CourseId": "sample string 2", "CourseAttempt": 3, "ApplicationId": "sample string 4", "EmployerId": 1, "TimeStamp": "2024-11-21T20:37:04.3420409+11:00", "CourseIntakeCode": "sample string 5", "Status": "sample string 6" } ]
application/xml, text/xml
<ArrayOfModelVetStudentCourseV1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotEdu_WebAPI.Models.Vet.V1"> <ModelVetStudentCourseV1> <ApplicationId>sample string 4</ApplicationId> <CourseAttempt>3</CourseAttempt> <CourseId>sample string 2</CourseId> <CourseIntakeCode>sample string 5</CourseIntakeCode> <EmployerId>1</EmployerId> <Status>sample string 6</Status> <StudentId>sample string 1</StudentId> <TimeStamp>2024-11-21T20:37:04.3420409+11:00</TimeStamp> </ModelVetStudentCourseV1> <ModelVetStudentCourseV1> <ApplicationId>sample string 4</ApplicationId> <CourseAttempt>3</CourseAttempt> <CourseId>sample string 2</CourseId> <CourseIntakeCode>sample string 5</CourseIntakeCode> <EmployerId>1</EmployerId> <Status>sample string 6</Status> <StudentId>sample string 1</StudentId> <TimeStamp>2024-11-21T20:37:04.3420409+11:00</TimeStamp> </ModelVetStudentCourseV1> </ArrayOfModelVetStudentCourseV1>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
<p>If success, redirect to 'api/vet/v1/students/{id}/applications?id={id}&dateapplied={date}'.</p> <p>If failed, return 400 (Bad request).</p>
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |