POST api/ColorQuest/PostSettings
Request Information
URI Parameters
None.
Body Parameters
ColorQuestSettingsBindingModelName | Description | Type | Additional information |
---|---|---|---|
UserID | globally unique identifier |
Required |
|
ShowInstructions | boolean |
Required |
|
BackgroundMusic | boolean |
Required |
|
Humming | boolean |
Required |
|
isLeftHand | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserID": "46a4198f-7e76-4f5d-a9d2-0e7803b36ee1", "ShowInstructions": true, "BackgroundMusic": true, "Humming": true, "isLeftHand": true }
application/xml, text/xml
Sample:
<ColorQuestController.ColorQuestSettingsBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <BackgroundMusic>true</BackgroundMusic> <Humming>true</Humming> <ShowInstructions>true</ShowInstructions> <UserID>46a4198f-7e76-4f5d-a9d2-0e7803b36ee1</UserID> <isLeftHand>true</isLeftHand> </ColorQuestController.ColorQuestSettingsBindingModel>
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.