POST api/GameSettings/KickUps

Request Information

URI Parameters

None.

Body Parameters

GameKickUpSettingBindingModel
NameDescriptionTypeAdditional 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": "f5f09766-d07f-4890-b6cc-6836ebfcc4fc"
}

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>f5f09766-d07f-4890-b6cc-6836ebfcc4fc</UserID>
</GameSettingsController.GameKickUpSettingBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.