POST api/Game/RefreshVitality

Request Information

URI Parameters

None.

Body Parameters

RefreshVitalityRequst
NameDescriptionTypeAdditional information
sessionId

string

None.

pCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "sessionId": "sample string 1",
  "pCode": 2
}

application/xml, text/xml

Sample:
<RefreshVitalityRequst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model.Requst">
  <pCode xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">2</pCode>
  <sessionId xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">sample string 1</sessionId>
</RefreshVitalityRequst>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RefreshVitalityResponse
NameDescriptionTypeAdditional information
VitalityNum

integer

None.

CumulativeExperience

integer

None.

Probability

decimal number

None.

MatcheNum

integer

None.

GradeName

string

None.

PlayerGradeNum

integer

None.

RushThrough

integer

None.

statusCode

StatusCode

None.

isSuccessful

boolean

None.

message

string

None.

returnUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "VitalityNum": 1,
  "CumulativeExperience": 2,
  "Probability": 3.0,
  "MatcheNum": 4,
  "GradeName": "sample string 5",
  "PlayerGradeNum": 6,
  "RushThrough": 7,
  "isSuccessful": true,
  "statusCode": 0,
  "message": "sample string 9",
  "returnUrl": "sample string 10"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.