POST api/chapter/InsertUpdateChapter

Request Information

URI Parameters

None.

Body Parameters

Chapter
NameDescriptionTypeAdditional information
Id

integer

None.

ChapterId

integer

None.

SubjectId

integer

None.

StandardId

integer

None.

StandardTypeId

integer

None.

StdType

string

None.

Weightage

integer

None.

SelectedWeightage

decimal number

None.

Name

string

None.

StdName

string

None.

SubjectName

string

None.

ChapterNumber

integer

None.

IsSelect

boolean

None.

Chapters

Collection of AbstractChapter

None.

Topics

Collection of AbstractChapter

None.

IsLock

boolean

None.

CreateDate

date

Data type: Date

ModifiedDate

date

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

FieldsToNull

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ChapterId": 2,
  "SubjectId": 3,
  "StandardId": 4,
  "StandardTypeId": 5,
  "StdType": "sample string 6",
  "Weightage": 7,
  "SelectedWeightage": 8.0,
  "Name": "sample string 9",
  "StdName": "sample string 10",
  "SubjectName": "sample string 11",
  "ChapterNumber": 12,
  "IsSelect": true,
  "Chapters": null,
  "Topics": null,
  "IsLock": true,
  "CreateDate": "2026-01-09T22:56:07.5693893+00:00",
  "ModifiedDate": "2026-01-09T22:56:07.5693893+00:00",
  "CreatedBy": 1,
  "ModifiedBy": 1
}

text/xml

Sample:
<Chapter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/School.Entities.V1">
  <CreateDate xmlns="http://schemas.datacontract.org/2004/07/School.Common">2026-01-09T22:56:07.5693893+00:00</CreateDate>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/School.Common">1</CreatedBy>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/School.Common">1</ModifiedBy>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/School.Common">2026-01-09T22:56:07.5693893+00:00</ModifiedDate>
  <ChapterId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">2</ChapterId>
  <ChapterNumber xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">12</ChapterNumber>
  <Chapters i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract" />
  <Id xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">1</Id>
  <IsLock xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">true</IsLock>
  <IsSelect xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">true</IsSelect>
  <Name xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 9</Name>
  <SelectedWeightage xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">8</SelectedWeightage>
  <StandardId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">4</StandardId>
  <StandardTypeId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">5</StandardTypeId>
  <StdName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 10</StdName>
  <StdType xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 6</StdType>
  <SubjectId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">3</SubjectId>
  <SubjectName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 11</SubjectName>
  <Topics i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract" />
  <Weightage xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">7</Weightage>
</Chapter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.