MFBWebService


Click here for a complete list of operations.

TotalsForUser

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

<?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>
    <TotalsForUser xmlns="http://myflightbook.com/">
      <szAuthToken>string</szAuthToken>
      <dtMin>dateTime</dtMin>
    </TotalsForUser>
  </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>
    <TotalsForUserResponse xmlns="http://myflightbook.com/">
      <TotalsForUserResult>
        <TotalsItem>
          <Value>decimal</Value>
          <Description>string</Description>
          <SubDescription>string</SubDescription>
          <NumericType>Integer or Decimal or Time or Currency</NumericType>
          <IsInt>boolean</IsInt>
          <IsTime>boolean</IsTime>
          <IsCurrency>boolean</IsCurrency>
          <Query>
            <DateRange>AllTime or YTD or Tailing6Months or Trailing12Months or ThisMonth or PrevMonth or PrevYear or Trailing30 or Trailing90 or Custom</DateRange>
            <Distance>AllFlights or LocalOnly or NonLocalOnly</Distance>
            <CatClasses xsi:nil="true" />
            <PropertyTypes xsi:nil="true" />
            <UserName>string</UserName>
            <IsPublic>boolean</IsPublic>
            <HasNightLandings>boolean</HasNightLandings>
            <HasFullStopLandings>boolean</HasFullStopLandings>
            <HasLandings>boolean</HasLandings>
            <HasApproaches>boolean</HasApproaches>
            <HasHolds>boolean</HasHolds>
            <HasXC>boolean</HasXC>
            <HasSimIMCTime>boolean</HasSimIMCTime>
            <HasGroundSim>boolean</HasGroundSim>
            <HasIMC>boolean</HasIMC>
            <HasAnyInstrument>boolean</HasAnyInstrument>
            <HasNight>boolean</HasNight>
            <HasDual>boolean</HasDual>
            <HasCFI>boolean</HasCFI>
            <HasSIC>boolean</HasSIC>
            <HasPIC>boolean</HasPIC>
            <HasTotalTime>boolean</HasTotalTime>
            <IsSigned>boolean</IsSigned>
            <DateMin>dateTime</DateMin>
            <DateMax>dateTime</DateMax>
            <GeneralText>string</GeneralText>
            <AircraftList xsi:nil="true" />
            <AirportList xsi:nil="true" />
            <MakeList xsi:nil="true" />
            <ModelName>string</ModelName>
            <TypeNames xsi:nil="true" />
            <IsComplex>boolean</IsComplex>
            <HasFlaps>boolean</HasFlaps>
            <IsHighPerformance>boolean</IsHighPerformance>
            <IsConstantSpeedProp>boolean</IsConstantSpeedProp>
            <IsRetract>boolean</IsRetract>
            <IsTechnicallyAdvanced>boolean</IsTechnicallyAdvanced>
            <IsGlass>boolean</IsGlass>
            <IsTailwheel>boolean</IsTailwheel>
            <EngineType>AllEngines or Piston or Jet or Turboprop or AnyTurbine or Electric</EngineType>
            <IsMultiEngineHeli>boolean</IsMultiEngineHeli>
            <IsTurbine>boolean</IsTurbine>
            <HasTelemetry>boolean</HasTelemetry>
            <HasImages>boolean</HasImages>
            <IsMotorglider>boolean</IsMotorglider>
            <AircraftInstanceTypes>AllAircraft or RealOnly or TrainingOnly</AircraftInstanceTypes>
          </Query>
        </TotalsItem>
        <TotalsItem>
          <Value>decimal</Value>
          <Description>string</Description>
          <SubDescription>string</SubDescription>
          <NumericType>Integer or Decimal or Time or Currency</NumericType>
          <IsInt>boolean</IsInt>
          <IsTime>boolean</IsTime>
          <IsCurrency>boolean</IsCurrency>
          <Query>
            <DateRange>AllTime or YTD or Tailing6Months or Trailing12Months or ThisMonth or PrevMonth or PrevYear or Trailing30 or Trailing90 or Custom</DateRange>
            <Distance>AllFlights or LocalOnly or NonLocalOnly</Distance>
            <CatClasses xsi:nil="true" />
            <PropertyTypes xsi:nil="true" />
            <UserName>string</UserName>
            <IsPublic>boolean</IsPublic>
            <HasNightLandings>boolean</HasNightLandings>
            <HasFullStopLandings>boolean</HasFullStopLandings>
            <HasLandings>boolean</HasLandings>
            <HasApproaches>boolean</HasApproaches>
            <HasHolds>boolean</HasHolds>
            <HasXC>boolean</HasXC>
            <HasSimIMCTime>boolean</HasSimIMCTime>
            <HasGroundSim>boolean</HasGroundSim>
            <HasIMC>boolean</HasIMC>
            <HasAnyInstrument>boolean</HasAnyInstrument>
            <HasNight>boolean</HasNight>
            <HasDual>boolean</HasDual>
            <HasCFI>boolean</HasCFI>
            <HasSIC>boolean</HasSIC>
            <HasPIC>boolean</HasPIC>
            <HasTotalTime>boolean</HasTotalTime>
            <IsSigned>boolean</IsSigned>
            <DateMin>dateTime</DateMin>
            <DateMax>dateTime</DateMax>
            <GeneralText>string</GeneralText>
            <AircraftList xsi:nil="true" />
            <AirportList xsi:nil="true" />
            <MakeList xsi:nil="true" />
            <ModelName>string</ModelName>
            <TypeNames xsi:nil="true" />
            <IsComplex>boolean</IsComplex>
            <HasFlaps>boolean</HasFlaps>
            <IsHighPerformance>boolean</IsHighPerformance>
            <IsConstantSpeedProp>boolean</IsConstantSpeedProp>
            <IsRetract>boolean</IsRetract>
            <IsTechnicallyAdvanced>boolean</IsTechnicallyAdvanced>
            <IsGlass>boolean</IsGlass>
            <IsTailwheel>boolean</IsTailwheel>
            <EngineType>AllEngines or Piston or Jet or Turboprop or AnyTurbine or Electric</EngineType>
            <IsMultiEngineHeli>boolean</IsMultiEngineHeli>
            <IsTurbine>boolean</IsTurbine>
            <HasTelemetry>boolean</HasTelemetry>
            <HasImages>boolean</HasImages>
            <IsMotorglider>boolean</IsMotorglider>
            <AircraftInstanceTypes>AllAircraft or RealOnly or TrainingOnly</AircraftInstanceTypes>
          </Query>
        </TotalsItem>
      </TotalsForUserResult>
    </TotalsForUserResponse>
  </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>
    <TotalsForUser xmlns="http://myflightbook.com/">
      <szAuthToken>string</szAuthToken>
      <dtMin>dateTime</dtMin>
    </TotalsForUser>
  </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>
    <TotalsForUserResponse xmlns="http://myflightbook.com/">
      <TotalsForUserResult>
        <TotalsItem>
          <Value>decimal</Value>
          <Description>string</Description>
          <SubDescription>string</SubDescription>
          <NumericType>Integer or Decimal or Time or Currency</NumericType>
          <IsInt>boolean</IsInt>
          <IsTime>boolean</IsTime>
          <IsCurrency>boolean</IsCurrency>
          <Query>
            <DateRange>AllTime or YTD or Tailing6Months or Trailing12Months or ThisMonth or PrevMonth or PrevYear or Trailing30 or Trailing90 or Custom</DateRange>
            <Distance>AllFlights or LocalOnly or NonLocalOnly</Distance>
            <CatClasses xsi:nil="true" />
            <PropertyTypes xsi:nil="true" />
            <UserName>string</UserName>
            <IsPublic>boolean</IsPublic>
            <HasNightLandings>boolean</HasNightLandings>
            <HasFullStopLandings>boolean</HasFullStopLandings>
            <HasLandings>boolean</HasLandings>
            <HasApproaches>boolean</HasApproaches>
            <HasHolds>boolean</HasHolds>
            <HasXC>boolean</HasXC>
            <HasSimIMCTime>boolean</HasSimIMCTime>
            <HasGroundSim>boolean</HasGroundSim>
            <HasIMC>boolean</HasIMC>
            <HasAnyInstrument>boolean</HasAnyInstrument>
            <HasNight>boolean</HasNight>
            <HasDual>boolean</HasDual>
            <HasCFI>boolean</HasCFI>
            <HasSIC>boolean</HasSIC>
            <HasPIC>boolean</HasPIC>
            <HasTotalTime>boolean</HasTotalTime>
            <IsSigned>boolean</IsSigned>
            <DateMin>dateTime</DateMin>
            <DateMax>dateTime</DateMax>
            <GeneralText>string</GeneralText>
            <AircraftList xsi:nil="true" />
            <AirportList xsi:nil="true" />
            <MakeList xsi:nil="true" />
            <ModelName>string</ModelName>
            <TypeNames xsi:nil="true" />
            <IsComplex>boolean</IsComplex>
            <HasFlaps>boolean</HasFlaps>
            <IsHighPerformance>boolean</IsHighPerformance>
            <IsConstantSpeedProp>boolean</IsConstantSpeedProp>
            <IsRetract>boolean</IsRetract>
            <IsTechnicallyAdvanced>boolean</IsTechnicallyAdvanced>
            <IsGlass>boolean</IsGlass>
            <IsTailwheel>boolean</IsTailwheel>
            <EngineType>AllEngines or Piston or Jet or Turboprop or AnyTurbine or Electric</EngineType>
            <IsMultiEngineHeli>boolean</IsMultiEngineHeli>
            <IsTurbine>boolean</IsTurbine>
            <HasTelemetry>boolean</HasTelemetry>
            <HasImages>boolean</HasImages>
            <IsMotorglider>boolean</IsMotorglider>
            <AircraftInstanceTypes>AllAircraft or RealOnly or TrainingOnly</AircraftInstanceTypes>
          </Query>
        </TotalsItem>
        <TotalsItem>
          <Value>decimal</Value>
          <Description>string</Description>
          <SubDescription>string</SubDescription>
          <NumericType>Integer or Decimal or Time or Currency</NumericType>
          <IsInt>boolean</IsInt>
          <IsTime>boolean</IsTime>
          <IsCurrency>boolean</IsCurrency>
          <Query>
            <DateRange>AllTime or YTD or Tailing6Months or Trailing12Months or ThisMonth or PrevMonth or PrevYear or Trailing30 or Trailing90 or Custom</DateRange>
            <Distance>AllFlights or LocalOnly or NonLocalOnly</Distance>
            <CatClasses xsi:nil="true" />
            <PropertyTypes xsi:nil="true" />
            <UserName>string</UserName>
            <IsPublic>boolean</IsPublic>
            <HasNightLandings>boolean</HasNightLandings>
            <HasFullStopLandings>boolean</HasFullStopLandings>
            <HasLandings>boolean</HasLandings>
            <HasApproaches>boolean</HasApproaches>
            <HasHolds>boolean</HasHolds>
            <HasXC>boolean</HasXC>
            <HasSimIMCTime>boolean</HasSimIMCTime>
            <HasGroundSim>boolean</HasGroundSim>
            <HasIMC>boolean</HasIMC>
            <HasAnyInstrument>boolean</HasAnyInstrument>
            <HasNight>boolean</HasNight>
            <HasDual>boolean</HasDual>
            <HasCFI>boolean</HasCFI>
            <HasSIC>boolean</HasSIC>
            <HasPIC>boolean</HasPIC>
            <HasTotalTime>boolean</HasTotalTime>
            <IsSigned>boolean</IsSigned>
            <DateMin>dateTime</DateMin>
            <DateMax>dateTime</DateMax>
            <GeneralText>string</GeneralText>
            <AircraftList xsi:nil="true" />
            <AirportList xsi:nil="true" />
            <MakeList xsi:nil="true" />
            <ModelName>string</ModelName>
            <TypeNames xsi:nil="true" />
            <IsComplex>boolean</IsComplex>
            <HasFlaps>boolean</HasFlaps>
            <IsHighPerformance>boolean</IsHighPerformance>
            <IsConstantSpeedProp>boolean</IsConstantSpeedProp>
            <IsRetract>boolean</IsRetract>
            <IsTechnicallyAdvanced>boolean</IsTechnicallyAdvanced>
            <IsGlass>boolean</IsGlass>
            <IsTailwheel>boolean</IsTailwheel>
            <EngineType>AllEngines or Piston or Jet or Turboprop or AnyTurbine or Electric</EngineType>
            <IsMultiEngineHeli>boolean</IsMultiEngineHeli>
            <IsTurbine>boolean</IsTurbine>
            <HasTelemetry>boolean</HasTelemetry>
            <HasImages>boolean</HasImages>
            <IsMotorglider>boolean</IsMotorglider>
            <AircraftInstanceTypes>AllAircraft or RealOnly or TrainingOnly</AircraftInstanceTypes>
          </Query>
        </TotalsItem>
      </TotalsForUserResult>
    </TotalsForUserResponse>
  </soap12:Body>
</soap12:Envelope>