POST api/Relax/UseFcode

使用兑换码接口

Request Information

URI Parameters

None.

Body Parameters

UseFcodeReq
NameDescriptionTypeAdditional information
fcode

string

None.

uid

string

None.

pid

integer

None.

version

string

None.

language

zn-ch中文,en英文

string

None.

system

string

None.

token

string

None.

timeZone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "fcode": "sample string 1",
  "uid": "sample string 2",
  "pid": 3,
  "version": "sample string 4",
  "language": "sample string 5",
  "system": "sample string 6",
  "token": "sample string 7",
  "timeZone": "sample string 8"
}

application/xml, text/xml

Sample:
<UseFcodeReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Controllers">
  <language xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 5</language>
  <pid xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">3</pid>
  <system xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 6</system>
  <timeZone xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 8</timeZone>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 7</token>
  <version xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">sample string 4</version>
  <fcode>sample string 1</fcode>
  <uid>sample string 2</uid>
</UseFcodeReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModel
NameDescriptionTypeAdditional information
State

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "State": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <Message>sample string 2</Message>
  <State>1</State>
</MessageModel>