POST api/WXProgramHR/BindSAP

小程序绑定sap账号

Request Information

URI Parameters

None.

Body Parameters

BindSAPRequest
NameDescriptionTypeAdditional information
username

sap账号

string

None.

pwd

密码

string

None.

code

code

string

None.

appid

appid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "pwd": "sample string 2",
  "code": "sample string 3",
  "appid": "sample string 4"
}

application/xml, text/xml

Sample:
<BindSAPRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">
  <appid>sample string 4</appid>
  <code>sample string 3</code>
  <pwd>sample string 2</pwd>
  <username>sample string 1</username>
</BindSAPRequest>

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

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
msg

消息

string

None.

result

是否成功

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "msg": "sample string 1",
  "result": true
}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">
  <msg>sample string 1</msg>
  <result>true</result>
</BaseResponse>