CoreWS


Click here for a complete list of operations.

SetCurrentOrgID

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/CoreWebSvc/CoreWS.asmx HTTP/1.1
Host: mixmobile.mixtelematics.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.omnibridge.com/SDKWebServices/Core/SetCurrentOrgID"

<?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/Core">
      <Token>string</Token>
    </TokenHeader>
  </soap:Header>
  <soap:Body>
    <SetCurrentOrgID xmlns="http://www.omnibridge.com/SDKWebServices/Core">
      <NewOrganisationID>int</NewOrganisationID>
    </SetCurrentOrgID>
  </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>
    <SetCurrentOrgIDResponse xmlns="http://www.omnibridge.com/SDKWebServices/Core">
      <SetCurrentOrgIDResult>
        <LoginUser>
          <UserName>string</UserName>
          <HasAlerts>boolean</HasAlerts>
          <HasQuickLinks>boolean</HasQuickLinks>
          <DisplayName>string</DisplayName>
          <AllowedToLogin>boolean</AllowedToLogin>
          <DefaultOrgID>int</DefaultOrgID>
          <Password>string</Password>
          <Language>string</Language>
          <WorkPhone>string</WorkPhone>
          <WorkFax>string</WorkFax>
          <MobilePhone>string</MobilePhone>
          <HomePhone>string</HomePhone>
          <EMail>string</EMail>
          <Comments>string</Comments>
          <LoginExpires>boolean</LoginExpires>
          <LoginExpireDate>dateTime</LoginExpireDate>
          <ConsumptionType>VolumeUnitsPer100DistanceUnits or DistanceUnitsPerVolumeUnits or DistanceUnitsPerVolumeUnits2</ConsumptionType>
          <MeasurementType>UseDefault or Metric or Imperial or USImperial or MetresPerMinute</MeasurementType>
          <FuelCaptureVolumeType>UseDefault or Metric or Imperial or USImperial or MetresPerMinute</FuelCaptureVolumeType>
          <FuelCaptureDistanceType>UseDefault or Metric or Imperial or USImperial or MetresPerMinute</FuelCaptureDistanceType>
          <GMTOffsetInSeconds>int</GMTOffsetInSeconds>
          <GMTType>UnSet or OrganisazionGMT or RegionalGMT or DefinedGMT</GMTType>
          <ViewName>string</ViewName>
          <ViewID>string</ViewID>
          <LCID>int</LCID>
          <CurrentOrgID>int</CurrentOrgID>
          <GMTOffset />
          <View>
            <Name>string</Name>
          </View>
        </LoginUser>
        <AllowedOrganisations>
          <Organisation>
            <OrganisationName>string</OrganisationName>
            <GMTOffset>int</GMTOffset>
            <Language>string</Language>
            <Active>boolean</Active>
            <FMWebManaged>boolean</FMWebManaged>
            <MapProviderID>string</MapProviderID>
            <CompanyID>int</CompanyID>
          </Organisation>
          <Organisation>
            <OrganisationName>string</OrganisationName>
            <GMTOffset>int</GMTOffset>
            <Language>string</Language>
            <Active>boolean</Active>
            <FMWebManaged>boolean</FMWebManaged>
            <MapProviderID>string</MapProviderID>
            <CompanyID>int</CompanyID>
          </Organisation>
        </AllowedOrganisations>
        <AllowedFunctions>
          <Function>
            <ModuleID>int</ModuleID>
            <Name>string</Name>
            <Description>string</Description>
            <ExtAppID>string</ExtAppID>
          </Function>
          <Function>
            <ModuleID>int</ModuleID>
            <Name>string</Name>
            <Description>string</Description>
            <ExtAppID>string</ExtAppID>
          </Function>
        </AllowedFunctions>
        <CurrentOrganisation>
          <OrganisationName>string</OrganisationName>
          <GMTOffset>int</GMTOffset>
          <Language>string</Language>
          <Active>boolean</Active>
          <FMWebManaged>boolean</FMWebManaged>
          <MapProviderID>string</MapProviderID>
          <CompanyID>int</CompanyID>
        </CurrentOrganisation>
        <CurrentOrganisationID>int</CurrentOrganisationID>
        <ServerGMTOffset>int</ServerGMTOffset>
      </SetCurrentOrgIDResult>
    </SetCurrentOrgIDResponse>
  </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/CoreWebSvc/CoreWS.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/Core">
      <Token>string</Token>
    </TokenHeader>
  </soap12:Header>
  <soap12:Body>
    <SetCurrentOrgID xmlns="http://www.omnibridge.com/SDKWebServices/Core">
      <NewOrganisationID>int</NewOrganisationID>
    </SetCurrentOrgID>
  </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>
    <SetCurrentOrgIDResponse xmlns="http://www.omnibridge.com/SDKWebServices/Core">
      <SetCurrentOrgIDResult>
        <LoginUser>
          <UserName>string</UserName>
          <HasAlerts>boolean</HasAlerts>
          <HasQuickLinks>boolean</HasQuickLinks>
          <DisplayName>string</DisplayName>
          <AllowedToLogin>boolean</AllowedToLogin>
          <DefaultOrgID>int</DefaultOrgID>
          <Password>string</Password>
          <Language>string</Language>
          <WorkPhone>string</WorkPhone>
          <WorkFax>string</WorkFax>
          <MobilePhone>string</MobilePhone>
          <HomePhone>string</HomePhone>
          <EMail>string</EMail>
          <Comments>string</Comments>
          <LoginExpires>boolean</LoginExpires>
          <LoginExpireDate>dateTime</LoginExpireDate>
          <ConsumptionType>VolumeUnitsPer100DistanceUnits or DistanceUnitsPerVolumeUnits or DistanceUnitsPerVolumeUnits2</ConsumptionType>
          <MeasurementType>UseDefault or Metric or Imperial or USImperial or MetresPerMinute</MeasurementType>
          <FuelCaptureVolumeType>UseDefault or Metric or Imperial or USImperial or MetresPerMinute</FuelCaptureVolumeType>
          <FuelCaptureDistanceType>UseDefault or Metric or Imperial or USImperial or MetresPerMinute</FuelCaptureDistanceType>
          <GMTOffsetInSeconds>int</GMTOffsetInSeconds>
          <GMTType>UnSet or OrganisazionGMT or RegionalGMT or DefinedGMT</GMTType>
          <ViewName>string</ViewName>
          <ViewID>string</ViewID>
          <LCID>int</LCID>
          <CurrentOrgID>int</CurrentOrgID>
          <GMTOffset />
          <View>
            <Name>string</Name>
          </View>
        </LoginUser>
        <AllowedOrganisations>
          <Organisation>
            <OrganisationName>string</OrganisationName>
            <GMTOffset>int</GMTOffset>
            <Language>string</Language>
            <Active>boolean</Active>
            <FMWebManaged>boolean</FMWebManaged>
            <MapProviderID>string</MapProviderID>
            <CompanyID>int</CompanyID>
          </Organisation>
          <Organisation>
            <OrganisationName>string</OrganisationName>
            <GMTOffset>int</GMTOffset>
            <Language>string</Language>
            <Active>boolean</Active>
            <FMWebManaged>boolean</FMWebManaged>
            <MapProviderID>string</MapProviderID>
            <CompanyID>int</CompanyID>
          </Organisation>
        </AllowedOrganisations>
        <AllowedFunctions>
          <Function>
            <ModuleID>int</ModuleID>
            <Name>string</Name>
            <Description>string</Description>
            <ExtAppID>string</ExtAppID>
          </Function>
          <Function>
            <ModuleID>int</ModuleID>
            <Name>string</Name>
            <Description>string</Description>
            <ExtAppID>string</ExtAppID>
          </Function>
        </AllowedFunctions>
        <CurrentOrganisation>
          <OrganisationName>string</OrganisationName>
          <GMTOffset>int</GMTOffset>
          <Language>string</Language>
          <Active>boolean</Active>
          <FMWebManaged>boolean</FMWebManaged>
          <MapProviderID>string</MapProviderID>
          <CompanyID>int</CompanyID>
        </CurrentOrganisation>
        <CurrentOrganisationID>int</CurrentOrganisationID>
        <ServerGMTOffset>int</ServerGMTOffset>
      </SetCurrentOrgIDResult>
    </SetCurrentOrgIDResponse>
  </soap12:Body>
</soap12:Envelope>