POST api/v2/member/data/passport/add
Request Information
URI Parameters
None.
Body Parameters
JosePassportContractName | Description | Type | Additional information |
---|---|---|---|
id |
ID |
string |
None. |
memberId |
会员ID |
integer |
None. |
documenttype |
证件类型 |
string |
None. |
titlecode |
称谓 |
string |
None. |
familyname |
姓 |
string |
None. |
givenname |
名 |
string |
None. |
birthday |
生日 |
date |
None. |
nationalitycode |
国籍 |
string |
None. |
documentnumber |
证件号 |
string |
None. |
dateofissued |
发行时间 |
date |
None. |
countryofissuedcode |
发行国家Code |
string |
None. |
expirationdate |
过期日期 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "memberId": 2, "documenttype": "sample string 3", "titlecode": "sample string 4", "familyname": "sample string 5", "givenname": "sample string 6", "birthday": "2024-12-23T19:59:29.1138729+08:00", "nationalitycode": "sample string 7", "documentnumber": "sample string 8", "dateofissued": "2024-12-23T19:59:29.1138729+08:00", "countryofissuedcode": "sample string 9", "expirationdate": "2024-12-23T19:59:29.1138729+08:00" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ReturnResultName | Description | Type | Additional information |
---|---|---|---|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2" }