POST server/chinesepark/updatepkscore
update user pk score
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| inVO |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"pkWins": 2,
"pkLosses": 3,
"pkAll": 4,
"pkScore": 5,
"curUserId": "sample string 6",
"isSSO": true,
"requestHost": "sample string 8",
"applicationPath": "sample string 9",
"secureApplicationPath": "sample string 10",
"absoluteApplicationPath": "sample string 11",
"isHttps": true,
"isMobileDevice": true,
"clientType": 0,
"clientVersion": "sample string 14",
"clientOS": "sample string 15",
"clientBuild": "sample string 16",
"timeZone": 17,
"clientId": "sample string 18"
}
application/xml, text/xml
Sample:
<UpdatePKScoreInVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input"> <ClientId xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 18</ClientId> <ClientType xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">Web</ClientType> <TimeZone xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">17</TimeZone> <absoluteApplicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 11</absoluteApplicationPath> <applicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 9</applicationPath> <cachedKey xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 1</cachedKey> <clientBuild xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 16</clientBuild> <clientOS xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 15</clientOS> <clientVersion xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 14</clientVersion> <curUserId xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 6</curUserId> <isHttps xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">true</isHttps> <isMobileDevice xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">true</isMobileDevice> <isSSO xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">true</isSSO> <requestHost xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 8</requestHost> <secureApplicationPath xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API.VO.Input.Common">sample string 10</secureApplicationPath> <PKAll>4</PKAll> <PKLosses>3</PKLosses> <PKScore>5</PKScore> <PKWins>2</PKWins> <UserId>sample string 1</UserId> </UpdatePKScoreInVO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"isDone": true,
"code": 0,
"message": "sample string 2",
"cachedKey": "sample string 3",
"correlationId": "5d9b45c3-d1d7-44c9-8aba-dd550e980074",
"data": {
"userId": "sample string 1",
"name": "sample string 2",
"country": "sample string 3",
"icon": {
"photo": "sample string 1",
"isUseAvatar": true,
"avatarBackgroundColor": "sample string 3",
"avatarName": "sample string 4"
},
"remainMinutes": 4,
"pkAll": 5,
"pkLevel": 6,
"pkWins": 7,
"pkLosses": 8,
"pkScore": 9,
"pkChance": 10,
"pkBadge": 11,
"pkStar": 12,
"isVipExpired": 13,
"vipExpiredOn": "sample string 14",
"enablePKChanceConstrain": true,
"isOwner": true,
"isManager": true,
"isRoomVip": true,
"isSiteVip": true,
"remainTrialTime": 20,
"roomMemberExpiredOn": "2025-12-15T00:55:53.0186455+08:00"
}
}
application/xml, text/xml
Sample:
<ApiResponseOfUserInfoOutVODeMvvqei xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AiChinese.Internal.API"> <CachedKey>sample string 3</CachedKey> <Code>None</Code> <CorrelationId>5d9b45c3-d1d7-44c9-8aba-dd550e980074</CorrelationId> <IsDone>true</IsDone> <Message>sample string 2</Message> </ApiResponseOfUserInfoOutVODeMvvqei>