DELETE api/Questions/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Questions
NameDescriptionTypeAdditional information
Id

integer

None.

Question

string

String length: inclusive between 0 and 600

ans1

string

String length: inclusive between 0 and 255

ans2

string

String length: inclusive between 0 and 255

ans3

string

String length: inclusive between 0 and 255

ans4

string

String length: inclusive between 0 and 255

corans

string

String length: inclusive between 0 and 5

difficulty

integer

None.

chapter

integer

None.

tstamp

date

None.

correct

integer

None.

wrong

integer

None.

orderby

integer

None.

orderby2

integer

None.

photo

Collection of byte

None.

lessonid

integer

None.

orderby3

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Question": "sample string 2",
  "ans1": "sample string 3",
  "ans2": "sample string 4",
  "ans3": "sample string 5",
  "ans4": "sample string 6",
  "corans": "sample string 7",
  "difficulty": 1,
  "chapter": 1,
  "tstamp": "2025-05-02T16:08:03.4986251+03:00",
  "correct": 1,
  "wrong": 1,
  "orderby": 1,
  "orderby2": 1,
  "photo": "QEA=",
  "lessonid": 1,
  "orderby3": 1
}

application/xml, text/xml

Sample:
<Questions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/exantasgameapi.Models">
  <Id>1</Id>
  <Question>sample string 2</Question>
  <ans1>sample string 3</ans1>
  <ans2>sample string 4</ans2>
  <ans3>sample string 5</ans3>
  <ans4>sample string 6</ans4>
  <chapter>1</chapter>
  <corans>sample string 7</corans>
  <correct>1</correct>
  <difficulty>1</difficulty>
  <lessonid>1</lessonid>
  <orderby>1</orderby>
  <orderby2>1</orderby2>
  <orderby3>1</orderby3>
  <photo>QEA=</photo>
  <tstamp>2025-05-02T16:08:03.4986251+03:00</tstamp>
  <wrong>1</wrong>
</Questions>