POST api/PlayerSetting/PostGlobalSettings
Request Information
URI Parameters
None.
Body Parameters
GlobalSettingsModelName | Description | Type | Additional information |
---|---|---|---|
UserID | globally unique identifier |
Required |
|
BackgroundMusic | boolean |
Required |
|
SFX | boolean |
Required |
|
LeftHand | boolean |
Required |
|
HoverTime | decimal number |
Required |
|
Wheelchair | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserID": "85e9790f-234a-489d-8754-6e29e05a9c39", "BackgroundMusic": true, "SFX": true, "LeftHand": true, "HoverTime": 5.1, "Wheelchair": true }
application/xml, text/xml
Sample:
<GlobalSettingsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting"> <BackgroundMusic>true</BackgroundMusic> <HoverTime>5.1</HoverTime> <LeftHand>true</LeftHand> <SFX>true</SFX> <UserID>85e9790f-234a-489d-8754-6e29e05a9c39</UserID> <Wheelchair>true</Wheelchair> </GlobalSettingsModel>
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.