# 客户接口/代理相关

## 查询客户列表

> version=0.0.1\
> bizType=customer.app.CustomerWebApiService.queryCustomerOfAgentPage\
> 登录之后可以访问

```json
{"openapi":"3.0.1","info":{"title":"默认模块","version":"1.0.0"},"tags":[{"name":"客户接口/代理相关"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.queryCustomerOfAgentPage":{"post":{"summary":"查询客户列表","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.queryCustomerOfAgentPage\n登录之后可以访问","operationId":"applyApi","tags":["客户接口/代理相关"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"current":{"type":"integer","description":"当前页"},"size":{"type":"integer","description":"每页条数"}},"required":["size","current"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"状态返回码"},"msg":{"type":"string","description":"状态描述"},"tm":{"type":"integer","format":"int64","description":"处理时长（毫秒）"},"trace":{"type":"string","description":"跟踪码"},"data":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"主键id"},"createTime":{"type":"integer","description":"创建时间"},"updateTime":{"type":"integer","description":"更新时间"},"customerGroupId":{"type":"integer","description":"客户组id"},"customerGroupName":{"type":"string","description":"客户组名称"},"status":{"type":"integer","description":"客户状态，1正常、2禁用、3删除，4销户，5锁定，6销户中"},"companyId":{"type":"integer","description":"公司id"},"customerNo":{"type":"string","description":"客户编号"},"phone":{"type":"string","description":"手机号码"},"phoneArea":{"type":"string","description":"手机区号"},"registerSource":{"type":"integer","description":"注册来源:1=移动端web：H5，2=pcweb：PC_Web，3=系统&后台注册：System，4=安卓原生app：Android，5=苹果原生app：iOS，6=鸿蒙OS：HOS，7=pc windows客户端：PC_Win,8=pc mac客户端：PC_Mac，9=不属于以上的：其他"},"unitId":{"type":"integer","description":"机构id"},"firstName":{"type":"string","description":"名"},"lastName":{"type":"string","description":"姓"},"email":{"type":"string","description":"邮箱"},"customerType":{"type":"integer","description":"客户类型0默认1代理"}},"required":["id","createTime","updateTime","customerGroupId","customerGroupName","status","companyId","customerNo","phone","phoneArea","registerSource","unitId","firstName","lastName","email","customerType"]},"description":"数据列表"},"total":{"type":"integer","description":"总数"},"size":{"type":"integer","description":"每页大小"},"current":{"type":"integer","description":"当前页"}},"required":["records","total","size","current"],"description":"分页数据体"},"fail":{"type":"boolean"},"ok":{"type":"boolean"},"bizCode":{"type":"string","description":"模块标识码"},"msgParams":{"type":"string","description":"返回描述中占位符参数串，多个参数间以,分割"}},"required":["code","msg","tm","trace","data","fail","ok"]}}},"headers":{}}}}}}}
```

## 客户注册

> version=0.0.1\
> bizType=customer.app.CustomerWebApiService.registerOfAgentShareLink\
> 游客可以访问\
> 代理分享链接,客户注册

```json
{"openapi":"3.0.1","info":{"title":"默认模块","version":"1.0.0"},"tags":[{"name":"客户接口/代理相关"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.registerOfAgentShareLink":{"post":{"summary":"客户注册","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.registerOfAgentShareLink\n游客可以访问\n代理分享链接,客户注册","operationId":"applyApi","tags":["客户接口/代理相关"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","description":"国家"},"lang":{"type":"string","description":"语言信息，默认en-US"},"phoneArea":{"type":"string","description":"手机区号","maxLength":15},"loginName":{"type":"string","description":"账号：邮箱/手机号码，与type配合使用","maxLength":50},"pwd":{"type":"string","description":"密码，MD5加密"},"type":{"type":"integer","description":"注册方式：1邮箱，2手机号码","format":"int32","minimum":1,"maximum":2},"registerDevice":{"type":"string","description":"注册的设备型号"},"registerSource":{"type":"integer","format":"int32","minimum":1,"description":"注册来源:1=移动端web：H5，2=pcweb：PC_Web，3=系统&后台注册：System，4=安卓原生app：Android，5=苹果原生app：iOS，6=鸿蒙OS：HOS，7=pc windows客户端：PC_Win,8=pc mac客户端：PC_Mac，9=不属于以上的：其他"},"utmSource":{"type":"string","description":"广告来源(开户链接参数source)"},"utmMedium":{"type":"string","description":"广告媒介(开户链接参数medium)"},"utmCampaign":{"type":"string","description":"广告系列(开户链接参数campaign)"},"utmContent":{"type":"string","description":"广告组(开户链接参数content)"},"utmTerm":{"type":"string","description":"关键词(开户链接参数term)"},"customerGroupId":{"type":"integer","format":"int64","description":"客户组ID"},"thirdServerCode":{"type":"string","description":"第三方系统唯一编号（传入代理客户编号）"}},"required":["registerSource","type","country","loginName","thirdServerCode"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"模块标识码"},"code":{"type":"string","description":"状态返回码"},"msg":{"type":"string","description":"状态描述"},"tm":{"type":"integer","format":"int64","description":"处理时长（毫秒）"},"trace":{"type":"string","description":"跟踪码"},"msgParams":{"type":"string","description":"返回描述中占位符参数串，多个参数间以,分割"},"data":{"type":"object","properties":{"customerNo":{"type":"string","description":"客户账号"},"list":{"type":"array","description":"KYC认证列表信息","items":{"$ref":"#/components/schemas/KycAuthVO"}},"companyId":{"type":"integer","format":"int64","description":"公司ID"},"email":{"type":"string","description":"邮箱"},"phone":{"type":"string","description":"手机"},"phoneArea":{"type":"string","description":"手机区号"},"name":{"type":"string","description":"姓名"},"loginPassStatus":{"type":"string","description":"设置密码提醒标志，1需要设置密码，2不需要"},"payPassStatus":{"type":"string","description":"支付密码是否存在状态，1不存在，2存在"},"customerGroupId":{"type":"integer","format":"int64","description":"客户组Id"},"country":{"type":"string","description":"国家"},"id":{"type":"integer","format":"int64","description":"客户id"},"optional":{"type":"integer","format":"int32","description":"自选标志0未添加1已添加"},"companyKycStatus":{"type":"integer","format":"int32","description":"公司KYC开户状态，1开启2未开启"},"thirdServerCode":{"type":"string","description":"第三方系统唯一编号"},"source":{"type":"string","description":"来源"},"capitalInStatus":{"type":"integer","format":"int32","description":"入金状态:1已入金、2未入金"},"openAccountType":{"type":"integer","format":"int32","description":"开户类型：0.个人 1.企业 "},"companyType":{"type":"string","description":"公司类型"},"associationCompanyId":{"type":"integer","format":"int64","description":"关联公司Id"},"registerTime":{"type":"integer","format":"int64","description":"注册时间"}}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}},"components":{"schemas":{"KycAuthVO":{"type":"object","properties":{"levelCode":{"type":"string","description":"等级code"},"openAccountType":{"type":"integer","format":"int32","description":"开户类型：0.个人 1.企业 "},"levelName":{"type":"string","description":"等级名称"},"pathName":{"type":"string","description":"KYC路径名称"},"pathCode":{"type":"string","description":"KYC路径code"},"elementList":{"type":"array","description":"KYC信息列表","items":{"$ref":"#/components/schemas/KycAuthElementVO"}}}},"KycAuthElementVO":{"type":"object","properties":{"elementCode":{"type":"string","description":"KYC元素code"},"elementName":{"type":"string","description":"KYC元素名称"},"showType":{"type":"string","description":"KYC元素显示类型"},"extend":{"type":"string","description":"KYC元素扩展属性"},"elementValue":{"type":"string","description":"KYC元素值"},"elementValueInputGroup":{"type":"string","description":"KYC元素值，组合"},"elementCodeInputGroup":{"type":"string","description":"KYC元素code，组合"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-cn.multimarkets.org/client-api/geng-duo-.../ke-hu-jie-kou-dai-li-xiang-guan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
