POST api/YkUser/UpdateUserInfo
“UpdateUserInfo”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | “model”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Memberid": "98c5a746-1304-406c-b583-0ce99bbc6567",
"NickName": "sample string 2",
"RealName": "sample string 3",
"Sex": 4,
"Mobile": "sample string 5",
"EMail": "sample string 6",
"RoleType": 7
}
application/xml, text/xml
Sample:
<YkUser.InPrame xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models"> <EMail>sample string 6</EMail> <Memberid>98c5a746-1304-406c-b583-0ce99bbc6567</Memberid> <Mobile>sample string 5</Mobile> <NickName>sample string 2</NickName> <RealName>sample string 3</RealName> <RoleType>7</RoleType> <Sex>4</Sex> </YkUser.InPrame>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{
"Model": {},
"Model1": {},
"Model2": {},
"Model3": {},
"Model4": {},
"Model5": {},
"Model6": {},
"ErrorMessage": "sample string 8",
"ErroCode": -1
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models"> <_x003C_ErrorMessage_x003E_k__BackingField>sample string 8</_x003C_ErrorMessage_x003E_k__BackingField> <_x003C_Model1_x003E_k__BackingField /> <_x003C_Model2_x003E_k__BackingField /> <_x003C_Model3_x003E_k__BackingField /> <_x003C_Model4_x003E_k__BackingField /> <_x003C_Model5_x003E_k__BackingField /> <_x003C_Model6_x003E_k__BackingField /> <_x003C_Model_x003E_k__BackingField /> </ResultModel>