��Ա������

    member/batch_get


    Ŀ¼

    1.�ӿ�˵��

    1.1�ӿ�����

         ������ȡ��Ա����

    1.2���ð汾

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

    2.ʹ�ó���

    ���̼��ɡ���Ա����

    3.�ӿڵ���˵��

    3.1����˵��

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


    3.2url����˵��

    ���� �Ƿ���� ���� ����
    from_account �� sting ���÷�id
    to_account �� string �ṩ��id
    app_key �� string Ӧ�ñ���
    token �� string ȫ�ַ���Ψһʶ����
    ds_sequence �� number ���Դ��ţ�Ĭ��ȡӦ�õĵ�һ�����Դ��
    ccode_begin �� string ��ʼ��Ա���
    ccode_end �� string �����Ա���
    cname �� string ����ؼ���
    cnickname �� string �dzƹؼ���
    cgradename �� string ��Ա�ȼ���ƹؼ���
    cmobilephone �� string �ֻ�
    cemail �� string e-mail
    cmicromessage �� string ΢�ź�
    cqqcode �� string QQ��
    cvalidcardnum �� string ��Ч֤�����
    cmemo �� string ��ע�ؼ���
    crecommendcode �� string �Ƽ��˱���
    crecommendname �� string �Ƽ�����ƹؼ���
    cretailstorecode �� string �����ŵ����
    cretailstorename �� string �����ŵ���ƹؼ���
    imembersource �� number ��Ա��Դ
    cphone �� string ��ϵ�绰
    csex �� string �Ա�
    cbuyfavor �� string ���򰮺�

    3.3����ʾ��

    GET https://api.yonyouup.com/api/member/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&ccode_begin=xxxxx&ccode_end=xxxxx&cname=xxxxx&cnickname=xxxxx&cgradename=xxxxx&cmobilephone=xxxxx&cemail=xxxxx&cmicromessage=xxxxx&cqqcode=xxxxx&cvalidcardnum=xxxxx&cmemo=xxxxx&crecommendcode=xxxxx&crecommendname=xxxxx&cretailstorecode=xxxxx&cretailstorename=xxxxx&imembersource=xxxxx&cphone=xxxxx&csex=xxxxx&cbuyfavor=xxxxx


    3.4���ز���˵��

    ����˵�� ���� ����·�� ����
    errcode string   �����룬0 Ϊ��
    errmsg string   ������Ϣ��
    ccode string ��Ա���
    cname string ����
    cnickname string �dz�
    cgradename string ��Ա�ȼ����
    ddate date ��Աע������
    dstopdate date ͣ������
    cmobilephone string �ֻ�
    cemail string e-mail
    cmicromessage string ΢�ź�
    cqqcode string QQ��
    cprovince string ʡ
    ccity string ��
    carea string ����
    caddress string ��ϸ��ַ
    cvalidcardnum string ��Ч֤�����
    cvalidcard string ��Ч֤������
    cmemo string ��ע
    crecommendcode string �Ƽ��˱���
    crecommendname string �Ƽ������
    cretailstorecode string �����ŵ����
    cretailstorename string �����ŵ����
    wechatmemberid number ������ԱId
    wechatrecommendmemberid number �����Ƽ���Id
    retailguid string ����GUID
    retailrecommendguid string �����Ƽ���GUID
    wechatrecommendtime date �����Ƽ�����
    dlastbuydate date ���������
    retailrecommenddate date �����Ƽ�����
    drecommenddate date �Ƽ�����
    isumbuycount number �ۼƹ������
    fsumbuymoney number �ۼƹ�����
    imembersource number ��Ա��Դ
    cretailareacode string �ŵ�������
    cretailareaname string �ŵ����
    cbrandcode string Ʒ�Ʊ���
    cbrandname string Ʒ��
    bstop boolean �Ƿ�ͣ��
    cgradecode string ��Ա�ȼ����
    dbirthdate date ��Ա����
    cphone string ��ϵ�绰
    czip string �ʱ�
    csex string �Ա�
    cbuyfavor string ���򰮺�
    fmemberfee number ��Ա���
    cprovinceid string ʡid
    ccityid string ��id
    careaid string ����id
    cmaker string �Ƶ���
    cpersoncode string ҵ��Ա���
    cpersonname string ҵ��Ա
    cdefine1 string ��ͷ�Զ�����1
    cdefine2 string ��ͷ�Զ�����2
    cdefine3 string ��ͷ�Զ�����3
    cdefine4 date ��ͷ�Զ�����4
    cdefine5 number ��ͷ�Զ�����5
    cdefine6 date ��ͷ�Զ�����6
    cdefine7 number ��ͷ�Զ�����7
    cdefine9 string ��ͷ�Զ�����9
    cdefine10 string ��ͷ�Զ�����10
    cdefine11 string ��ͷ�Զ�����11
    cdefine12 string ��ͷ�Զ�����12
    cdefine13 string ��ͷ�Զ�����13
    cdefine15 number ��ͷ�Զ�����15
    cdefine16 number ��ͷ�Զ�����16
    cdefine14 string ��ͷ�Զ�����14
    cdefine8 string ��ͷ�Զ�����8
    cwechat string ΢�Ű󶨺�

    3.5��ȷ����ʾ��

    JSONʾ��:

    application/json;charset=UTF-8
    {
    	"member":[
    		{
    			"ccode":"0000000001",
    			"cmaker":"demo",
    			"wechatrecommendmemberid":"",
    			"wechatrecommendtime":"",
    			"imembersource":"4",
    			"cbuyfavor":"",
    			"retailguid":"",
    			"carea":"",
    			"isumbuycount":"",
    			"ddate":"2016-06-1200:00:00.0",
    			"crecommendcode":"",
    			"dstopdate":"",
    			"crecommendname":"",
    			"cphone":"",
    			"drecommenddate":"",
    			"retailrecommenddate":"",
    			"cvalidcardnum":"",
    			"cmemo":"",
    			"cretailareaname":"",
    			"cmicromessage":"",
    			"cmobilephone":"",
    			"retailrecommendguid":"",
    			"cdefine12":"",
    			"cdefine11":"",
    			"cdefine10":"",
    			"cemail":"",
    			"cretailstorename":"",
    			"czip":"",
    			"cpersonname":"",
    			"csex":"9",
    			"ccityid":"",
    			"cdefine14":"",
    			"cdefine13":"",
    			"cdefine16":"",
    			"cdefine15":"",
    			"fmemberfee":"",
    			"cprovince":"",
    			"cpersoncode":"",
    			"bstop":"0",
    			"cvalidcard":"",
    			"cgradename":"������ʯ��",
    			"caddress":"",
    			"cdefine9":"",
    			"cdefine8":"",
    			"cdefine7":"",
    			"cretailstorecode":"",
    			"cbrandcode":"",
    			"dlastbuydate":"",
    			"cdefine6":"",
    			"cdefine5":"",
    			"cdefine4":"",
    			"cdefine3":"",
    			"cdefine2":"",
    			"cgradecode":"34767",
    			"cdefine1":"",
    			"careaid":"",
    			"cqqcode":"",
    			"dbirthdate":"",
    			"fsumbuymoney":"",
    			"cprovinceid":"",
    			"ccity":"",
    			"wechatmemberid":"",
    			"cnickname":"test1",
    			"cwechat":"",
    			"cname":"test1",
    			"cbrandname":"",
    			"cretailareacode":""
    		},
    		{
    			"ccode":"0000000002",
    			"cmaker":"demo",
    			"wechatrecommendmemberid":"",
    			"wechatrecommendtime":"",
    			"imembersource":"4",
    			"cbuyfavor":"",
    			"retailguid":"",
    			"carea":"",
    			"isumbuycount":"",
    			"ddate":"2016-06-1200:00:00.0",
    			"crecommendcode":"",
    			"dstopdate":"",
    			"crecommendname":"",
    			"cphone":"",
    			"drecommenddate":"",
    			"retailrecommenddate":"",
    			"cvalidcardnum":"",
    			"cmemo":"",
    			"cretailareaname":"",
    			"cmicromessage":"",
    			"cmobilephone":"",
    			"retailrecommendguid":"",
    			"cdefine12":"",
    			"cdefine11":"",
    			"cdefine10":"",
    			"cemail":"",
    			"cretailstorename":"",
    			"czip":"",
    			"cpersonname":"",
    			"csex":"9",
    			"ccityid":"",
    			"cdefine14":"",
    			"cdefine13":"",
    			"cdefine16":"",
    			"cdefine15":"",
    			"fmemberfee":"",
    			"cprovince":"",
    			"cpersoncode":"",
    			"bstop":"0",
    			"cvalidcard":"",
    			"cgradename":"������ʯ��",
    			"caddress":"",
    			"cdefine9":"",
    			"cdefine8":"",
    			"cdefine7":"",
    			"cretailstorecode":"",
    			"cbrandcode":"",
    			"dlastbuydate":"",
    			"cdefine6":"",
    			"cdefine5":"",
    			"cdefine4":"",
    			"cdefine3":"",
    			"cdefine2":"",
    			"cgradecode":"34767",
    			"cdefine1":"",
    			"careaid":"",
    			"cqqcode":"",
    			"dbirthdate":"",
    			"fsumbuymoney":"",
    			"cprovinceid":"",
    			"ccity":"",
    			"wechatmemberid":"",
    			"cnickname":"test2",
    			"cwechat":"",
    			"cname":"test2",
    			"cbrandname":"",
    			"cretailareacode":""
    		}
    	],
    	"page_index":"1",
    	"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����