POST api/GameStage
Request Information
URI Parameters
None.
Body Parameters
GameStageDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Action | integer |
None. |
|
| Id | integer |
None. |
|
| Lavel | integer |
None. |
|
| Difficulty | string |
None. |
|
| FastestFinishedTime | integer |
None. |
|
| AvgFinishedTime | integer |
None. |
|
| TotalRows | integer |
None. |
|
| Hint | string |
None. |
|
| HintArr | Collection of integer |
None. |
|
| Lines | Collection of GameLine |
None. |
|
| GameWinSequence | Collection of integer |
None. |
|
| Number | Collection of GameStageNumber |
None. |
|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Action": 1,
"Id": 1,
"Lavel": 1,
"Difficulty": "sample string 2",
"FastestFinishedTime": 1,
"AvgFinishedTime": 1,
"TotalRows": 1,
"Hint": "sample string 3",
"HintArr": [
1,
2
],
"Lines": [
{
"BoA": true,
"BoxNumber": 2,
"BoB": true,
"BoC": true,
"BoD": true
},
{
"BoA": true,
"BoxNumber": 2,
"BoB": true,
"BoC": true,
"BoD": true
}
],
"GameWinSequence": [
1,
2
],
"Number": [
{
"BoxNumber": 1,
"ConnectNumber": 2
},
{
"BoxNumber": 1,
"ConnectNumber": 2
}
],
"ResponseCode": 4,
"ResponseMessage": "sample string 5"
}
application/xml, text/xml
Sample:
<GameStageDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZipGooAPI.Models">
<ResponseCode>4</ResponseCode>
<ResponseMessage>sample string 5</ResponseMessage>
<Action>1</Action>
<AvgFinishedTime>1</AvgFinishedTime>
<Difficulty>sample string 2</Difficulty>
<FastestFinishedTime>1</FastestFinishedTime>
<GameWinSequence xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</GameWinSequence>
<Hint>sample string 3</Hint>
<HintArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</HintArr>
<Id>1</Id>
<Lavel>1</Lavel>
<Lines>
<GameLine>
<BoA>true</BoA>
<BoB>true</BoB>
<BoC>true</BoC>
<BoD>true</BoD>
<BoxNumber>2</BoxNumber>
</GameLine>
<GameLine>
<BoA>true</BoA>
<BoB>true</BoB>
<BoC>true</BoC>
<BoD>true</BoD>
<BoxNumber>2</BoxNumber>
</GameLine>
</Lines>
<Number>
<GameStageNumber>
<BoxNumber>1</BoxNumber>
<ConnectNumber>2</ConnectNumber>
</GameStageNumber>
<GameStageNumber>
<BoxNumber>1</BoxNumber>
<ConnectNumber>2</ConnectNumber>
</GameStageNumber>
</Number>
<TotalRows>1</TotalRows>
</GameStageDto>
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.