POST api/v1/general/deleteYearCourse

Request Information

URI Parameters

None.

Body Parameters

GetCourseYearMappingModel
NameDescriptionTypeAdditional information
Id

integer

None.

YearId

integer

None.

CourseId

integer

None.

TargetInHours

decimal number

None.

ActualInHours

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "YearId": 2,
  "CourseId": 3,
  "TargetInHours": 4.0,
  "ActualInHours": 5.0
}

application/xml, text/xml

Sample:
<GetCourseYearMappingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <ActualInHours>5</ActualInHours>
  <CourseId>3</CourseId>
  <Id>1</Id>
  <TargetInHours>4</TargetInHours>
  <YearId>2</YearId>
</GetCourseYearMappingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetCourseYearMappingModel'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>