POST api/DingDingProgram/GetUserDetail

获取用户详情

Request Information

URI Parameters

None.

Body Parameters

GetUserDetailRequest
NameDescriptionTypeAdditional information
userId

string

None.

appName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "appName": "sample string 2"
}

application/xml, text/xml

Sample:
<GetUserDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models">
  <appName>sample string 2</appName>
  <userId>sample string 1</userId>
</GetUserDetailRequest>

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 'GetUserDetailRequest'.

Response Information

Resource Description

DingUserInfo
NameDescriptionTypeAdditional information
name

string

None.

jobnumber

string

None.

avatar

string

None.

msg

消息

string

None.

result

是否成功

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "jobnumber": "sample string 2",
  "avatar": "sample string 3",
  "msg": "sample string 4",
  "result": true
}

application/xml, text/xml

Sample:
<DingUserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models">
  <msg xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">sample string 4</msg>
  <result xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">true</result>
  <avatar>sample string 3</avatar>
  <jobnumber>sample string 2</jobnumber>
  <name>sample string 1</name>
</DingUserInfo>