POST api/QuestionHeader/DeleteQuestionHeader

Request Information

URI Parameters

None.

Body Parameters

EditQuestionHeaderCommandDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ContestId

globally unique identifier

None.

QuestionTypeId

globally unique identifier

None.

Sequence

integer

None.

QuestionText

string

None.

QuestionTextFr

string

None.

QuestionSubText

string

None.

QuestionSubTextFr

string

None.

QuestionPoints

integer

None.

BannerUrl

string

None.

ContainsAdvert

boolean

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "9a5a4514-d058-4c9b-8648-83440e3fc365",
  "ContestId": "629b5206-6f07-45eb-ae4f-938627f7c353",
  "QuestionTypeId": "f9073898-ae63-40e7-a805-19a1cc213645",
  "Sequence": 4,
  "QuestionText": "sample string 5",
  "QuestionTextFr": "sample string 6",
  "QuestionSubText": "sample string 7",
  "QuestionSubTextFr": "sample string 8",
  "QuestionPoints": 1,
  "BannerUrl": "sample string 9",
  "ContainsAdvert": true,
  "UserId": "36ac1484-bbde-4d63-8797-9a5e86cdc55c"
}

application/xml, text/xml

Sample:
<EditQuestionHeaderCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.QuestionHeaderModule.Model">
  <BannerUrl>sample string 9</BannerUrl>
  <ContainsAdvert>true</ContainsAdvert>
  <ContestId>629b5206-6f07-45eb-ae4f-938627f7c353</ContestId>
  <Id>9a5a4514-d058-4c9b-8648-83440e3fc365</Id>
  <QuestionPoints>1</QuestionPoints>
  <QuestionSubText>sample string 7</QuestionSubText>
  <QuestionSubTextFr>sample string 8</QuestionSubTextFr>
  <QuestionText>sample string 5</QuestionText>
  <QuestionTextFr>sample string 6</QuestionTextFr>
  <QuestionTypeId>f9073898-ae63-40e7-a805-19a1cc213645</QuestionTypeId>
  <Sequence>4</Sequence>
  <UserId>36ac1484-bbde-4d63-8797-9a5e86cdc55c</UserId>
</EditQuestionHeaderCommandDto>

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 'EditQuestionHeaderCommandDto'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>