POST api/QuestionHeader/AddQuestionHeader
Request Information
URI Parameters
None.
Body Parameters
AddQuestionHeaderCommandDtoName | Description | Type | Additional information |
---|---|---|---|
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:
{ "ContestId": "81aef98c-dca2-44cf-aa3b-1f2fa5ff0986", "QuestionTypeId": "8a0e3191-af4d-46ef-9ffb-83acb93f96e6", "Sequence": 3, "QuestionText": "sample string 4", "QuestionTextFr": "sample string 5", "QuestionSubText": "sample string 6", "QuestionSubTextFr": "sample string 7", "QuestionPoints": 1, "BannerUrl": "sample string 8", "ContainsAdvert": true, "UserId": "e914799c-dcd9-43c5-8209-3330ac9963f3" }
application/xml, text/xml
Sample:
<AddQuestionHeaderCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.QuestionHeaderModule.Model"> <BannerUrl>sample string 8</BannerUrl> <ContainsAdvert>true</ContainsAdvert> <ContestId>81aef98c-dca2-44cf-aa3b-1f2fa5ff0986</ContestId> <QuestionPoints>1</QuestionPoints> <QuestionSubText>sample string 6</QuestionSubText> <QuestionSubTextFr>sample string 7</QuestionSubTextFr> <QuestionText>sample string 4</QuestionText> <QuestionTextFr>sample string 5</QuestionTextFr> <QuestionTypeId>8a0e3191-af4d-46ef-9ffb-83acb93f96e6</QuestionTypeId> <Sequence>3</Sequence> <UserId>e914799c-dcd9-43c5-8209-3330ac9963f3</UserId> </AddQuestionHeaderCommandDto>
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>