LocationProcessesWS


Click here for a complete list of operations.

SaveLocation

Test

The test form is only available for requests from the local machine.

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 /WebServices/MappingWebSvc/LocationProcessesWS.asmx HTTP/1.1
Host: mixmobile.mixtelematics.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.omnibridge.com/SDKWebServices/Mapping/SaveLocation"

<?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:Header>
    <TokenHeader xmlns="http://www.omnibridge.com/SDKWebServices/Mapping">
      <Token>string</Token>
    </TokenHeader>
  </soap:Header>
  <soap:Body>
    <SaveLocation xmlns="http://www.omnibridge.com/SDKWebServices/Mapping">
      <NewLocation>
        <Name>string</Name>
        <Details>string</Details>
        <Type>Blue or Red or Yellow or Green or StreetPolylines or RoutePolylines or FuelStop or RestStop or SpeedZone or Business or Private or UnClassified</Type>
        <ShapeType>Circle or Polygon or Rectangle or Polyline</ShapeType>
        <Source>System or UserDefined</Source>
        <Longitude>float</Longitude>
        <Latitude>float</Latitude>
        <Radius>int</Radius>
        <UpperLeftLongitude>float</UpperLeftLongitude>
        <UpperLeftLatitude>float</UpperLeftLatitude>
        <LowerRightLongitude>float</LowerRightLongitude>
        <LowerRightLatitude>float</LowerRightLatitude>
        <Deleted>boolean</Deleted>
        <ShowOnMap>boolean</ShowOnMap>
        <CustomerCode>string</CustomerCode>
        <TaxType>Business or Private or Unclassified</TaxType>
        <SiteID>int</SiteID>
      </NewLocation>
    </SaveLocation>
  </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>
    <SaveLocationResponse xmlns="http://www.omnibridge.com/SDKWebServices/Mapping">
      <SaveLocationResult>int</SaveLocationResult>
    </SaveLocationResponse>
  </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 /WebServices/MappingWebSvc/LocationProcessesWS.asmx HTTP/1.1
Host: mixmobile.mixtelematics.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:Header>
    <TokenHeader xmlns="http://www.omnibridge.com/SDKWebServices/Mapping">
      <Token>string</Token>
    </TokenHeader>
  </soap12:Header>
  <soap12:Body>
    <SaveLocation xmlns="http://www.omnibridge.com/SDKWebServices/Mapping">
      <NewLocation>
        <Name>string</Name>
        <Details>string</Details>
        <Type>Blue or Red or Yellow or Green or StreetPolylines or RoutePolylines or FuelStop or RestStop or SpeedZone or Business or Private or UnClassified</Type>
        <ShapeType>Circle or Polygon or Rectangle or Polyline</ShapeType>
        <Source>System or UserDefined</Source>
        <Longitude>float</Longitude>
        <Latitude>float</Latitude>
        <Radius>int</Radius>
        <UpperLeftLongitude>float</UpperLeftLongitude>
        <UpperLeftLatitude>float</UpperLeftLatitude>
        <LowerRightLongitude>float</LowerRightLongitude>
        <LowerRightLatitude>float</LowerRightLatitude>
        <Deleted>boolean</Deleted>
        <ShowOnMap>boolean</ShowOnMap>
        <CustomerCode>string</CustomerCode>
        <TaxType>Business or Private or Unclassified</TaxType>
        <SiteID>int</SiteID>
      </NewLocation>
    </SaveLocation>
  </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>
    <SaveLocationResponse xmlns="http://www.omnibridge.com/SDKWebServices/Mapping">
      <SaveLocationResult>int</SaveLocationResult>
    </SaveLocationResponse>
  </soap12:Body>
</soap12:Envelope>