GMP Data Services


Click here for a complete list of operations.

W2LC2B4

Web to Lead - Consumer to Business Form 4 (with 15 custom fields & URL return field)

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
userid:
userpincode:
title:
forename:
surname:
email:
contactphone:
mobilephone:
homephone:
workphone:
comments:
besttimetocall:
customtext1:
customvalue1:
customtext2:
customvalue2:
customtext3:
customvalue3:
customtext4:
customvalue4:
customtext5:
customvalue5:
customtext6:
customvalue6:
customtext7:
customvalue7:
customtext8:
customvalue8:
customtext9:
customvalue9:
customtext10:
customvalue10:
customtext11:
customvalue11:
customtext12:
customvalue12:
customtext13:
customvalue13:
customtext14:
customvalue14:
customtext15:
customvalue15:
url:

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 /gmp.asmx HTTP/1.1
Host: gmpdataservices.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://gmpdataservices.com/W2LC2B4"

<?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>
    <W2LC2B4 xmlns="https://gmpdataservices.com/">
      <userid>string</userid>
      <userpincode>string</userpincode>
      <title>string</title>
      <forename>string</forename>
      <surname>string</surname>
      <email>string</email>
      <contactphone>string</contactphone>
      <mobilephone>string</mobilephone>
      <homephone>string</homephone>
      <workphone>string</workphone>
      <comments>string</comments>
      <besttimetocall>string</besttimetocall>
      <customtext1>string</customtext1>
      <customvalue1>string</customvalue1>
      <customtext2>string</customtext2>
      <customvalue2>string</customvalue2>
      <customtext3>string</customtext3>
      <customvalue3>string</customvalue3>
      <customtext4>string</customtext4>
      <customvalue4>string</customvalue4>
      <customtext5>string</customtext5>
      <customvalue5>string</customvalue5>
      <customtext6>string</customtext6>
      <customvalue6>string</customvalue6>
      <customtext7>string</customtext7>
      <customvalue7>string</customvalue7>
      <customtext8>string</customtext8>
      <customvalue8>string</customvalue8>
      <customtext9>string</customtext9>
      <customvalue9>string</customvalue9>
      <customtext10>string</customtext10>
      <customvalue10>string</customvalue10>
      <customtext11>string</customtext11>
      <customvalue11>string</customvalue11>
      <customtext12>string</customtext12>
      <customvalue12>string</customvalue12>
      <customtext13>string</customtext13>
      <customvalue13>string</customvalue13>
      <customtext14>string</customtext14>
      <customvalue14>string</customvalue14>
      <customtext15>string</customtext15>
      <customvalue15>string</customvalue15>
      <url>string</url>
    </W2LC2B4>
  </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>
    <W2LC2B4Response xmlns="https://gmpdataservices.com/">
      <W2LC2B4Result>boolean</W2LC2B4Result>
    </W2LC2B4Response>
  </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 /gmp.asmx HTTP/1.1
Host: gmpdataservices.com
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>
    <W2LC2B4 xmlns="https://gmpdataservices.com/">
      <userid>string</userid>
      <userpincode>string</userpincode>
      <title>string</title>
      <forename>string</forename>
      <surname>string</surname>
      <email>string</email>
      <contactphone>string</contactphone>
      <mobilephone>string</mobilephone>
      <homephone>string</homephone>
      <workphone>string</workphone>
      <comments>string</comments>
      <besttimetocall>string</besttimetocall>
      <customtext1>string</customtext1>
      <customvalue1>string</customvalue1>
      <customtext2>string</customtext2>
      <customvalue2>string</customvalue2>
      <customtext3>string</customtext3>
      <customvalue3>string</customvalue3>
      <customtext4>string</customtext4>
      <customvalue4>string</customvalue4>
      <customtext5>string</customtext5>
      <customvalue5>string</customvalue5>
      <customtext6>string</customtext6>
      <customvalue6>string</customvalue6>
      <customtext7>string</customtext7>
      <customvalue7>string</customvalue7>
      <customtext8>string</customtext8>
      <customvalue8>string</customvalue8>
      <customtext9>string</customtext9>
      <customvalue9>string</customvalue9>
      <customtext10>string</customtext10>
      <customvalue10>string</customvalue10>
      <customtext11>string</customtext11>
      <customvalue11>string</customvalue11>
      <customtext12>string</customtext12>
      <customvalue12>string</customvalue12>
      <customtext13>string</customtext13>
      <customvalue13>string</customvalue13>
      <customtext14>string</customtext14>
      <customvalue14>string</customvalue14>
      <customtext15>string</customtext15>
      <customvalue15>string</customvalue15>
      <url>string</url>
    </W2LC2B4>
  </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>
    <W2LC2B4Response xmlns="https://gmpdataservices.com/">
      <W2LC2B4Result>boolean</W2LC2B4Result>
    </W2LC2B4Response>
  </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 /gmp.asmx/W2LC2B4?userid=string&userpincode=string&title=string&forename=string&surname=string&email=string&contactphone=string&mobilephone=string&homephone=string&workphone=string&comments=string&besttimetocall=string&customtext1=string&customvalue1=string&customtext2=string&customvalue2=string&customtext3=string&customvalue3=string&customtext4=string&customvalue4=string&customtext5=string&customvalue5=string&customtext6=string&customvalue6=string&customtext7=string&customvalue7=string&customtext8=string&customvalue8=string&customtext9=string&customvalue9=string&customtext10=string&customvalue10=string&customtext11=string&customvalue11=string&customtext12=string&customvalue12=string&customtext13=string&customvalue13=string&customtext14=string&customvalue14=string&customtext15=string&customvalue15=string&url=string HTTP/1.1
Host: gmpdataservices.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<boolean xmlns="https://gmpdataservices.com/">boolean</boolean>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /gmp.asmx/W2LC2B4 HTTP/1.1
Host: gmpdataservices.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

userid=string&userpincode=string&title=string&forename=string&surname=string&email=string&contactphone=string&mobilephone=string&homephone=string&workphone=string&comments=string&besttimetocall=string&customtext1=string&customvalue1=string&customtext2=string&customvalue2=string&customtext3=string&customvalue3=string&customtext4=string&customvalue4=string&customtext5=string&customvalue5=string&customtext6=string&customvalue6=string&customtext7=string&customvalue7=string&customtext8=string&customvalue8=string&customtext9=string&customvalue9=string&customtext10=string&customvalue10=string&customtext11=string&customvalue11=string&customtext12=string&customvalue12=string&customtext13=string&customvalue13=string&customtext14=string&customvalue14=string&customtext15=string&customvalue15=string&url=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<boolean xmlns="https://gmpdataservices.com/">boolean</boolean>