POST api/UnPos/User/Login/ByPwd
商户用户进行登陆时的操作。 这是一个特殊的处理,使用普通的HAWK凭据发起请求(KEY=UPPER(MD5(登陆密码)))。 登陆成功后,将返回真正的用于会话的HAWK KEY,需要解密获取后更新本地的KEY。
Request Information
URI Parameters
None.
Body Parameters
当前客户机的时间,格式“yyyy-MM-dd HH:mm:ss”。
stringRequest Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
商户用户进行登陆时的操作。 这是一个特殊的处理,使用普通的HAWK凭据发起请求(KEY=UPPER(MD5(登陆密码)))。 登陆成功后,将返回真正的用于会话的HAWK KEY,需要解密获取后更新本地的KEY。
CommonOperationResultWithTagOfMerchantUserLoginResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | MerchantUserLoginResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "MerchantName": "sample string 1", "UserAlias": "sample string 2", "ServerTime": "sample string 3", "HawkRealKey": "sample string 4" } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfMerchantUserLoginResultwYgrNTf1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Result"> <d2p1:HawkRealKey>sample string 4</d2p1:HawkRealKey> <d2p1:MerchantName>sample string 1</d2p1:MerchantName> <d2p1:ServerTime>sample string 3</d2p1:ServerTime> <d2p1:UserAlias>sample string 2</d2p1:UserAlias> </tag> </CommonOperationResultWithTagOfMerchantUserLoginResultwYgrNTf1>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.