MFBWebService


Click here for a complete list of operations.

ModelsWithIDs

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 /logbook/Public/WebService.asmx HTTP/1.1
Host: myflightbook.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://myflightbook.com/ModelsWithIDs"

<?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>
    <ModelsWithIDs xmlns="http://myflightbook.com/">
      <szAuthToken>string</szAuthToken>
      <rgIDs>
        <int>int</int>
        <int>int</int>
      </rgIDs>
    </ModelsWithIDs>
  </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>
    <ModelsWithIDsResponse xmlns="http://myflightbook.com/">
      <ModelsWithIDsResult>
        <MakeModel>
          <AllowedTypes>Any or SimulatorOnly or SimOrAnonymous</AllowedTypes>
          <CategoryClassDisplay>string</CategoryClassDisplay>
          <ManufacturerDisplay>string</ManufacturerDisplay>
          <AvionicsTechnology>None or Glass or TAA</AvionicsTechnology>
          <ArmyMDS>string</ArmyMDS>
          <ErrorString>string</ErrorString>
          <MakeModelID>int</MakeModelID>
          <Model>string</Model>
          <ModelName>string</ModelName>
          <TypeName>string</TypeName>
          <FamilyName>string</FamilyName>
          <CategoryClassID>ASEL or AMEL or ASES or AMES or Glider or Helicopter or Gyroplane or PoweredLift or Airship or HotAirBalloon or GasBalloon or PoweredParachuteLand or PoweredParachuteSea or WeightShiftControlLand or WeightShiftControlSea or UnmannedAerialSystem or PoweredParaglider</CategoryClassID>
          <ManufacturerID>int</ManufacturerID>
          <IsComplex>boolean</IsComplex>
          <IsHighPerf>boolean</IsHighPerf>
          <Is200HP>boolean</Is200HP>
          <PerformanceType>NotHighPerf or HighPerf or Is200HP</PerformanceType>
          <IsTailWheel>boolean</IsTailWheel>
          <IsConstantProp>boolean</IsConstantProp>
          <HasFlaps>boolean</HasFlaps>
          <IsRetract>boolean</IsRetract>
          <EngineType>Piston or TurboProp or Jet or UnspecifiedTurbine or Electric</EngineType>
          <IsCertifiedSinglePilot>boolean</IsCertifiedSinglePilot>
          <IsMotorGlider>boolean</IsMotorGlider>
          <IsMultiEngineHelicopter>boolean</IsMultiEngineHelicopter>
        </MakeModel>
        <MakeModel>
          <AllowedTypes>Any or SimulatorOnly or SimOrAnonymous</AllowedTypes>
          <CategoryClassDisplay>string</CategoryClassDisplay>
          <ManufacturerDisplay>string</ManufacturerDisplay>
          <AvionicsTechnology>None or Glass or TAA</AvionicsTechnology>
          <ArmyMDS>string</ArmyMDS>
          <ErrorString>string</ErrorString>
          <MakeModelID>int</MakeModelID>
          <Model>string</Model>
          <ModelName>string</ModelName>
          <TypeName>string</TypeName>
          <FamilyName>string</FamilyName>
          <CategoryClassID>ASEL or AMEL or ASES or AMES or Glider or Helicopter or Gyroplane or PoweredLift or Airship or HotAirBalloon or GasBalloon or PoweredParachuteLand or PoweredParachuteSea or WeightShiftControlLand or WeightShiftControlSea or UnmannedAerialSystem or PoweredParaglider</CategoryClassID>
          <ManufacturerID>int</ManufacturerID>
          <IsComplex>boolean</IsComplex>
          <IsHighPerf>boolean</IsHighPerf>
          <Is200HP>boolean</Is200HP>
          <PerformanceType>NotHighPerf or HighPerf or Is200HP</PerformanceType>
          <IsTailWheel>boolean</IsTailWheel>
          <IsConstantProp>boolean</IsConstantProp>
          <HasFlaps>boolean</HasFlaps>
          <IsRetract>boolean</IsRetract>
          <EngineType>Piston or TurboProp or Jet or UnspecifiedTurbine or Electric</EngineType>
          <IsCertifiedSinglePilot>boolean</IsCertifiedSinglePilot>
          <IsMotorGlider>boolean</IsMotorGlider>
          <IsMultiEngineHelicopter>boolean</IsMultiEngineHelicopter>
        </MakeModel>
      </ModelsWithIDsResult>
    </ModelsWithIDsResponse>
  </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 /logbook/Public/WebService.asmx HTTP/1.1
Host: myflightbook.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>
    <ModelsWithIDs xmlns="http://myflightbook.com/">
      <szAuthToken>string</szAuthToken>
      <rgIDs>
        <int>int</int>
        <int>int</int>
      </rgIDs>
    </ModelsWithIDs>
  </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>
    <ModelsWithIDsResponse xmlns="http://myflightbook.com/">
      <ModelsWithIDsResult>
        <MakeModel>
          <AllowedTypes>Any or SimulatorOnly or SimOrAnonymous</AllowedTypes>
          <CategoryClassDisplay>string</CategoryClassDisplay>
          <ManufacturerDisplay>string</ManufacturerDisplay>
          <AvionicsTechnology>None or Glass or TAA</AvionicsTechnology>
          <ArmyMDS>string</ArmyMDS>
          <ErrorString>string</ErrorString>
          <MakeModelID>int</MakeModelID>
          <Model>string</Model>
          <ModelName>string</ModelName>
          <TypeName>string</TypeName>
          <FamilyName>string</FamilyName>
          <CategoryClassID>ASEL or AMEL or ASES or AMES or Glider or Helicopter or Gyroplane or PoweredLift or Airship or HotAirBalloon or GasBalloon or PoweredParachuteLand or PoweredParachuteSea or WeightShiftControlLand or WeightShiftControlSea or UnmannedAerialSystem or PoweredParaglider</CategoryClassID>
          <ManufacturerID>int</ManufacturerID>
          <IsComplex>boolean</IsComplex>
          <IsHighPerf>boolean</IsHighPerf>
          <Is200HP>boolean</Is200HP>
          <PerformanceType>NotHighPerf or HighPerf or Is200HP</PerformanceType>
          <IsTailWheel>boolean</IsTailWheel>
          <IsConstantProp>boolean</IsConstantProp>
          <HasFlaps>boolean</HasFlaps>
          <IsRetract>boolean</IsRetract>
          <EngineType>Piston or TurboProp or Jet or UnspecifiedTurbine or Electric</EngineType>
          <IsCertifiedSinglePilot>boolean</IsCertifiedSinglePilot>
          <IsMotorGlider>boolean</IsMotorGlider>
          <IsMultiEngineHelicopter>boolean</IsMultiEngineHelicopter>
        </MakeModel>
        <MakeModel>
          <AllowedTypes>Any or SimulatorOnly or SimOrAnonymous</AllowedTypes>
          <CategoryClassDisplay>string</CategoryClassDisplay>
          <ManufacturerDisplay>string</ManufacturerDisplay>
          <AvionicsTechnology>None or Glass or TAA</AvionicsTechnology>
          <ArmyMDS>string</ArmyMDS>
          <ErrorString>string</ErrorString>
          <MakeModelID>int</MakeModelID>
          <Model>string</Model>
          <ModelName>string</ModelName>
          <TypeName>string</TypeName>
          <FamilyName>string</FamilyName>
          <CategoryClassID>ASEL or AMEL or ASES or AMES or Glider or Helicopter or Gyroplane or PoweredLift or Airship or HotAirBalloon or GasBalloon or PoweredParachuteLand or PoweredParachuteSea or WeightShiftControlLand or WeightShiftControlSea or UnmannedAerialSystem or PoweredParaglider</CategoryClassID>
          <ManufacturerID>int</ManufacturerID>
          <IsComplex>boolean</IsComplex>
          <IsHighPerf>boolean</IsHighPerf>
          <Is200HP>boolean</Is200HP>
          <PerformanceType>NotHighPerf or HighPerf or Is200HP</PerformanceType>
          <IsTailWheel>boolean</IsTailWheel>
          <IsConstantProp>boolean</IsConstantProp>
          <HasFlaps>boolean</HasFlaps>
          <IsRetract>boolean</IsRetract>
          <EngineType>Piston or TurboProp or Jet or UnspecifiedTurbine or Electric</EngineType>
          <IsCertifiedSinglePilot>boolean</IsCertifiedSinglePilot>
          <IsMotorGlider>boolean</IsMotorGlider>
          <IsMultiEngineHelicopter>boolean</IsMultiEngineHelicopter>
        </MakeModel>
      </ModelsWithIDsResult>
    </ModelsWithIDsResponse>
  </soap12:Body>
</soap12:Envelope>