Krishna Prasad

Need UpdateContactInfo API request format

Discussion created by Krishna Prasad on Mar 3, 2020
Latest reply on Mar 5, 2020 by Krishna Prasad

Hello,

 

I would like to use the UpdateContactInfo request, however, the request data format is not clear from the documents mentioned in RSA Archer 5.3SP1 Web Services API Guide .

I've used the request data as

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="http://archer-tech.com/webservices/">
<soap:Header/>
<soap:Body>
<UpdateContactInfo xmlns="http://archer-tech.com/webservices/">
<sessionToken>xxxxxxxxxxxx</sessionToken>
<userId>607</userId>
<contactInfo>12314242342345</contactInfo>
</UpdateContactInfo>
</soap:Body>
</soap:Envelope>

The response is

<?xml version="1.0" encoding="utf-8"?>
    <soap:Body>
        <soap:Fault>
            <soap:Code>
                <soap:Value>soap:Receiver</soap:Value>
            </soap:Code>
            <soap:Reason>
                <soap:Text xml:lang="en">Server was unable to process request. ---&gt; Data at the root level is invalid. Line 1, position 1.</soap:Text>
            </soap:Reason>
            <soap:Detail />
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

 

Please help in understanding the proper request structure for UpdateContactInfo API. Similarly, it would be so helpful if I can get the proper request structure for AddContactInfo API too.

Outcomes