TT_Data


Click here for a complete list of operations.

Save_POI_v2

Trutrak Reserved

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
Token:
POI_ID:
Name:
Latitude:
Longitude:
Colour:
Postcode:
Address1:
Address2:
Town:
County:
Country:
Contact:
Contact_Tel:
Contact_Mob:
Contact_Email:
Mode:

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 /WSDataprovider.asmx HTTP/1.1
Host: ttdata.trutrakpro.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.trutrakpro.co.uk/Save_POI_v2"

<?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>
    <Save_POI_v2 xmlns="http://www.trutrakpro.co.uk/">
      <Token>string</Token>
      <POI_ID>string</POI_ID>
      <Name>string</Name>
      <Latitude>string</Latitude>
      <Longitude>string</Longitude>
      <Colour>string</Colour>
      <Postcode>string</Postcode>
      <Address1>string</Address1>
      <Address2>string</Address2>
      <Town>string</Town>
      <County>string</County>
      <Country>string</Country>
      <Contact>string</Contact>
      <Contact_Tel>string</Contact_Tel>
      <Contact_Mob>string</Contact_Mob>
      <Contact_Email>string</Contact_Email>
      <Mode>string</Mode>
    </Save_POI_v2>
  </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>
    <Save_POI_v2Response xmlns="http://www.trutrakpro.co.uk/">
      <Save_POI_v2Result>xml</Save_POI_v2Result>
    </Save_POI_v2Response>
  </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 /WSDataprovider.asmx HTTP/1.1
Host: ttdata.trutrakpro.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>
    <Save_POI_v2 xmlns="http://www.trutrakpro.co.uk/">
      <Token>string</Token>
      <POI_ID>string</POI_ID>
      <Name>string</Name>
      <Latitude>string</Latitude>
      <Longitude>string</Longitude>
      <Colour>string</Colour>
      <Postcode>string</Postcode>
      <Address1>string</Address1>
      <Address2>string</Address2>
      <Town>string</Town>
      <County>string</County>
      <Country>string</Country>
      <Contact>string</Contact>
      <Contact_Tel>string</Contact_Tel>
      <Contact_Mob>string</Contact_Mob>
      <Contact_Email>string</Contact_Email>
      <Mode>string</Mode>
    </Save_POI_v2>
  </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>
    <Save_POI_v2Response xmlns="http://www.trutrakpro.co.uk/">
      <Save_POI_v2Result>xml</Save_POI_v2Result>
    </Save_POI_v2Response>
  </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 /WSDataprovider.asmx/Save_POI_v2?Token=string&POI_ID=string&Name=string&Latitude=string&Longitude=string&Colour=string&Postcode=string&Address1=string&Address2=string&Town=string&County=string&Country=string&Contact=string&Contact_Tel=string&Contact_Mob=string&Contact_Email=string&Mode=string HTTP/1.1
Host: ttdata.trutrakpro.co.uk
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml

HTTP POST

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

POST /WSDataprovider.asmx/Save_POI_v2 HTTP/1.1
Host: ttdata.trutrakpro.co.uk
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Token=string&POI_ID=string&Name=string&Latitude=string&Longitude=string&Colour=string&Postcode=string&Address1=string&Address2=string&Town=string&County=string&Country=string&Contact=string&Contact_Tel=string&Contact_Mob=string&Contact_Email=string&Mode=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml