MFBWebService


Click here for a complete list of operations.

GetCurrencyForUser

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

<?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>
    <GetCurrencyForUser xmlns="http://myflightbook.com/">
      <szAuthToken>string</szAuthToken>
    </GetCurrencyForUser>
  </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>
    <GetCurrencyForUserResponse xmlns="http://myflightbook.com/">
      <GetCurrencyForUserResult>
        <CurrencyStatusItem>
          <Attribute>string</Attribute>
          <Value>string</Value>
          <Status>NotCurrent or GettingClose or OK or NoDate</Status>
          <Discrepancy>string</Discrepancy>
          <AssociatedResourceID>int</AssociatedResourceID>
          <CurrencyGroup>None or FlightExperience or FlightReview or Aircraft or AircraftDeadline or Certificates or Medical or Deadline or CustomCurrency</CurrencyGroup>
          <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" />
            <PropertiesConjunction>Any or All or None</PropertiesConjunction>
            <UserName>string</UserName>
            <IsPublic>boolean</IsPublic>
            <FlightCharacteristicsConjunction>Any or All or None</FlightCharacteristicsConjunction>
            <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>
        </CurrencyStatusItem>
        <CurrencyStatusItem>
          <Attribute>string</Attribute>
          <Value>string</Value>
          <Status>NotCurrent or GettingClose or OK or NoDate</Status>
          <Discrepancy>string</Discrepancy>
          <AssociatedResourceID>int</AssociatedResourceID>
          <CurrencyGroup>None or FlightExperience or FlightReview or Aircraft or AircraftDeadline or Certificates or Medical or Deadline or CustomCurrency</CurrencyGroup>
          <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" />
            <PropertiesConjunction>Any or All or None</PropertiesConjunction>
            <UserName>string</UserName>
            <IsPublic>boolean</IsPublic>
            <FlightCharacteristicsConjunction>Any or All or None</FlightCharacteristicsConjunction>
            <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>
        </CurrencyStatusItem>
      </GetCurrencyForUserResult>
    </GetCurrencyForUserResponse>
  </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>
    <GetCurrencyForUser xmlns="http://myflightbook.com/">
      <szAuthToken>string</szAuthToken>
    </GetCurrencyForUser>
  </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>
    <GetCurrencyForUserResponse xmlns="http://myflightbook.com/">
      <GetCurrencyForUserResult>
        <CurrencyStatusItem>
          <Attribute>string</Attribute>
          <Value>string</Value>
          <Status>NotCurrent or GettingClose or OK or NoDate</Status>
          <Discrepancy>string</Discrepancy>
          <AssociatedResourceID>int</AssociatedResourceID>
          <CurrencyGroup>None or FlightExperience or FlightReview or Aircraft or AircraftDeadline or Certificates or Medical or Deadline or CustomCurrency</CurrencyGroup>
          <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" />
            <PropertiesConjunction>Any or All or None</PropertiesConjunction>
            <UserName>string</UserName>
            <IsPublic>boolean</IsPublic>
            <FlightCharacteristicsConjunction>Any or All or None</FlightCharacteristicsConjunction>
            <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>
        </CurrencyStatusItem>
        <CurrencyStatusItem>
          <Attribute>string</Attribute>
          <Value>string</Value>
          <Status>NotCurrent or GettingClose or OK or NoDate</Status>
          <Discrepancy>string</Discrepancy>
          <AssociatedResourceID>int</AssociatedResourceID>
          <CurrencyGroup>None or FlightExperience or FlightReview or Aircraft or AircraftDeadline or Certificates or Medical or Deadline or CustomCurrency</CurrencyGroup>
          <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" />
            <PropertiesConjunction>Any or All or None</PropertiesConjunction>
            <UserName>string</UserName>
            <IsPublic>boolean</IsPublic>
            <FlightCharacteristicsConjunction>Any or All or None</FlightCharacteristicsConjunction>
            <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>
        </CurrencyStatusItem>
      </GetCurrencyForUserResult>
    </GetCurrencyForUserResponse>
  </soap12:Body>
</soap12:Envelope>