������

    districtclass/batch_get


    Ŀ¼

    1.�ӿ�˵��

    1.1�ӿ�����

         ������ȡ�������

    1.2���ð汾

         ֧��U8V12.0 ����߰汾

    2.ʹ�ó���

    �����ͬ����ǰ��չʾ

    3.�ӿڵ���˵��

    3.1����˵��

    url https://api.yonyouup.com/api/districtclass/batch_get
    ��ʽ JSON
    https����ʽ GET


    3.2url����˵��

    ���� �Ƿ���� ���� ����
    from_account �� sting ���÷�id
    to_account �� string �ṩ��id
    app_key �� string Ӧ�ñ���
    token �� string ȫ�ַ���Ψһʶ����
    ds_sequence �� number ���Դ��ţ�Ĭ��ȡӦ�õĵ�һ�����Դ��
    code_begin �� string ��ʼ�������
    code_end �� string ����������
    name �� string ������ƹؼ���
    endflag �� boolean �Ƿ�ĩ��

    3.3����ʾ��

    GET https://api.yonyouup.com/api/districtclass/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&code_begin=xxxxx&code_end=xxxxx&name=xxxxx&endflag=xxxxx


    3.4���ز���˵��

    ����˵�� ���� ����·�� ����
    errcode string   �����룬0 Ϊ��
    errmsg string   ������Ϣ��
    code string �������
    name string �������
    sort number ���뼶��
    endflag boolean �Ƿ�ĩ��

    3.5��ȷ����ʾ��

    JSONʾ��:

    application/json;charset=UTF-8
    {
    	"page_index":"1",
    	"districtclass":[
    		{
    			��code":"0000",
    			"sort":"1",
    			"name":"�������",
    			"endflag":"0"
    		},
    		{
    			"sort":"2",
    			"name":"����",
    			"endflag":"0"
    		}
    	],
    	"rows_per_page":"20",
    	"row_count":"225",
    	"errmsg":"",
    	"page_count":"12",
    	"errcode":"0"
    }
    

    3.6���󷵻�ʾ��

    application/json;charset=UTF-8
    {
    	"errcode":"30021",
    	"errmsg":"��Ӧ��δ����"
    } 

    4.API����

    API���� SDK����