POST api/v1/general/programCoursePriceList

Request Information

URI Parameters

None.

Body Parameters

ProgramPriceListCourseLengthMappingModel
NameDescriptionTypeAdditional information
Id

integer

None.

PriceListId

integer

Required

CourseLengthMappingId

integer

Required

MonthlyPrice

decimal number

Required

Created

date

None.

CreatedBy

globally unique identifier

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PriceListId": 2,
  "CourseLengthMappingId": 3,
  "MonthlyPrice": 4.0,
  "Created": "2025-12-10T17:34:07.2554773+02:00",
  "CreatedBy": "30c29f2e-5ed7-41b6-86aa-8f4f5eae145e",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<ProgramPriceListCourseLengthMappingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <CourseLengthMappingId>3</CourseLengthMappingId>
  <Created>2025-12-10T17:34:07.2554773+02:00</Created>
  <CreatedBy>30c29f2e-5ed7-41b6-86aa-8f4f5eae145e</CreatedBy>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <MonthlyPrice>4</MonthlyPrice>
  <PriceListId>2</PriceListId>
</ProgramPriceListCourseLengthMappingModel>

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 'ProgramPriceListCourseLengthMappingModel'.

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>