POST api/MyInfo/RealNameAuth
Request Information
URI Parameters
None.
Body Parameters
T_Auth_Realname| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| userId | integer |
None. |
|
| idNum | string |
None. |
|
| pic | string |
None. |
|
| pic2 | string |
None. |
|
| realName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"userId": 2,
"idNum": "sample string 3",
"pic": "sample string 4",
"pic2": "sample string 5",
"realName": "sample string 6"
}
application/xml, text/xml
Sample:
<T_Auth_Realname xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fsh.Core.Models"> <Id>1</Id> <idNum>sample string 3</idNum> <pic>sample string 4</pic> <pic2>sample string 5</pic2> <realName>sample string 6</realName> <userId>2</userId> </T_Auth_Realname>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| count | integer |
None. |
|
| data | Object |
None. |
|
| otherdata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"count": 1,
"data": {},
"otherdata": {}
}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fsh.Core.Models.Other"> <code>1</code> <count>1</count> <data /> <msg>sample string 2</msg> <otherdata /> </ApiResult>