POST api/QuestionHeader/DeleteQuestionHeader
Request Information
URI Parameters
None.
Body Parameters
EditQuestionHeaderCommandDtoName | Description | Type | Additional 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": "64da4e57-ec4f-468b-ade0-da8950b8f3be", "ContestId": "1f53e95d-dc25-4997-aa53-229afc05e445", "QuestionTypeId": "c650d086-600f-43f0-b1d0-115562b43167", "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": "e9567fc5-4c23-4ded-abf4-1508755b264c" }
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>1f53e95d-dc25-4997-aa53-229afc05e445</ContestId> <Id>64da4e57-ec4f-468b-ade0-da8950b8f3be</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>c650d086-600f-43f0-b1d0-115562b43167</QuestionTypeId> <Sequence>4</Sequence> <UserId>e9567fc5-4c23-4ded-abf4-1508755b264c</UserId> </EditQuestionHeaderCommandDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse 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>