PUT api/v1/general/yearCatalogCourseMapping/yearCatalogCourse
Request Information
URI Parameters
None.
Body Parameters
YearCatalogCourseMappingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CatalogId | integer |
Required |
|
| CourseId | integer |
Required |
|
| IsRequired | boolean |
Required |
|
| Points | integer |
None. |
|
| IsDeleted | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CatalogId": 2,
"CourseId": 3,
"IsRequired": true,
"Points": 5,
"IsDeleted": true
}
application/xml, text/xml
Sample:
<YearCatalogCourseMappingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models"> <CatalogId>2</CatalogId> <CourseId>3</CourseId> <Id>1</Id> <IsDeleted>true</IsDeleted> <IsRequired>true</IsRequired> <Points>5</Points> </YearCatalogCourseMappingModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
YearCatalogCourseMappingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CatalogId | integer |
Required |
|
| CourseId | integer |
Required |
|
| IsRequired | boolean |
Required |
|
| Points | integer |
None. |
|
| IsDeleted | boolean |
Required |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"CatalogId": 2,
"CourseId": 3,
"IsRequired": true,
"Points": 5,
"IsDeleted": true
}
application/xml, text/xml
Sample:
<YearCatalogCourseMappingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models"> <CatalogId>2</CatalogId> <CourseId>3</CourseId> <Id>1</Id> <IsDeleted>true</IsDeleted> <IsRequired>true</IsRequired> <Points>5</Points> </YearCatalogCourseMappingModel>