POST api/v2/member/data/passport/update

Request Information

URI Parameters

None.

Body Parameters

JosePassportContract
NameDescriptionTypeAdditional 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-23T20:06:31.1982713+08:00",
  "nationalitycode": "sample string 7",
  "documentnumber": "sample string 8",
  "dateofissued": "2024-12-23T20:06:31.1982713+08:00",
  "countryofissuedcode": "sample string 9",
  "expirationdate": "2024-12-23T20:06:31.1982713+08:00"
}

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

Response Information

Resource Description

ReturnResult
NameDescriptionTypeAdditional information
code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2"
}