POST api/TracingGamesV2/PostSettings

Request Information

URI Parameters

None.

Body Parameters

TracingGamesV2SettingsModel
NameDescriptionTypeAdditional information
GameType

GameName

Required

NumberTrace

NumberTrace

None.

CapitalTrace

CapitalTrace

None.

ArabicTrace

ArabicTrace

None.

SmallTrace

SmallTrace

None.

UrduTrace

UrduTrace

None.

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:
{
  "GameType": 0,
  "NumberTrace": {
    "Override": true,
    "BackgroundMusic": true,
    "SFX": true,
    "LeftHand": true,
    "HoverTime": 5.1
  },
  "CapitalTrace": {
    "Override": true,
    "BackgroundMusic": true,
    "SFX": true,
    "LeftHand": true,
    "HoverTime": 5.1
  },
  "ArabicTrace": {
    "Override": true,
    "BackgroundMusic": true,
    "SFX": true,
    "LeftHand": true,
    "HoverTime": 5.1
  },
  "SmallTrace": {
    "Override": true,
    "BackgroundMusic": true,
    "SFX": true,
    "LeftHand": true,
    "HoverTime": 5.1
  },
  "UrduTrace": {
    "Override": true,
    "BackgroundMusic": true,
    "SFX": true,
    "LeftHand": true,
    "HoverTime": 5.1
  },
  "UserID": "090c9b92-6419-4471-88d9-b1c4bda2e008",
  "BackgroundMusic": true,
  "SFX": true,
  "LeftHand": true,
  "HoverTime": 5.1,
  "Wheelchair": true
}

application/xml, text/xml

Sample:
<TracingGamesV2SettingsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers">
  <BackgroundMusic xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">true</BackgroundMusic>
  <HoverTime xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">5.1</HoverTime>
  <LeftHand xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">true</LeftHand>
  <SFX xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">true</SFX>
  <UserID xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">090c9b92-6419-4471-88d9-b1c4bda2e008</UserID>
  <Wheelchair xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">true</Wheelchair>
  <ArabicTrace xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">
    <d2p1:BackgroundMusic>true</d2p1:BackgroundMusic>
    <d2p1:HoverTime>5.1</d2p1:HoverTime>
    <d2p1:LeftHand>true</d2p1:LeftHand>
    <d2p1:Override>true</d2p1:Override>
    <d2p1:SFX>true</d2p1:SFX>
  </ArabicTrace>
  <CapitalTrace xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">
    <d2p1:BackgroundMusic>true</d2p1:BackgroundMusic>
    <d2p1:HoverTime>5.1</d2p1:HoverTime>
    <d2p1:LeftHand>true</d2p1:LeftHand>
    <d2p1:Override>true</d2p1:Override>
    <d2p1:SFX>true</d2p1:SFX>
  </CapitalTrace>
  <GameType>NumberTrace</GameType>
  <NumberTrace xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">
    <d2p1:BackgroundMusic>true</d2p1:BackgroundMusic>
    <d2p1:HoverTime>5.1</d2p1:HoverTime>
    <d2p1:LeftHand>true</d2p1:LeftHand>
    <d2p1:Override>true</d2p1:Override>
    <d2p1:SFX>true</d2p1:SFX>
  </NumberTrace>
  <SmallTrace xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">
    <d2p1:BackgroundMusic>true</d2p1:BackgroundMusic>
    <d2p1:HoverTime>5.1</d2p1:HoverTime>
    <d2p1:LeftHand>true</d2p1:LeftHand>
    <d2p1:Override>true</d2p1:Override>
    <d2p1:SFX>true</d2p1:SFX>
  </SmallTrace>
  <UrduTrace xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models.PlayerSetting">
    <d2p1:BackgroundMusic>true</d2p1:BackgroundMusic>
    <d2p1:HoverTime>5.1</d2p1:HoverTime>
    <d2p1:LeftHand>true</d2p1:LeftHand>
    <d2p1:Override>true</d2p1:Override>
    <d2p1:SFX>true</d2p1:SFX>
  </UrduTrace>
</TracingGamesV2SettingsModel>

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.