档案信息查询
GET
https://www.tizhicm.com/open-api/openapi_customer/list
Query 参数
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用凭证 |
limit | string | 否 | 每页条数(最大 100 默认 30) |
offset | string | 否 | 偏移量(默认 0) |
返回参数
参数 | 类型 | 说明 |
---|---|---|
errcode | int | 返回码 |
errmsg | string | 返回装填描述 |
items | array | 返回集合 |
items.birthday | integer | 生日(Unix时间戳) |
items.created_at | integer | 创建时间(Unix时间戳) |
items.gender | integer | 性别 1 男 2 女 |
items.height | integer | 身高 CM |
items.id_card | integer | 身份证 |
items.name | string | 姓名 |
items.phone | string | 手机号 |
items.sickness | array[string] | 疾病集合 |
items.source | integer | 来源 1 后台添加 2 活码 3 openAPI |
items.waistline | integer | 腰围 CM |
items.weight | integer | 体重KG |
total | integer | 总记录数 |
返回实例
{
"errcode": 0,
"errmsg": "ok",
"items": [
{
"birthday": 184089600,
"created_at": 1670403440,
"gender": 1,
"height": null,
"id_card": "",
"name": "kaiyan",
"phone": "",
"sickness": [],
"source": 1,
"waistline": null,
"weight": null
},
{
"birthday": 720720000,
"created_at": 1670401712,
"gender": 1,
"height": null,
"id_card": "",
"name": "kaiyan ",
"phone": "",
"sickness": [],
"source": 1,
"waistline": null,
"weight": null
},
{
"birthday": 717868800,
"created_at": 1670397361,
"gender": 2,
"height": 175,
"id_card": "",
"name": "林冲",
"phone": "12345678009",
"sickness": [],
"source": 3,
"waistline": 1,
"weight": 1
},
{
"birthday": 717868800,
"created_at": 1670397110,
"gender": 1,
"height": 175,
"id_card": "",
"name": "林冲",
"phone": "12345678009",
"sickness": [],
"source": 3,
"waistline": 1,
"weight": 1
},
{
"birthday": 717868800,
"created_at": 1670397007,
"gender": null,
"height": 175,
"id_card": "",
"name": "林冲",
"phone": "12345678009",
"sickness": [],
"source": 3,
"waistline": 1,
"weight": 1
},
{
"birthday": 717868800,
"created_at": 1670395213,
"gender": null,
"height": 175,
"id_card": "",
"name": "林冲",
"phone": "123456789",
"sickness": [],
"source": 3,
"waistline": 1,
"weight": 1
},
{
"birthday": 717868800,
"created_at": 1669960164,
"gender": null,
"height": 175,
"id_card": "",
"name": "测试性别",
"phone": "17600134269",
"sickness": [],
"source": 1,
"waistline": 152,
"weight": 80
},
{
"birthday": 717868800,
"created_at": 1669960150,
"gender": null,
"height": 175,
"id_card": "",
"name": "测试手机号",
"phone": "17600134269",
"sickness": [],
"source": 1,
"waistline": 152,
"weight": 80
},
{
"birthday": 721324800,
"created_at": 1669958505,
"gender": 1,
"height": null,
"id_card": "",
"name": "张飞",
"phone": "",
"sickness": [],
"source": 1,
"waistline": null,
"weight": null
},
{
"birthday": 361036800,
"created_at": 1669958455,
"gender": 1,
"height": null,
"id_card": "210311198307182111",
"name": "赵云",
"phone": "",
"sickness": [],
"source": 1,
"waistline": null,
"weight": null
}
],
"total": 52
}