文 档 中 心 / Document Center
搜索 管理中心
壹川接口文档V3
根据分类获取号段列表
更新时间:2018-04-24 16:14:53   更新人员:叶洋   文档状态:完成 #227    测试接口
摘要
根据分类获取号段列表
  1. 接口基本信息
    接口名称:获取单号管理列表
    请求方法:GET
    接口地址:dnseg
    登录验证:是
  2. 请求参数
    参数名 参数 数据类型 是否必须 示例值 说明
    type 分类id int 分类id
  3. 请求示例
    请求例子:
     
    apirq('dnseg', {
        data: {
            "type": 1
        }
    }) 
    
    返回数据结果:
     
    {
        "code": 0,
        "msg": "ok",
        "time": "1527072988",
        "data": {
            "page": 1,
            "row": 15,
            "count": 2,
            "total_count": 2,
            "total_page": 1,
            "lists": [
                {
                    "id": 1,
                    "type": 1,
                    "shared": 0,
                    "org_type": 1,
                    "org_id": "1000000000000000",
                    "create_time": "2018-05-23 16:08:54",
                    "create_by": "0000000000000001",
                    "update_time": "2018-05-23 16:08:54",
                    "update_by": "0000000000000001",
                    "description": "系统的单子",
                    "manage_pool": [
                        {
                            "end_no": "A10240",
                            "length": 6,
                            "rules": [
                                {
                                    "prechars": "ABCDEFGHIJKLMOPQRSTUVWXYZ",
                                    "sfun": "NOFN",
                                    "split_id": 1,
                                    "split_length": 1,
                                    "srule": "PC26"
                                },
                                {
                                    "prechars": "0123456789",
                                    "sfun": "NOFN",
                                    "split_id": 2,
                                    "split_length": 5,
                                    "srule": "PN10"
                                }
                            ],
                            "segment": 2,
                            "start_no": "A10000"
                        }
                    ],
                    "selfuse_pool": [
                        {
                            "end_no": "A10040",
                            "length": 6,
                            "rules": [
                                {
                                    "prechars": "ABCDEFGHIJKLMOPQRSTUVWXYZ",
                                    "sfun": "NOFN",
                                    "split_id": 1,
                                    "split_length": 1,
                                    "srule": "PC26"
                                },
                                {
                                    "prechars": "0123456789",
                                    "sfun": "NOFN",
                                    "split_id": 2,
                                    "split_length": 5,
                                    "srule": "PN10"
                                }
                            ],
                            "segment": 2,
                            "start_no": "A10000"
                        }
                    ],
                    "subord_pool": [
                        {
                            "end_no": "A10240",
                            "length": 6,
                            "rules": [
                                {
                                    "prechars": "ABCDEFGHIJKLMOPQRSTUVWXYZ",
                                    "sfun": "NOFN",
                                    "split_id": 1,
                                    "split_length": 1,
                                    "srule": "PC26"
                                },
                                {
                                    "prechars": "0123456789",
                                    "sfun": "NOFN",
                                    "split_id": 2,
                                    "split_length": 5,
                                    "srule": "PN10"
                                }
                            ],
                            "segment": 2,
                            "start_no": "A10041"
                        }
                    ],
                    "spare_pool": [],
                    "selfuse_nonius": null,
                    "orgtype_name": "系统",
                    "org_name": "系统",
                    "contacts": "小小",
                    "mobile": "18200509877",
                    "tel": "",
                    "email": "549042814@qq.com"
                },
                {
                    "id": 2,
                    "type": 1,
                    "shared": 0,
                    "org_type": 3,
                    "org_id": "05d48fa8743570b0",
                    "create_time": "2018-05-23 17:49:13",
                    "create_by": "0000000000000001",
                    "update_time": "2018-05-23 17:49:13",
                    "update_by": "0000000000000001",
                    "description": "aerere",
                    "manage_pool": [
                        {
                            "end_no": "A10110",
                            "length": 6,
                            "rules": [
                                {
                                    "prechars": "ABCDEFGHIJKLMOPQRSTUVWXYZ",
                                    "split_id": 1,
                                    "split_length": 1,
                                    "srule": "PC26"
                                },
                                {
                                    "prechars": "0123456789",
                                    "split_id": 2,
                                    "split_length": 5,
                                    "srule": "PN10"
                                }
                            ],
                            "segment": 2,
                            "start_no": "A10050"
                        }
                    ],
                    "selfuse_pool": [
                        {
                            "end_no": "A10073",
                            "length": 6,
                            "rules": [
                                {
                                    "prechars": "ABCDEFGHIJKLMOPQRSTUVWXYZ",
                                    "split_id": 1,
                                    "split_length": 1,
                                    "srule": "PC26"
                                },
                                {
                                    "prechars": "0123456789",
                                    "split_id": 2,
                                    "split_length": 5,
                                    "srule": "PN10"
                                }
                            ],
                            "segment": 2,
                            "start_no": "A10060"
                        }
                    ],
                    "subord_pool": [
                        {
                            "end_no": "A10092",
                            "length": 6,
                            "rules": [
                                {
                                    "prechars": "ABCDEFGHIJKLMOPQRSTUVWXYZ",
                                    "split_id": 1,
                                    "split_length": 1,
                                    "srule": "PC26"
                                },
                                {
                                    "prechars": "0123456789",
                                    "split_id": 2,
                                    "split_length": 5,
                                    "srule": "PN10"
                                }
                            ],
                            "segment": 2,
                            "start_no": "A10086"
                        }
                    ],
                    "spare_pool": [
                        {
                            "end_no": "A10059",
                            "length": 6,
                            "rules": [
                                {
                                    "prechars": "ABCDEFGHIJKLMOPQRSTUVWXYZ",
                                    "split_id": 1,
                                    "split_length": 1,
                                    "srule": "PC26"
                                },
                                {
                                    "prechars": "0123456789",
                                    "split_id": 2,
                                    "split_length": 5,
                                    "srule": "PN10"
                                }
                            ],
                            "segment": 2,
                            "start_no": "A10050"
                        },
                        {
                            "end_no": "A10085",
                            "length": 6,
                            "rules": [
                                {
                                    "prechars": "ABCDEFGHIJKLMOPQRSTUVWXYZ",
                                    "split_id": 1,
                                    "split_length": 1,
                                    "srule": "PC26"
                                },
                                {
                                    "prechars": "0123456789",
                                    "split_id": 2,
                                    "split_length": 5,
                                    "srule": "PN10"
                                }
                            ],
                            "segment": 2,
                            "start_no": "A10074"
                        },
                        {
                            "end_no": "A10110",
                            "length": 6,
                            "rules": [
                                {
                                    "prechars": "ABCDEFGHIJKLMOPQRSTUVWXYZ",
                                    "split_id": 1,
                                    "split_length": 1,
                                    "srule": "PC26"
                                },
                                {
                                    "prechars": "0123456789",
                                    "split_id": 2,
                                    "split_length": 5,
                                    "srule": "PN10"
                                }
                            ],
                            "segment": 2,
                            "start_no": "A10093"
                        }
                    ],
                    "selfuse_nonius": null,
                    "orgtype_name": "机构",
                    "org_name": "天天向上2",
                    "contacts": "李白",
                    "mobile": "13212345678",
                    "tel": "0281324567",
                    "email": ""
                }
            ]
        }
    } 
    
本书创建于 2018-03-30 12:03:13 ?如有疑问,请联系技术人员