code: ********************timestamp: ********************signature: ********************{
"account": "zhangsan",
"password": "ExamplePassword123"
}curl --location '/train/openapi/v4/12306/contacts' \
--header 'code: <api-key>' \
--header 'timestamp: <api-key>' \
--header 'signature: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"account": "zhangsan",
"password": "ExamplePassword123"
}'{
"code": 0,
"message": "Success",
"data": [
{
"id": "123456",
"address": "北京市",
"birthday": "1990-01-01",
"personType": 1,
"phone": "138****8000",
"name": "张三",
"country": "CN",
"tel": "",
"isUserSelf": 1,
"checkStatus": 0,
"phoneCheckStatus": 0,
"identyType": "1",
"email": "user@example.com",
"sex": 1,
"identy": "110101********1234"
}
]
}