Follow

API code example: SOAP call

In order to authenticate a web service call between VIsma Severa and another software, the API key must be added to SOAP headers with the name WebServicePassword. Insert your API key where it says: “your-API-key-here!”.

Example of a full SOAP call, getting account contacts by mobile phone number:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1 = "http://soap.severa.com/">
<SOAP-ENV:Header>
<ns1:WebServicePassword>your_api_key_here</ns1:WebServicePassword>
 </SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:GetContactsByCommunicationMethodType>
 <ns1:type>MobilePhone</ns1:type>
 <ns1:value>1111111</ns1:value>
</ns1:GetContactsByCommunicationMethodType>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Powered by Zendesk