POST api/Feelings/PostQuizData
Request Information
URI Parameters
None.
Body Parameters
FeelingsQuiz| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | globally unique identifier |
Required |
|
| QuizDetail | Collection of FeelingsQuizDetail |
Required |
Request Formats
application/json, text/json
Sample:
{
"UserID": "2624d233-7441-4920-b7a1-4a735be50e5b",
"QuizDetail": [
{
"Emotion": 0,
"isSuccessful": true,
"TotalTime": 2.1,
"isAnsweredOnFirstTry": true
},
{
"Emotion": 0,
"isSuccessful": true,
"TotalTime": 2.1,
"isAnsweredOnFirstTry": true
}
]
}
application/xml, text/xml
Sample:
<FeelingsController.FeelingsQuiz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers">
<QuizDetail>
<FeelingsController.FeelingsQuizDetail>
<Emotion>Happy</Emotion>
<TotalTime>2.1</TotalTime>
<isAnsweredOnFirstTry>true</isAnsweredOnFirstTry>
<isSuccessful>true</isSuccessful>
</FeelingsController.FeelingsQuizDetail>
<FeelingsController.FeelingsQuizDetail>
<Emotion>Happy</Emotion>
<TotalTime>2.1</TotalTime>
<isAnsweredOnFirstTry>true</isAnsweredOnFirstTry>
<isSuccessful>true</isSuccessful>
</FeelingsController.FeelingsQuizDetail>
</QuizDetail>
<UserID>2624d233-7441-4920-b7a1-4a735be50e5b</UserID>
</FeelingsController.FeelingsQuiz>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.