PUT api/v1/general/catalogs/catalog

Request Information

URI Parameters

None.

Body Parameters

CatalogModel
NameDescriptionTypeAdditional information
Id

integer

Required

YearId

integer

Required

ProgramId

integer

Required

MiniPointsRequired

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "YearId": 2,
  "ProgramId": 3,
  "MiniPointsRequired": 4
}

application/xml, text/xml

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

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

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>