POST api/chapter/SelectedChapter

Request Information

URI Parameters

None.

Body Parameters

Collection of ChapterTopic
NameDescriptionTypeAdditional information
Id

integer

None.

ChapterId

integer

None.

SubjectId

integer

None.

StandardId

integer

None.

Weightage

integer

None.

SelectedWeightage

decimal number

None.

Name

string

None.

ChapterNumber

integer

None.

IsSelect

boolean

None.

Chapters

Collection of Chapter

None.

Topics

Collection of Chapter

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ChapterId": 2,
    "SubjectId": 3,
    "StandardId": 4,
    "Weightage": 5,
    "SelectedWeightage": 6.0,
    "Name": "sample string 7",
    "ChapterNumber": 8,
    "IsSelect": true,
    "Chapters": [
      {
        "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:02.866448+00:00",
        "ModifiedDate": "2026-01-09T22:56:02.866448+00:00",
        "CreatedBy": 1,
        "ModifiedBy": 1
      },
      {
        "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:02.866448+00:00",
        "ModifiedDate": "2026-01-09T22:56:02.866448+00:00",
        "CreatedBy": 1,
        "ModifiedBy": 1
      }
    ],
    "Topics": [
      {
        "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:02.866448+00:00",
        "ModifiedDate": "2026-01-09T22:56:02.866448+00:00",
        "CreatedBy": 1,
        "ModifiedBy": 1
      },
      {
        "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:02.866448+00:00",
        "ModifiedDate": "2026-01-09T22:56:02.866448+00:00",
        "CreatedBy": 1,
        "ModifiedBy": 1
      }
    ]
  },
  {
    "Id": 1,
    "ChapterId": 2,
    "SubjectId": 3,
    "StandardId": 4,
    "Weightage": 5,
    "SelectedWeightage": 6.0,
    "Name": "sample string 7",
    "ChapterNumber": 8,
    "IsSelect": true,
    "Chapters": [
      {
        "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:02.866448+00:00",
        "ModifiedDate": "2026-01-09T22:56:02.866448+00:00",
        "CreatedBy": 1,
        "ModifiedBy": 1
      },
      {
        "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:02.866448+00:00",
        "ModifiedDate": "2026-01-09T22:56:02.866448+00:00",
        "CreatedBy": 1,
        "ModifiedBy": 1
      }
    ],
    "Topics": [
      {
        "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:02.866448+00:00",
        "ModifiedDate": "2026-01-09T22:56:02.866448+00:00",
        "CreatedBy": 1,
        "ModifiedBy": 1
      },
      {
        "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:02.866448+00:00",
        "ModifiedDate": "2026-01-09T22:56:02.866448+00:00",
        "CreatedBy": 1,
        "ModifiedBy": 1
      }
    ]
  }
]

text/xml

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

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.