Why is Silverpop not accepting my XML API call?
08:31 27 Aug 2018

I’m working on running a few tests on the Silverpop API, toward an eventual goal of uploading CSVs each evening to update a Silverpop table. I was able to successfully upload csv and xml files and get an oauth access token for the API. However, I’m having trouble with my first actual call.

Here is what I am attempting to send:



    
        
            silverPopTest.xml
            silverPopTest.csv
            Nicholas@xxxxxxxxxxxxxxxxxxxx.com
        
    

And here is the 'fault string’ that I am receiving back: Missing 'xml'parameter

I’m not sure what that means.

I believe I am including all of the required parameters for this command per the docs. I have tried both with and without the “xml” line, as application/xml and text/xml, and a variety of other variations. For reference, here is the code for my entire call:


    
     
    
    

This is the error xml:

falseMissing 'xml'parameter52SP.API

This is my CSV file:

"userid","Email","firstName","lastName"
"123fdasTEST1asdf321","nicholas+test1@xxxxxxxxxxxxxxxxxxx.com","testFirst 1","testLast 1"
"123fdasTEST2asdf321","nicholas+test2@xxxxxxxxxxxxxxxxxxx.com","testFirst 2","testLast 2"

This is my 'map' file:

    
        
            ADD_AND_UPDATE
            9999999
            0
            true
        
        
            
                userid
                0
                true
                true
            
            
                Email
                9
                true
            
            
                firstName
                0
                true
            
            
                lastName
                0
                true
            
        
        
            
                1
                userid
                true
            
            
                2
                EMAIL
                true
            
            
                3
                firstName
                true
            
            
                4
                lastName
                true
            
        
    
xml