POST training/courses
Request Information
URI Parameters
None.
Body Parameters
CourseDetailName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Credits | integer |
None. |
|
Description | string |
None. |
|
Medical | boolean |
None. |
|
NQF | NQF |
None. |
|
PassSymbol | string |
None. |
|
Priority | string |
None. |
|
ID | integer |
None. |
|
Cost | decimal number |
None. |
|
Course | string |
None. |
|
CourseType | TrainingCourseType |
None. |
|
Duration | CourseDuration |
None. |
|
Internal | boolean |
None. |
|
ReferenceNumber | string |
None. |
|
Validity | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "credits": 1, "description": "sample string 2", "medical": true, "nqf": { "code": "sample string 1", "id": 2, "title": "sample string 3" }, "passSymbol": "sample string 3", "priority": "sample string 4", "id": 1, "cost": 1.1, "course": "sample string 5", "courseType": null, "duration": { "days": 1, "hours": 2, "months": 3, "weeks": 4 }, "internal": true, "referenceNumber": "sample string 6", "validity": 1 }
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CourseDetailName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Credits | integer |
None. |
|
Description | string |
None. |
|
Medical | boolean |
None. |
|
NQF | NQF |
None. |
|
PassSymbol | string |
None. |
|
Priority | string |
None. |
|
ID | integer |
None. |
|
Cost | decimal number |
None. |
|
Course | string |
None. |
|
CourseType | TrainingCourseType |
None. |
|
Duration | CourseDuration |
None. |
|
Internal | boolean |
None. |
|
ReferenceNumber | string |
None. |
|
Validity | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "credits": 1, "description": "sample string 2", "medical": true, "nqf": { "code": "sample string 1", "id": 2, "title": "sample string 3" }, "passSymbol": "sample string 3", "priority": "sample string 4", "id": 1, "cost": 1.1, "course": "sample string 5", "courseType": null, "duration": { "days": 1, "hours": 2, "months": 3, "weeks": 4 }, "internal": true, "referenceNumber": "sample string 6", "validity": 1 }
application/xml
Sample:
text/xml
Sample: