POST api/AddUpdateSyllabus

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objSyllabus
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "SyllabusID": 1,
    "SubjectID": 2,
    "SyllabusTopicID": 3,
    "BatchID": 4,
    "FacultyID": 5,
    "StartDate": "sample string 6",
    "EndDate": "sample string 7",
    "StatusID": 8,
    "Description": "sample string 9",
    "Subject": "sample string 10",
    "SyllabusTopic": "sample string 11",
    "Batch": "sample string 12",
    "FacultyName": "sample string 13",
    "Status": "sample string 14"
  },
  {
    "SyllabusID": 1,
    "SubjectID": 2,
    "SyllabusTopicID": 3,
    "BatchID": 4,
    "FacultyID": 5,
    "StartDate": "sample string 6",
    "EndDate": "sample string 7",
    "StatusID": 8,
    "Description": "sample string 9",
    "Subject": "sample string 10",
    "SyllabusTopic": "sample string 11",
    "Batch": "sample string 12",
    "FacultyName": "sample string 13",
    "Status": "sample string 14"
  },
  {
    "SyllabusID": 1,
    "SubjectID": 2,
    "SyllabusTopicID": 3,
    "BatchID": 4,
    "FacultyID": 5,
    "StartDate": "sample string 6",
    "EndDate": "sample string 7",
    "StatusID": 8,
    "Description": "sample string 9",
    "Subject": "sample string 10",
    "SyllabusTopic": "sample string 11",
    "Batch": "sample string 12",
    "FacultyName": "sample string 13",
    "Status": "sample string 14"
  }
]

text/html

Sample:
[{"SyllabusID":1,"SubjectID":2,"SyllabusTopicID":3,"BatchID":4,"FacultyID":5,"StartDate":"sample string 6","EndDate":"sample string 7","StatusID":8,"Description":"sample string 9","Subject":"sample string 10","SyllabusTopic":"sample string 11","Batch":"sample string 12","FacultyName":"sample string 13","Status":"sample string 14"},{"SyllabusID":1,"SubjectID":2,"SyllabusTopicID":3,"BatchID":4,"FacultyID":5,"StartDate":"sample string 6","EndDate":"sample string 7","StatusID":8,"Description":"sample string 9","Subject":"sample string 10","SyllabusTopic":"sample string 11","Batch":"sample string 12","FacultyName":"sample string 13","Status":"sample string 14"},{"SyllabusID":1,"SubjectID":2,"SyllabusTopicID":3,"BatchID":4,"FacultyID":5,"StartDate":"sample string 6","EndDate":"sample string 7","StatusID":8,"Description":"sample string 9","Subject":"sample string 10","SyllabusTopic":"sample string 11","Batch":"sample string 12","FacultyName":"sample string 13","Status":"sample string 14"}]

application/xml, text/xml

Sample:
<ArrayOfSyllabusViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Syllabus">
  <SyllabusViewModel>
    <Batch>sample string 12</Batch>
    <BatchID>4</BatchID>
    <Description>sample string 9</Description>
    <EndDate>sample string 7</EndDate>
    <FacultyID>5</FacultyID>
    <FacultyName>sample string 13</FacultyName>
    <StartDate>sample string 6</StartDate>
    <Status>sample string 14</Status>
    <StatusID>8</StatusID>
    <Subject>sample string 10</Subject>
    <SubjectID>2</SubjectID>
    <SyllabusID>1</SyllabusID>
    <SyllabusTopic>sample string 11</SyllabusTopic>
    <SyllabusTopicID>3</SyllabusTopicID>
  </SyllabusViewModel>
  <SyllabusViewModel>
    <Batch>sample string 12</Batch>
    <BatchID>4</BatchID>
    <Description>sample string 9</Description>
    <EndDate>sample string 7</EndDate>
    <FacultyID>5</FacultyID>
    <FacultyName>sample string 13</FacultyName>
    <StartDate>sample string 6</StartDate>
    <Status>sample string 14</Status>
    <StatusID>8</StatusID>
    <Subject>sample string 10</Subject>
    <SubjectID>2</SubjectID>
    <SyllabusID>1</SyllabusID>
    <SyllabusTopic>sample string 11</SyllabusTopic>
    <SyllabusTopicID>3</SyllabusTopicID>
  </SyllabusViewModel>
  <SyllabusViewModel>
    <Batch>sample string 12</Batch>
    <BatchID>4</BatchID>
    <Description>sample string 9</Description>
    <EndDate>sample string 7</EndDate>
    <FacultyID>5</FacultyID>
    <FacultyName>sample string 13</FacultyName>
    <StartDate>sample string 6</StartDate>
    <Status>sample string 14</Status>
    <StatusID>8</StatusID>
    <Subject>sample string 10</Subject>
    <SubjectID>2</SubjectID>
    <SyllabusID>1</SyllabusID>
    <SyllabusTopic>sample string 11</SyllabusTopic>
    <SyllabusTopicID>3</SyllabusTopicID>
  </SyllabusViewModel>
</ArrayOfSyllabusViewModel>

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 'List`1'.