POST api/ArabicTracing/PostData
Request Information
URI Parameters
None.
Body Parameters
ArabicTracingModelName | Description | Type | Additional information |
---|---|---|---|
UserID | globally unique identifier |
Required |
|
TotalTime | decimal number |
Required Range: inclusive between 0 and 600 |
|
TotalCharactersAccessed | decimal number |
Required Range: inclusive between 0 and 600 |
|
TotalCharactersTraced | decimal number |
Required Range: inclusive between 0 and 600 |
|
AvgTraceTime | decimal number |
Required Range: inclusive between 0 and 600 |
|
GameType | TracingGameName |
None. |
|
Chars | Collection of TracingDetail |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserID": "a928496f-7405-426a-b38a-551ba0bb5b99", "TotalTime": 2.1, "TotalCharactersAccessed": 3.1, "TotalCharactersTraced": 4.1, "AvgTraceTime": 5.1, "GameType": 0, "Chars": [ { "CharacterName": "sample string 1", "TotalStrokes": 2.1, "TotalStrokesCompleted": 3.1, "TimeSpent": 4.1, "Completed": true }, { "CharacterName": "sample string 1", "TotalStrokes": 2.1, "TotalStrokesCompleted": 3.1, "TimeSpent": 4.1, "Completed": true } ] }
application/xml, text/xml
Sample:
<ArabicTracingController.ArabicTracingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <AvgTraceTime>5.1</AvgTraceTime> <Chars> <ArabicTracingController.TracingDetail> <CharacterName>sample string 1</CharacterName> <Completed>true</Completed> <TimeSpent>4.1</TimeSpent> <TotalStrokes>2.1</TotalStrokes> <TotalStrokesCompleted>3.1</TotalStrokesCompleted> </ArabicTracingController.TracingDetail> <ArabicTracingController.TracingDetail> <CharacterName>sample string 1</CharacterName> <Completed>true</Completed> <TimeSpent>4.1</TimeSpent> <TotalStrokes>2.1</TotalStrokes> <TotalStrokesCompleted>3.1</TotalStrokesCompleted> </ArabicTracingController.TracingDetail> </Chars> <GameType>Urdu</GameType> <TotalCharactersAccessed>3.1</TotalCharactersAccessed> <TotalCharactersTraced>4.1</TotalCharactersTraced> <TotalTime>2.1</TotalTime> <UserID>a928496f-7405-426a-b38a-551ba0bb5b99</UserID> </ArabicTracingController.ArabicTracingModel>
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.