POST api/GameSettings/KickUps
Request Information
URI Parameters
None.
Body Parameters
GameKickUpSettingBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BallIndex | integer |
Required |
|
| GroundPosition | decimal number |
Required |
|
| SideWallPosition | decimal number |
Required |
|
| ObjectSize | decimal number |
Required |
|
| ObjectBounce | decimal number |
Required |
|
| ShowPlayerIdentifier | boolean |
Required |
|
| ShowTargets | boolean |
Required |
|
| TargetMoving | boolean |
Required |
|
| Mute | boolean |
Required |
|
| ShowSlopes | boolean |
Required |
|
| UserID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"BallIndex": 1,
"GroundPosition": 2.1,
"SideWallPosition": 3.1,
"ObjectSize": 4.1,
"ObjectBounce": 5.1,
"ShowPlayerIdentifier": true,
"ShowTargets": true,
"TargetMoving": true,
"Mute": true,
"ShowSlopes": true,
"UserID": "b7bdadf3-c97d-4613-9e27-286715ba25fa"
}
application/xml, text/xml
Sample:
<GameSettingsController.GameKickUpSettingBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <BallIndex>1</BallIndex> <GroundPosition>2.1</GroundPosition> <Mute>true</Mute> <ObjectBounce>5.1</ObjectBounce> <ObjectSize>4.1</ObjectSize> <ShowPlayerIdentifier>true</ShowPlayerIdentifier> <ShowSlopes>true</ShowSlopes> <ShowTargets>true</ShowTargets> <SideWallPosition>3.1</SideWallPosition> <TargetMoving>true</TargetMoving> <UserID>b7bdadf3-c97d-4613-9e27-286715ba25fa</UserID> </GameSettingsController.GameKickUpSettingBindingModel>
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.