## Create contact person
>接口说明
添加常用联系人接口
>接口请求说明
HTTP请求格式: application/json
>接口参数说明
~~~[api]
post:/member/contactPerson/add
*string:firstName#姓
*string:lastName#名
*int:age#年龄
*string:ageType#类型 :adult - 成人,child - 儿童,infant - 婴儿
*string:gender#性别:Female - 女性,Male - 男性
*boject:nationality#国籍
*array:birthday#生日
string:passportNum#护照号
boject:passportCountry#护照签发地
string:province#省份
<<<
success
{
"data": {
"guid": "8406da4f-e276-11e8-8d5b-4f9d53b03dda",
"firstName": "Wang",
"lastName": "Wu",
"age": "20",
"ageType": "adult",
"gender": "Female",
"nationality": {
"countryCode": "BR",
"countryName": "Brazil",
"countryPhone": "+55"
},
"birthday": [
"1993",
" 01",
" 01"
],
"passportNum": "123456",
"passportCountry": {
"countryCode": "FR",
"countryName": "France",
"countryPhone": "+33"
},
"province": "123"
},
"status": 0,
"msg": "Update success.",
"timestamp": "20181107061911878"
}
<<<
error
{
"status": -1,
"msg": "Create fail.",
"timestamp": "20181016035829493"
}
~~~
>接口请求示例
~~~
{
"firstName":"Wang",
"lastName":"Wu",
"age":20,
"ageType":"adult",
"gender":"Female",
"nationality":
{
"countryCode":"BR",
"countryName":"Brazil",
"countryPhone":"+55"
},
"birthday":["1993","01","01"],
"passportNum":"123456",
"passportCountry":
{
"countryCode":"FR",
"countryName":"France",
"countryPhone":"+33"
},
"province":"123"
}
~~~