TpaDefaultPlanService


Click here for a complete list of operations.

GetDefaultPlan

This method is used to add an Administrator's default plan design information from BPS.

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 /MBIWebServices/Tpa/Services/TpaDefaultPlanService.asmx HTTP/1.1
Host: www.mbibeta.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.medibank.com/MBIWebServices/Tpa/Services/TpaDefaultPlan/2004/06/GetDefaultPlan"

<?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>
    <MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
      <MBISessionID>string</MBISessionID>
    </MBISessionHeader>
  </soap:Header>
  <soap:Body>
    <GetDefaultPlan xmlns="http://www.medibank.com/MBIWebServices/Tpa/Messages/TpaDefaultPlan/Request/2004/06/">
      <getDefaultPlanRequest>
        <TpaId>string</TpaId>
        <AccountTypeCode>string</AccountTypeCode>
        <VerboseMode>boolean</VerboseMode>
      </getDefaultPlanRequest>
    </GetDefaultPlan>
  </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:Header>
    <MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
      <MessageId>string</MessageId>
    </MBIMessageIdHeader>
  </soap:Header>
  <soap:Body>
    <GetDefaultPlanResponse xmlns="http://www.medibank.com/MBIWebServices/Tpa/Messages/TpaDefaultPlan/Response/2004/06/">
      <GetDefaultPlanResult>
        <AccountTypeCode>string</AccountTypeCode>
        <ConvenienceFeeAmount>decimal</ConvenienceFeeAmount>
        <ConvenienceFeePayor xmlns="http://www.medibank.com/MBIWebServices/Enums/">None or Tpa or Employer or Employee</ConvenienceFeePayor>
        <GracePeriodEndDate>string</GracePeriodEndDate>
        <SpendingLimitPeriod xmlns="http://www.medibank.com/MBIWebServices/Enums/">None or Month or Year or Quarter</SpendingLimitPeriod>
        <SpendingDepositAmount>decimal</SpendingDepositAmount>
        <SpendingTransactionAmount>decimal</SpendingTransactionAmount>
        <PayCycleTypeCode xmlns="http://www.medibank.com/MBIWebServices/Enums/">NoAutoDeposit or Annual or BiWeekly or Monthly or SemiMonthly or Weekly or Quarterly</PayCycleTypeCode>
        <MaxTransactionAmount>decimal</MaxTransactionAmount>
        <MaxTotalAmount>decimal</MaxTotalAmount>
        <PlanYearStartDate>string</PlanYearStartDate>
        <PlanYearEndDate>string</PlanYearEndDate>
        <TpaId>string</TpaId>
      </GetDefaultPlanResult>
    </GetDefaultPlanResponse>
  </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 /MBIWebServices/Tpa/Services/TpaDefaultPlanService.asmx HTTP/1.1
Host: www.mbibeta.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>
    <MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
      <MBISessionID>string</MBISessionID>
    </MBISessionHeader>
  </soap12:Header>
  <soap12:Body>
    <GetDefaultPlan xmlns="http://www.medibank.com/MBIWebServices/Tpa/Messages/TpaDefaultPlan/Request/2004/06/">
      <getDefaultPlanRequest>
        <TpaId>string</TpaId>
        <AccountTypeCode>string</AccountTypeCode>
        <VerboseMode>boolean</VerboseMode>
      </getDefaultPlanRequest>
    </GetDefaultPlan>
  </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:Header>
    <MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
      <MessageId>string</MessageId>
    </MBIMessageIdHeader>
  </soap12:Header>
  <soap12:Body>
    <GetDefaultPlanResponse xmlns="http://www.medibank.com/MBIWebServices/Tpa/Messages/TpaDefaultPlan/Response/2004/06/">
      <GetDefaultPlanResult>
        <AccountTypeCode>string</AccountTypeCode>
        <ConvenienceFeeAmount>decimal</ConvenienceFeeAmount>
        <ConvenienceFeePayor xmlns="http://www.medibank.com/MBIWebServices/Enums/">None or Tpa or Employer or Employee</ConvenienceFeePayor>
        <GracePeriodEndDate>string</GracePeriodEndDate>
        <SpendingLimitPeriod xmlns="http://www.medibank.com/MBIWebServices/Enums/">None or Month or Year or Quarter</SpendingLimitPeriod>
        <SpendingDepositAmount>decimal</SpendingDepositAmount>
        <SpendingTransactionAmount>decimal</SpendingTransactionAmount>
        <PayCycleTypeCode xmlns="http://www.medibank.com/MBIWebServices/Enums/">NoAutoDeposit or Annual or BiWeekly or Monthly or SemiMonthly or Weekly or Quarterly</PayCycleTypeCode>
        <MaxTransactionAmount>decimal</MaxTransactionAmount>
        <MaxTotalAmount>decimal</MaxTotalAmount>
        <PlanYearStartDate>string</PlanYearStartDate>
        <PlanYearEndDate>string</PlanYearEndDate>
        <TpaId>string</TpaId>
      </GetDefaultPlanResult>
    </GetDefaultPlanResponse>
  </soap12:Body>
</soap12:Envelope>