GET api/GetCategoryExamByCategoryId?catid={catid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
catid

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetCategoryExamByCategoryIdModel
NameDescriptionTypeAdditional information
Id

integer

None.

Image

string

None.

TestName

string

None.

Cost

integer

None.

Marks

integer

None.

Time

integer

None.

Description

string

None.

QuestionsCount

integer

None.

CatName

string

None.

SubscribeCount

integer

None.

Student

Collection of Student1

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Image": "sample string 2",
  "TestName": "sample string 3",
  "Cost": 4,
  "Marks": 5,
  "Time": 6,
  "Description": "sample string 7",
  "QuestionsCount": 8,
  "CatName": "sample string 9",
  "SubscribeCount": 10,
  "Student": [
    {
      "studentid": 1,
      "Profile": "sample string 2",
      "UserName": "sample string 3"
    },
    {
      "studentid": 1,
      "Profile": "sample string 2",
      "UserName": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<GetCategoryExamByCategoryIdModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VullamAPIProject.Models">
  <CatName>sample string 9</CatName>
  <Cost>4</Cost>
  <Description>sample string 7</Description>
  <Id>1</Id>
  <Image>sample string 2</Image>
  <Marks>5</Marks>
  <QuestionsCount>8</QuestionsCount>
  <Student>
    <Student1>
      <Profile>sample string 2</Profile>
      <UserName>sample string 3</UserName>
      <studentid>1</studentid>
    </Student1>
    <Student1>
      <Profile>sample string 2</Profile>
      <UserName>sample string 3</UserName>
      <studentid>1</studentid>
    </Student1>
  </Student>
  <SubscribeCount>10</SubscribeCount>
  <TestName>sample string 3</TestName>
  <Time>6</Time>
</GetCategoryExamByCategoryIdModel>