Partner Toolkit HTTPService - Methods - GetContacts

GetContacts

This method is only available for use by clients whose account is designated to be a Reseller account.

This method is used to retrieve a list of contacts from an account, specified by clientExternalLogin.

» returnCSVString» Boolean
» externalLogin» String
» password» String
» resellerCode» String
» clientExternalLogin» string

On successful completion of this method, the contact id, first name, last name and email address are returned.

Return data


    <?xml version="1.0" encoding="UTF-8"?>
    <GetContactResponse>
        <Transaction>
            <IP>123.123.123.123</IP>
            <Code>1</Code>
            <Description>Transaction OK</Description>
        </Transaction>
        <Contacts>
            <ContactContainer>
                <ID>111111</ID>
                <FirstName>FirstName1</FirstName>
                <LastName>LastName1</LastName>
                <Email>email1@domina.com</Email>
            </ContactContainer>
            <ContactContainer>
                <ID>111112</ID>
                <FirstName>FirstName2</FirstName>
                <LastName>LastName2</LastName>
                <Email>email2@domina.com</Email>
            </ContactContainer>
            <ContactContainer>
                <ID>111113</ID>
                <FirstName>FirstName3</FirstName>
                <LastName>LastName3</LastName>
                <Email>email3@domina.com</Email>
            </ContactContainer>
            <ContactContainer>
                <ID>111114</ID>
                <FirstName>FirstName4</FirstName>
                <LastName>LastName4</LastName>
                <Email>email4@domina.com</Email>
            </ContactContainer>
        </Contacts>
    </GetContactResponse>    
    

CSV:


    #1#
"111111","FirstName1","LastName1","email1@domina.com"
"111112","FirstName2","LastName2","email2@domina.com"
"111113","FirstName3","LastName3",ā€¯email3@domina.com"
"111114","FirstName4","LastName4","email4@domina.com"