POST api/GameSettings/SpaceDodge
Request Information
URI Parameters
None.
Body Parameters
SpaceDodgeSettingsBindingModelName | Description | Type | Additional information |
---|---|---|---|
MaxLevel | integer |
Required |
|
Mute | boolean |
Required |
|
ShowAstronautClothes | boolean |
Required |
|
SpawnCollectables | boolean |
Required |
|
UserID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "MaxLevel": 1, "Mute": true, "ShowAstronautClothes": true, "SpawnCollectables": true, "UserID": "2c4c704b-8d80-4b5b-b0b3-1942fd225f50" }
application/xml, text/xml
Sample:
<GameSettingsController.SpaceDodgeSettingsBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <MaxLevel>1</MaxLevel> <Mute>true</Mute> <ShowAstronautClothes>true</ShowAstronautClothes> <SpawnCollectables>true</SpawnCollectables> <UserID>2c4c704b-8d80-4b5b-b0b3-1942fd225f50</UserID> </GameSettingsController.SpaceDodgeSettingsBindingModel>
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.