Contact Administration Service V2
Click here for a complete list of operations.
AdministerContact
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ServiceV2.asmx HTTP/1.1
Host: tools.contactonline.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://contactonline.uk.com/IntegrationServiceV2/AdministerContact"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AdministerContact xmlns="http://contactonline.uk.com/IntegrationServiceV2/">
<UserName>string</UserName>
<Password>string</Password>
<CID>int</CID>
<IntegrationCode>string</IntegrationCode>
<Title>string</Title>
<Firstname>string</Firstname>
<Lastname>string</Lastname>
<Email>string</Email>
<Address1>string</Address1>
<Address2>string</Address2>
<Address3>string</Address3>
<City>string</City>
<Postcode>string</Postcode>
<County>string</County>
<Country>string</Country>
<Mobile>string</Mobile>
<Home>string</Home>
<Work>string</Work>
<PreferredContactMethod>int</PreferredContactMethod>
<OptInCall>boolean</OptInCall>
<OptInEmail>boolean</OptInEmail>
<OptInSms>boolean</OptInSms>
<OptInPost>boolean</OptInPost>
<DOB>string</DOB>
<PeronalNotes>string</PeronalNotes>
<SourceOfEnquiry>string</SourceOfEnquiry>
</AdministerContact>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AdministerContactResponse xmlns="http://contactonline.uk.com/IntegrationServiceV2/">
<AdministerContactResult>int</AdministerContactResult>
</AdministerContactResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ServiceV2.asmx HTTP/1.1
Host: tools.contactonline.co.uk
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AdministerContact xmlns="http://contactonline.uk.com/IntegrationServiceV2/">
<UserName>string</UserName>
<Password>string</Password>
<CID>int</CID>
<IntegrationCode>string</IntegrationCode>
<Title>string</Title>
<Firstname>string</Firstname>
<Lastname>string</Lastname>
<Email>string</Email>
<Address1>string</Address1>
<Address2>string</Address2>
<Address3>string</Address3>
<City>string</City>
<Postcode>string</Postcode>
<County>string</County>
<Country>string</Country>
<Mobile>string</Mobile>
<Home>string</Home>
<Work>string</Work>
<PreferredContactMethod>int</PreferredContactMethod>
<OptInCall>boolean</OptInCall>
<OptInEmail>boolean</OptInEmail>
<OptInSms>boolean</OptInSms>
<OptInPost>boolean</OptInPost>
<DOB>string</DOB>
<PeronalNotes>string</PeronalNotes>
<SourceOfEnquiry>string</SourceOfEnquiry>
</AdministerContact>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AdministerContactResponse xmlns="http://contactonline.uk.com/IntegrationServiceV2/">
<AdministerContactResult>int</AdministerContactResult>
</AdministerContactResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /ServiceV2.asmx/AdministerContact?UserName=string&Password=string&CID=string&IntegrationCode=string&Title=string&Firstname=string&Lastname=string&Email=string&Address1=string&Address2=string&Address3=string&City=string&Postcode=string&County=string&Country=string&Mobile=string&Home=string&Work=string&PreferredContactMethod=string&OptInCall=string&OptInEmail=string&OptInSms=string&OptInPost=string&DOB=string&PeronalNotes=string&SourceOfEnquiry=string HTTP/1.1 Host: tools.contactonline.co.uk
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <int xmlns="http://contactonline.uk.com/IntegrationServiceV2/">int</int>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /ServiceV2.asmx/AdministerContact HTTP/1.1 Host: tools.contactonline.co.uk Content-Type: application/x-www-form-urlencoded Content-Length: length UserName=string&Password=string&CID=string&IntegrationCode=string&Title=string&Firstname=string&Lastname=string&Email=string&Address1=string&Address2=string&Address3=string&City=string&Postcode=string&County=string&Country=string&Mobile=string&Home=string&Work=string&PreferredContactMethod=string&OptInCall=string&OptInEmail=string&OptInSms=string&OptInPost=string&DOB=string&PeronalNotes=string&SourceOfEnquiry=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <int xmlns="http://contactonline.uk.com/IntegrationServiceV2/">int</int>