POST api/WechatBusiness/getPhoneNumber

A.获取小程序用户的手机号码

Request Information

URI Parameters

None.

Body Parameters

PhoneNumberParm
NameDescriptionTypeAdditional information
encryptedData

用户主键

string

None.

IV

课程类型,必传0修炼课程1补充课程2精英课程3指导课程

string

None.

Session_key

等级主键

string

None.

Request Formats

application/json, text/json

Sample:
{
  "encryptedData": "sample string 1",
  "IV": "sample string 2",
  "Session_key": "sample string 3"
}

application/xml, text/xml

Sample:
<PhoneNumberParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RuitingCC.Solution.Model.Param">
  <IV>sample string 2</IV>
  <Session_key>sample string 3</Session_key>
  <encryptedData>sample string 1</encryptedData>
</PhoneNumberParm>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PhoneNumberParm'.

Response Information

Resource Description

A.获取小程序用户的手机号码

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.