POST api/AddUpdateStudyMaterial

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objStudyMaterial
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "StudyMaterialID": 1,
  "Tittle": "sample string 2",
  "SubTittle": "sample string 3",
  "Description": "sample string 4",
  "TopicID": 5,
  "SubTopicID": 6,
  "SubjectID": 7,
  "Thumbnail": "sample string 8",
  "URL_English": "sample string 9",
  "URL_Hindi": "sample string 10",
  "IsActive": true,
  "CreatedByUserID": 12,
  "CreatedOnDate": "2024-12-03T13:52:28.9668428+05:30",
  "Subject": "sample string 14",
  "Topic": "sample string 15",
  "SubTopic": "sample string 16"
}

text/html

Sample:
{"StudyMaterialID":1,"Tittle":"sample string 2","SubTittle":"sample string 3","Description":"sample string 4","TopicID":5,"SubTopicID":6,"SubjectID":7,"Thumbnail":"sample string 8","URL_English":"sample string 9","URL_Hindi":"sample string 10","IsActive":true,"CreatedByUserID":12,"CreatedOnDate":"2024-12-03T13:52:28.9668428+05:30","Subject":"sample string 14","Topic":"sample string 15","SubTopic":"sample string 16"}

application/xml, text/xml

Sample:
<StudyMaterialViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.StudyMaterial">
  <CreatedByUserID>12</CreatedByUserID>
  <CreatedOnDate>2024-12-03T13:52:28.9668428+05:30</CreatedOnDate>
  <Description>sample string 4</Description>
  <IsActive>true</IsActive>
  <StudyMaterialID>1</StudyMaterialID>
  <SubTittle>sample string 3</SubTittle>
  <SubTopic>sample string 16</SubTopic>
  <SubTopicID>6</SubTopicID>
  <Subject>sample string 14</Subject>
  <SubjectID>7</SubjectID>
  <Thumbnail>sample string 8</Thumbnail>
  <Tittle>sample string 2</Tittle>
  <Topic>sample string 15</Topic>
  <TopicID>5</TopicID>
  <URL_English>sample string 9</URL_English>
  <URL_Hindi>sample string 10</URL_Hindi>
</StudyMaterialViewModel>

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