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": "e084b022-0be6-4ba4-a626-ffbc457500c0", "ContestId": "b68a2474-b83b-495a-8474-cc5408f5a7e6", "QuestionTypeId": "811468c3-4ea4-489e-8c6a-9bdba3df4f31", "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": "aff4dff7-6346-4ad7-8e3e-cf0662a3c166" }
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>b68a2474-b83b-495a-8474-cc5408f5a7e6</ContestId> <Id>e084b022-0be6-4ba4-a626-ffbc457500c0</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>811468c3-4ea4-489e-8c6a-9bdba3df4f31</QuestionTypeId> <Sequence>4</Sequence> <UserId>aff4dff7-6346-4ad7-8e3e-cf0662a3c166</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>