GMP Data Services


Click here for a complete list of operations.

W2LC2B1

Web to Lead - Consumer to Business Form 1

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:

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/W2LC2B1"

<?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>
    <W2LC2B1 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>
    </W2LC2B1>
  </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>
    <W2LC2B1Response xmlns="https://gmpdataservices.com/">
      <W2LC2B1Result>boolean</W2LC2B1Result>
    </W2LC2B1Response>
  </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>
    <W2LC2B1 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>
    </W2LC2B1>
  </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>
    <W2LC2B1Response xmlns="https://gmpdataservices.com/">
      <W2LC2B1Result>boolean</W2LC2B1Result>
    </W2LC2B1Response>
  </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/W2LC2B1?userid=string&userpincode=string&title=string&forename=string&surname=string&email=string&contactphone=string&mobilephone=string&homephone=string&workphone=string&comments=string&besttimetocall=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/W2LC2B1 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
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>