POST api/PlayerSetting/PostGlobalSettings
Request Information
URI Parameters
None.
Body Parameters
GlobalSettingsModel| Name | 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": "fa9fc271-591e-493e-8f29-abdd8d39ea16",
"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>fa9fc271-591e-493e-8f29-abdd8d39ea16</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.