Employer HRA Plan API | Administrative - SOAP

The Employer HRA Plan Service provides functionality for reading, adding, updating, and deleting employers' plan information.

Service Web Methods

The following is a list of methods provided by the Employer HRA Plan Service.

Service Assumptions/Business Rules

The Employer HRA Plan Service makes the following assumptions as well as enforce the following business rules.

  • Clients shall conform to the WS-I specifications unless otherwise agreed upon by Alegeus Technologies and the administrator
  • Clients shall format SOAP messages in a Document/Literal format over HTTPS
  • Clients shall have already created a valid user ID and password.
  • Clients shall have a valid session ID after being authenticated by the system. The session ID needs to be passed in the proper manner as described in the Account Manager Service Guide.
  • If the administrator uses the same user ID and password for all of their clients, the administrator is responsible for managing the security of the data.
  • Clients should validate data before submitting a request to this Service. This facilitates better performance and accurate processing on both systems.
  • Clients shall not attempt to use this service for batch processing of large amounts of data. The service is designed for synchronous calls that send or retrieve small chunks of data. If batch processing is required, then the EDI process should be used.
  • If any method fails, the service returns a SOAP fault describing the problem.
  • The Employer HRA Plan Service is intended to be used only by non-split plan administrators.

AddEmployerHRAPlan

This method is used to add an employer’s plan information.

History

The AddEmployerHRAPlan methods are listed below:

Request Message

  • AddEmployerHRAPlanRequest_2012_06
  • AddEmployerHRAPlanRequest

Response Message

  • AddEmployerHRAPlanResponse

AddEmployerHRAPlan Request/Response Messages

The AddEmployerHRAPlan method requires the following request and response messages (input and output data).

The table below includes the following request messages:

  • AddEmployerHRAPlanRequest_2012_06
  • AddEmployerHRAPlanRequest

Request Body

  • TpaId String required
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version: AddEmployerHRAPlanRequest
  • EmployerId String required
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version: AddEmployerHRAPlanRequest
    Max Length: 18
  • PlanId String required
    Unique Identifier to distinguish this plan from others within the administrator.
    First Available Version: AddEmployerHRAPlanRequest
    Max Length: 18
  • AccountTypeCode String required
    Three character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, and so on.)
    First Available Version: AddEmployerHRAPlanRequest
  • PlanYearStartDate Date required
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: AddEmployerHRAPlanRequest
  • PlanYearEndDate Date required
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: AddEmployerHRAPlanRequest
  • GracePeriodEndDate Date required
    Date the grace period ends for this account type. After this date, a warning displays when transactions are applied to this account type.
    First Available Version: AddEmployerHRAPlanRequest
  • SpendingLimitPeriod Enumeration
    Determines if this account type uses spending limits. Spending limits restricts the amount of money that can be deposited into or withdrawn from an account on a monthly or yearly basis.
    0 = No spending limit
    1 = Monthly Limit
    2 = Yearly (Calendar) Limit
    Note 1: This field can be set only when the account is created; it cannot be updated.
    Note 2: If this field is set to 1 or 2, the field, Spending Deposit Amount, or the field Spending. Transaction Amount, is required. Note 3: Leave this field blank if the plan is an HRA.
    Note 4: Setting the Spending Limit is a point-in-time event and affects only transactions after that point-in time. It is not retroactive.
    Note5: Setting a spending limit period of Yearly is based off the Calendar Year, not the Plan year as specified in the Plan Start and End Date Fields.
    Note 6: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive. The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: None
  • SpendingDepositAmount Decimal
    Maximum amount that can be deposited to this account during the spending limit period.
    ** Required if the field, Spending Limit Period, is set to 1 or 2.
    Note 1: Leave blank if the plan is an HRX.
    Note 2: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive. The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: AddEmployerHRAPlanRequest
  • SpendingTransactionAmount Decimal
    Maximum amount that can be disbursed from this account during the spending limit period. ** Required if the field, Spending Limit Period, is set to 1 or 2.
    Note 1: Leave blank if the plan is an HRX.
    Note 2: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive.The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: AddEmployerHRAPlanRequest
  • AllowPartialManualTransaction Boolean
    Previously, manual claims submitted to an account that had insufficient funds to pay the claim in full were denied. If the benefit plan allowed manual claims to be partially paid (to reduce the balance in the account to zero) the system would automatically generate a second claim for the exact amount remaining in the account.
    With WCA 5.0.00, claims submitted, which cannot be paid in full, now create a single transaction with the amount that could be approved and the amount that was denied for low funds.
    0 = Deny manual transactions if the entire amount is not available. (Default)
    1 = Pay what is left in the account toward manual transactions.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: FALSE
  • AutoDepositBypass Boolean
    Flag to enable or disable auto deposits.
    0 = Enables auto deposits and catches up on any that were missed while the flag was set to 1.
    1 = Disables any future scheduled auto deposits.
    Note: Leave blank if this is an HRA.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: FALSE
  • PayCycleTypeCode Enumeration
    Flag to enable or disable auto deposits.
    0 = Enables auto deposits and catches up on any that were missed while the flag was set to 1.
    1 = Disables any future scheduled auto deposits.
    Note: Leave blank if this is an HRA.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: 1 - NoAutoDeposit
  • ConvenienceFeePayor Enumeration
    Note: Setting this field has no impact. Convenience fee functionality was decommissioned.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: None
  • ConvenienceFeeAmount Decimal
    Note: Setting this field has no impact. Convenience fee functionality was decommissioned.
    First Available Version: AddEmployerHRAPlanRequest
    Max Length: 10
  • MaxTransactionAmount Decimal
    Maximum amount allowed per transaction.
    First Available Version: AddEmployerHRAPlanRequest
    Max Length: 10
  • MaxTotalAmount Decimal
    Maximum amount allowed for the duration of the plan.
    Note: Leave blank for HRA plans.
    First Available Version: AddEmployerHRAPlanRequest
    Max Length: 10
  • DefaultPlanOptions Integer
    Determines whether default plan or MCC values are applied to the plan.
    0 = None (Default)
    1 = Plan
    2 = MCC
    4 = Life Event Balance Management
    8 = Enable Coverage Tiers
    16 = Enable Special Deposit
    32 = Service Category
    64 = Manual Claim Percent Coverage
    128 = Enable Deductible
    256 = Hide Plan From Participant To use only the WCA default MCCs, enter 0 or 1.
    To use the default MCCs for a plan and the default WCA MCCs, enter 3 (1 + 2).
    Note 1: This field is recognized only when you first create the plan.
    Note 2: You can also create default plans and sets of MCCs through the WCA user interface (UI) on the Administrator tab.
    Note 3: Leave blank if this plan is an HRA. You cannot create default plans for HRAs.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: 0
  • RolloverPlan Boolean
    Determines whether a plan rolls over to the next plan period.
    0 = Do not rollover. (Default)
    1 = Rollover. If a prior plan, matching the requirements, is found, the system can be set to copy the attributes of the prior plan to the new plan. Attributes to copy include: MCC codes, TPS settings, Exceptions, and Plan co-pays. If Exceptions are selected to roll, the system rolls only active exceptions.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: FALSE
  • RolloverPlanAttributes Enumeration
    Attributes or characteristics of the plan to roll over to the next plan period.
    4 = Merchant Type Codes
    8 = Plan Design Exceptions
    16 = Merchant Exceptions
    32 = Terminal Exceptions
    64 = Co-Pay Amounts for Auto-Review
    128 = TPS Setup
    Note 1: If the field, Plan Rollover, is set to 1 = Yes and the field, Plan Rollover Attributes, are blank, WCA rolls over MCC codes and TPS settings only.
    Note 2: Enter a sum value to roll over multiple attributes. For example, to roll over MCCs and Co-Pay Amounts for Auto Review, enter 68 (4+64)
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: -1
  • HraType Enumeration
    Type of full-featured HRA.
    1 = Individual/Family
    2 = Single Fund
    ** This field is required only if the plan is a full-featured HRA. Leave blank for all other plan types.
    First Available Version: AddEmployerHRAPlanRequest
  • FundRollover Boolean
    Determines whether HRA funds can roll over to the next period.
    0 = No. Ignores remaining rollover fields.
    1 = Yes. Rolls any remaining funds in the current period to pay for services in the next plan period.
    Note 1: If you specify Yes, you must manually roll over the HRA to the next plan period or create a new HRA with the same ID. Note 2: Leave blank if this plan is not a full-featured HRA.
    First Available Version: AddEmployerHRAPlanRequest
  • FundRolloverOwner Enumeration
    Determines whether WCA or your software calculates the rollover amount.
    0 = Not Calculated(None)
    1 = WCA (Default)
    2 = Administrator Software
    Note: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: None
  • FundRolloverStatus Enumeration
    FundRolloverStatus:
    NotApplicable
    NotCompleted
    InProcess
    Completed
    Partial
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: NotApplicable
  • FundRolloverDate String
    Date on which funds roll over from current funds for this plan period to this rollover funds for this plan period.
    ** This field is required if HRA Fund Roll over is set to 1 = Yes.
    Note 1: This date must be within 90 days of the end date for this plan
    Note 2: If left blank, funds roll over at the end of the plan period.
    Note 3: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
  • FundRolloverType Enumeration
    Determines the type of rollover that will occur for the funds remaining in the HRA on the rollover date.
    0 = None (Default)
    1 = All
    2 = Cap
    4 = %
    8 = % up to a Cap
    Note 1: When WCA determines the rollover amount, it ensures that the total of the rollover amount and the next period’s election amount do not exceed any lifetime maximum amount or any maximum for 2 adjacent periods.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: None
  • IndividualRolloverAmount Decimal
    Maximum amount of remaining individual funds that can roll over for an individual in an Individual/Family HRA.
    Note 1: This field is ignored unless HRA Fund Rollover Type is set to 2 = Cap or 8 = % up to Cap.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
  • FamilyRollover Amount Decimal
    Maximum amount of remaining family funds in an Individual/Family HRA or total remaining funds in a Single Fund HRA that can roll over.
    Note 1: This field is ignored unless HRA Fund Rollover Type is set to 2 = Cap or 8 = % up to Cap.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
  • IndividualRolloverRate Decimal
    Percent of remaining individual funds that can roll over for an individual in an Individual/Family HRA. Note 1: This field is ignored unless the field, HRA Fund Rollover Type, is set to 4 = % or 8 = % up to Cap
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
  • FamilyRollover Rate Decimal
    Percent of remaining family funds in an Individual/Family HRA or total funds in a Single Fund HRA that can roll over.
    Note 1: This field is ignored unless the field, HRA Fund Rollover Type, is set to 4 = % or 8 = % up to Cap
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
  • IndividualLifeti Decimal
    Maximum amount of individual funds in an Individual/Family HRA that can accumulate to pay for services received during the most current plan period.
    Note 1: The rollover amount is calculated as follows: Lifetime Maximum, less the next plan’s Individual amount, less the sum of prior available rollover amounts = Individual Rollover Amount. This amount might be further restricted by a specified cap or % limitation.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
  • FamilyLifetime Decimal
    Maximum amount of individual funds in an Individual/Family HRA that can accumulate to pay for services received during the most current plan period.
    Note 1: The rollover amount is calculated as follows: Lifetime Maximum, less the next plan’s Individual amount, less the sum of prior available rollover amounts = Individual Rollover Amount. This amount might be further restricted by a specified cap or % limitation.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
  • IndividualNextPeriodMaximum Decimal
    Maximum amount of individual funds in an Individual/Family HRA that can accumulate to pay for services received during the most current plan period.
    Note 1: The rollover amount is calculated as follows: Lifetime Maximum, less the next plan’s Individual amount, less the sum of prior available rollover amounts = Individual Rollover Amount. This amount might be further restricted by a specified cap or % limitation.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
  • FamilyNextPeriodMaximum Decimal
    Amount of family funds in an Individual/Family HRA or total funds in a Single Fund HRA that can roll over; the sum of the funds for the next plan period and the rollover amount cannot exceed the Family Max or the Single Fund Max for Adjacent Plans.
    Note: Leave blank if this plan is not a full-featured HRA
    First Available Version: AddEmployerHRAPlanRequest
  • AllowRolloverFundstoOriginalPlan Boolean
    Dates of service that can be covered by the rollover funds.
    1 = Yes. Rollover funds are available for services received in the plan period of origin and in the most current plan period.
    Note 1: Rollover funds always remain with the plan period of origin. Although there can be up to 5 reachback periods, WCA can access only the 2 most recent periods for Card transactions. 0 = No. Rollover funds are available only for services received in the most current plan period.
    Note 2: Rollover funds are maintained in the N-1 plan period.
    Note 3: Leave blank if this plan is not a full-featured HRA.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: FALSE
  • RolloverReachbackPeriod Integer
    Number of plan periods available for manual and Card transactions. Funds in the specified periods are included in the calculation for the value in the Lifetime Maximum field.
    If the field, Continue to use rolled funds for dates of service in the plan period of origin, is set to 1 = Yes, you must enter one of these values for the number of plan periods: 1, 2, 3, 4, or 5.
    Rollover funds for each period selected can be used for services received within that period and for services received in the current plan period.
    Example: If you enter 2, then rollover funds from the N-1 plan period are available for services received in the N1 period and rollover funds from the N-2 plan period are available for services received in the N-2 period. In addition, the rollover funds are available for services received in the N period.
    Note 1: Even if you enter more than two reach-back periods, WCA can access only two reach-back periods for Card transactions.
    Note 2: Rollover funds stay with their respective plan periods. Any constraints for a plan in a specific period continue to apply to the usage of the Rollover Funds for that period. If the field, Continue to use rolled funds for dates of service in the plan period of origin, is set to 2 = No, you can enter one of these values: 1 = Rollover funds from the previous period can be used only for services received in the current period. Any rollover funds beyond the N-1 plan period are not available for services received in the current plan period. 5 (Unlimited) = Funds in the N-2 plan period are added to funds rolled over for the N-1 plan period and are available only for services received during the most current plan period.
    Note 3: For these two options, all rollover funds for each period accumulate in a single rollover bucket maintained in the N-1 plan period. Any constraints in the N-1 Plan Period apply to the usage of these Rollover Funds.
    Note 4: Leave this field blank if this plan is not a full-featured HRA.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: 0
  • FundRolloverPriorityType Enumeration
    FundRolloverPriorityType:
    None
    FIFO-First In First Out
    LIFO-Last In First Out
    First Available Version: AddEmployerHRAPlanRequest
  • RolloverImplementationType Integer
    Determines the type of rollover that occurs for the funds remaining in the HRA on the rollover date. The choices are All Funds, Cap, %, or % up to a Cap. Note: When WCA determines the rollover amount, it ensures that the total of the rollover amount and the next or period's election amount do not exceed any lifetime maximum.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: 0
  • PlanYearExtendedEndDate Date
    N/A – not utilized by HRX plan types.
    First Available Version: AddEmployerHRAPlanRequest
  • OtherDepositSubTypeIds String
    If the plan option field allows other (special) deposits, then data entered in the ‘other (special) deposit subtypes allowed field’ will be captured and processed.
    If the plan options field DOES NOT allow other (special) deposits, then data entered in the ‘other (special) deposit subtypes allowed’ field will be ignored.
    The other (special) deposit subtypes allowed field will be used to provide a list of other deposit sub type ids that are mapped to a plan. These sub types allow special deposit transactions to be made to a plan. These identifiers can be either separated by symbol or : (delimiters)
    First Available Version: AddEmployerHRAPlanRequest
  • AllowAutoReimbSettings Integer
    Use this field to indicate whether or not the plan will allow auto pay provider reimbursements.
    1. = No (Default)=Yes
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: 0
  • AutoReimbParticipantDefault Integer conditionally required
    This field will specify a default account setting for participants enrolled in a plan using auto provider pay. 
    1. = No (Default)
    2. = Yes
    Note: This field is required when setting the plan to “Auto Provider Pay” = 1 (Yes).
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: 0
  • ReimburseAmountsAppliedToDeductibleAccount Boolean
    Use this field to indicate whether or not the plan will reimburse amounts applied to the deductible tracking plan type (DTR). If the account is setup to reimburse amounts applied to the DTR plan, the DTR plan must be a higher priority plan and the claim must be submitted using Service Category Codes (SCCs) to make sure the manual claim splits properly. 
    False = No, the plan will not allow reimbursement of the deductible applied amounts (Default).
    True = Yes, the plan will allow reimbursement of the deductible applied amounts.
    Note: This option can be set only to Non Deductible Plan Types. If it is set for Deductible Plan Types, the option is just ignored rather than throwing the error.
    First Available Version: AddEmployerHRAPlanRequest
    Default Values: FALSE
  • MerchantSubstantiation Boolean
    True – Enables Merchant Substantiation on the plan
    False – Disabled Merchant
    Substantiation on the plan
    First Available Version: AddEmployerHRAPlanRequest_2012_06
    Default Values: FALSE

Response Message: Empty Message Example of an AddEmployerHRAPlan SOAP request message

Example Request Body
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
            <MBISessionID>kkhhjnze5fuaxz45fkwama55</MBISessionID>
        </MBISessionHeader>
    </soap:Header>
    <soap:Body>
        <GetEmployerBankAccount
            xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerHRAPlan/Request/2004/06/">
            <addEmployerHRAPlanRequest>
                <TpaId>T00202</TpaId>
                <EmployerId>CYNCYN</EmployerId>
                <PlanId>CYNP2</PlanId>
                <AccountTypeCode>ACO</AccountTypeCode>
                <PlanYearStartDate>2004-01-01</PlanYearStartDate>
                <PlanYearEndDate>2004-12-31</PlanYearEndDate>
                <GracePeriodEndDate>2004-12-31</GracePeriodEndDate>
                <SpendingLimitPeriod xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</SpendingLimitPeriod>
                <SpendingDepositAmount>0</SpendingDepositAmount>
                <SpendingTransactionAmount>0</SpendingTransactionAmount>
                <PayCycleTypeCode xmlns="http://www.medibank.com/MBIWebServices/Enums/">NoAutoDeposit</PayCycleTypeCode>
                <ConvenienceFeePayor xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</ConvenienceFeePayor>
                <ConvenienceFeeAmount>0</ConvenienceFeeAmount>
                <MaxTransactionAmount>0</MaxTransactionAmount>
                <MaxTotalAmount>0</MaxTotalAmount>
                <DefaultPlanOptions xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</DefaultPlanOptions>
            </addEmployerHRAPlanRequest>
        </GetEmployerBankAccount>
    </soap:Body>
</soap:Envelope>

Example of an AddEmployerHRAPlan SOAP response message

Example Response Body
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/" />
    </soap:Header>
    <soap:Body>
        <AddEmployerHRAPlanResponse
            xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerHRAPlan/Response/2004/06/">
            <AddEmployerHRAPlanResult />
        </AddEmployerHRAPlanResponse>
    </soap:Body>
</soap:Envelope>

Example Client Code

The following is an example of the client code (using a .NET proxy class for accessing the service) used when calling the AddEmployerHRAPlan web method.

C#
try
{
    // Create the session SOAP header in order to pass the Service
    // the client’s current session id.
    mbiSessionHeader = new EmployerHRAPlanServiceNameSpace.MBISessionHeader();
    // Create proxy object for the service
    proxy = new EmployerHRAPlanServiceNameSpace.EmployerHRAPlanService();
    // Create request message for method call (input parameters)
    request = new EmployerHRAPlanServiceNameSpace.AddEmployerHRAPlanRequest();
    // Set the input parameters
    request.TpaId = _TpaId.Text;
    request.EmployerId = _EmployerId.Text;
    request.PlanId = _PlanId.Text;
    request.AccountTypeCode = _AccountTypeCode.Text;
    request.AllowPartialManualTransaction = Convert.ToBoolean(_AllowPartialManualTransaction.Text);
    request.AutoDepositBypass = Convert.ToBoolean(_AutoDepositBypass.Text);
    request.ConvenienceFeeAmount = Convert.ToDecimal(_ConvenienceFeeAmount.Text);
    request.ConvenienceFeePayor =
        (EmployerHRAPlanServiceNameSpace.ConvenienceFeePayor)Enum.Parse(typeof(EmployerHRAPlanServiceNameSpace.Conv
        enienceFeePayor),_ConvenienceFeePayor.Text,true);
    request.DefaultPlanOptions =
        (EmployerHRAPlanServiceNameSpace.DefaultPlanOptions)Enum.Parse(typeof(EmployerHRAPlanServiceNameSpace.DefaultP
        lanOptions),_DefaultPlanOptions.Text);
    if(_GracePeriodEndDate.Text.Length > 0)
    {
        request.GracePeriodEndDate = Convert.ToDateTime(_GracePeriodEndDate.Text);
    }
    request.MaxTotalAmount = Convert.ToDecimal(_MaxTotalAmount.Text);
    request.MaxTransactionAmount = Convert.ToDecimal(_MaxTransactionAmount.Text);
    request.PayCycleTypeCode =
        (EmployerHRAPlanServiceNameSpace.PayCycleType)Enum.Parse(typeof(EmployerHRAPlanServiceNameSpace.PayCycleTyp
        e),_PayCycleTypeCode.Text,true);
    if(_PlanYearStartDate.Text.Length > 0)
    {
        request.PlanYearStartDate = Convert.ToDateTime(_PlanYearStartDate.Text);
    }
    if(_PlanYearEndDate.Text.Length > 0)
    {
        request.PlanYearEndDate = Convert.ToDateTime(_PlanYearEndDate.Text);
    }
    request.SpendingDepositAmount = Convert.ToDecimal(_SpendingDepositAmount.Text);
    request.SpendingLimitPeriod =
        (EmployerHRAPlanServiceNameSpace.IntervalType)Enum.Parse(typeof(EmployerHRAPlanServiceNameSpace.IntervalType),_
        SpendingLimitPeriod.Text,true);
    request.SpendingTransactionAmount = Convert.ToDecimal(_SpendingTransactionAmount.Text);
    // session ID returned from login method
    mbiSessionHeader.MBISessionID = _sessionId.Text;
    proxy.MBISessionHeaderValue = mbiSessionHeader;
    // Call the method
    response = proxy.AddEmployerHRAPlan(request);
    MessageBox.Show("Finished.");
}
catch(SoapException se)
{
    // perform needed operations
}
catch(Exception ex)
{
    // perform needed operations
}

UpdateEmployerHRAPlan

This method is used to update information about an employer’s plan.

History

The UpdateEmployerHRAPlan methods are listed below: Request Message

  • UpdateEmployerHRAPlanRequest_2012_06
  • UpdateEmployerHRAPlanRequest

Response Message

  • UpdateEmployerHRAPlanResponse

UpdateEmployerHRAPlan Request/Response Messages

The UpdateEmployerHRAPlan method requires the following request and response messages (input and output data).

The table below includes the following request message:

  • UpdateEmployerHRAPlanRequest_2012_06
  • UpdateEmployerHRAPlanRequest

Request Body

  • TpaId String required
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version: UpdateEmployerHRAPlanRequest
  • EmployerId String required
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version: UpdateEmployerHRAPlanRequest
    Max Length: 18
  • PlanId String required
    Unique Identifier to distinguish this plan from others within the administrator.
    First Available Version: UpdateEmployerHRAPlanRequest
    Max Length: 18
  • AccountTypeCode String required
    Three character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, and so on.)
    First Available Version: UpdateEmployerHRAPlanRequest
  • PlanYearStartDate Date required
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: UpdateEmployerHRAPlanRequest
  • PlanYearEndDate Date required
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: UpdateEmployerHRAPlanRequest
  • GracePeriodEndDate Date required
    Date the grace period ends for this account type. After this date, a warning displays when transactions are applied to this account type.
    First Available Version: UpdateEmployerHRAPlanRequest
  • SpendingLimitPeriod Enumeration
    Determines if this account type uses spending limits. Spending limits restricts the amount of money that can be deposited into or withdrawn from an account on a monthly or yearly basis.
    0 = No spending limit
    1 = Monthly Limit
    2 = Yearly (Calendar) Limit
    Note 1: This field can be set only when the account is created; it cannot be updated.
    Note 2: If this field is set to 1 or 2, the field, Spending Deposit Amount, or the field Spending. Transaction Amount, is required. Note 3: Leave this field blank if the plan is an HRA.
    Note 4: Setting the Spending Limit is a point-in-time event and affects only transactions after that point-in time. It is not retroactive.
    Note5: Setting a spending limit period of Yearly is based off the Calendar Year, not the Plan year as specified in the Plan Start and End Date Fields.
    Note 6: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive. The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: None
  • SpendingDepositAmount Decimal
    Maximum amount that can be deposited to this account during the spending limit period.
    ** Required if the field, Spending Limit Period, is set to 1 or 2.
    Note 1: Leave blank if the plan is an HRX.
    Note 2: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive. The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: UpdateEmployerHRAPlanRequest
  • SpendingTransactionAmount Decimal
    Maximum amount that can be disbursed from this account during the spending limit period. ** Required if the field, Spending Limit Period, is set to 1 or 2.
    Note 1: Leave blank if the plan is an HRX.
    Note 2: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive.The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: UpdateEmployerHRAPlanRequest
  • AllowPartialManualTransaction Boolean
    Previously, manual claims submitted to an account that had insufficient funds to pay the claim in full were denied. If the benefit plan allowed manual claims to be partially paid (to reduce the balance in the account to zero) the system would automatically generate a second claim for the exact amount remaining in the account.
    With WCA 5.0.00, claims submitted, which cannot be paid in full, now create a single transaction with the amount that could be approved and the amount that was denied for low funds.
    0 = Deny manual transactions if the entire amount is not available. (Default)
    1 = Pay what is left in the account toward manual transactions.
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: FALSE
  • AutoDepositBypass Boolean
    Flag to enable or disable auto deposits.
    0 = Enables auto deposits and catches up on any that were missed while the flag was set to 1.
    1 = Disables any future scheduled auto deposits.
    Note: Leave blank if this is an HRA.
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: FALSE
  • PayCycleTypeCode Enumeration
    Pay cycle type for auto deposits:
    NoAutoDeposit
    Annual
    BiWeekly
    Monthly
    SemiMonthly
    Weekly
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: NoAutoDeposit
  • ConvenienceFeePayor Enumeration
    Note: Setting this field has no impact. Convenience fee functionality was decommissioned.
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: None
  • ConvenienceFeeAmount Decimal
    Note: Setting this field has no impact. Convenience fee functionality was decommissioned.
    First Available Version: UpdateEmployerHRAPlanRequest
    Max Length: 10
  • MaxTransactionAmount Decimal
    Maximum amount allowed per transaction.
    First Available Version: UpdateEmployerHRAPlanRequest
    Max Length: 10
  • MaxTotalAmount Decimal
    Maximum amount allowed for the duration of the plan.
    Note: Leave blank for HRA plans.
    First Available Version: UpdateEmployerHRAPlanRequest
    Max Length: 10
  • DefaultPlanOptions Integer
    Determines whether default plan or MCC values are applied to the plan.
    0 = None (Default)
    1 = Plan
    2 = MCC
    4 = Life Event Balance Management
    8 = Enable Coverage Tiers
    16 = Enable Special Deposit
    32 = Service Category
    64 = Manual Claim Percent Coverage
    128 = Enable Deductible
    256 = Hide Plan From Participant To use only the WCA default MCCs, enter 0 or 1.
    To use the default MCCs for a plan and the default WCA MCCs, enter 3 (1 + 2).
    Note 1: This field is recognized only when you first create the plan.
    Note 2: You can also create default plans and sets of MCCs through the WCA user interface (UI) on the Administrator tab.
    Note 3: Leave blank if this plan is an HRA. You cannot create default plans for HRAs.
    First Available Version: UpdateEmployerHRAPlanRequest
  • HraType Enumeration
    Type of full-featured HRA.
    1 = Individual/Family
    2 = Single Fund
    ** This field is required only if the plan is a full-featured HRA. Leave blank for all other plan types.
    First Available Version: UpdateEmployerHRAPlanRequest
  • FundRollover Boolean
    Determines whether HRA funds can roll over to the next period.
    0 = No. Ignores remaining rollover fields.
    1 = Yes. Rolls any remaining funds in the current period to pay for services in the next plan period.
    Note 1: If you specify Yes, you must manually roll over the HRA to the next plan period or create a new HRA with the same ID. Note 2: Leave blank if this plan is not a full-featured HRA.
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: FALSE
  • FundRolloverOwner Enumeration
    Determines whether WCA or your software calculates the rollover amount.
    0 = Not Calculated(None)
    1 = WCA (Default)
    2 = Administrator Software
    Note: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • FundRolloverStatus Enumeration
    FundRolloverStatus:
    NotApplicable
    NotCompleted
    InProcess
    Completed
    Partial
    First Available Version: UpdateEmployerHRAPlanRequest
  • FundRolloverDate String
    Date on which funds roll over from current funds for this plan period to this rollover funds for this plan period.
    ** This field is required if HRA Fund Roll over is set to 1 = Yes.
    Note 1: This date must be within 90 days of the end date for this plan
    Note 2: If left blank, funds roll over at the end of the plan period.
    Note 3: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • FundRolloverType Enumeration
    Determines the type of rollover that will occur for the funds remaining in the HRA on the rollover date.
    0 = None (Default)
    1 = All
    2 = Cap
    4 = %
    8 = % up to a Cap
    Note 1: When WCA determines the rollover amount, it ensures that the total of the rollover amount and the next period’s election amount do not exceed any lifetime maximum amount or any maximum for 2 adjacent periods.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • IndividualRol loverAmount Decimal
    Maximum amount of remaining individual funds that can roll over for an individual in an Individual/Family HRA.
    Note 1: This field is ignored unless HRA Fund Rollover Type is set to 2 = Cap or 8 = % up to Cap.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • FamilyRolloverAmount Decimal
    Maximum amount of remaining family funds in an Individual/Family HRA or total remaining funds in a Single Fund HRA that can roll over.
    Note 1: This field is ignored unless HRA Fund Rollover Type is set to 2 = Cap or 8 = % up to Cap.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • IndividualRol loverRate Decimal
    Percent of remaining individual funds that can roll over for an individual in an Individual/Family HRA. Note 1: This field is ignored unless the field, HRA Fund Rollover Type, is set to 4 = % or 8 = % up to Cap
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • FamilyRolloverRate Decimal
    Percent of remaining family funds in an Individual/Family HRA or total funds in a Single Fund HRA that can roll over.
    Note 1: This field is ignored unless the field, HRA Fund Rollover Type, is set to 4 = % or 8 = % up to Cap
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • IndividualLife timeMaximum Decimal
    Maximum amount of individual funds in an Individual/Family HRA that can accumulate to pay for services received during the most current plan period.
    Note 1: The rollover amount is calculated as follows: Lifetime Maximum, less the next plan’s Individual amount, less the sum of prior available rollover amounts = Individual Rollover Amount. This amount might be further restricted by a specified cap or % limitation.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • FamilyLifetimeMaximum Decimal
    Maximum amount of individual funds in an Individual/Family HRA that can accumulate to pay for services received during the most current plan period.
    Note 1: The rollover amount is calculated as follows: Lifetime Maximum, less the next plan’s Individual amount, less the sum of prior available rollover amounts = Individual Rollover Amount. This amount might be further restricted by a specified cap or % limitation.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • IndividualNextPeriodMaximum Decimal
    Maximum amount of individual funds in an Individual/Family HRA that can accumulate to pay for services received during the most current plan period.
    Note 1: The rollover amount is calculated as follows: Lifetime Maximum, less the next plan’s Individual amount, less the sum of prior available rollover amounts = Individual Rollover Amount. This amount might be further restricted by a specified cap or % limitation.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • FamilyNextPeriodMaximum Decimal
    Amount of family funds in an Individual/Family HRA or total funds in a Single Fund HRA that can roll over; the sum of the funds for the next plan period and the rollover amount cannot exceed the Family Max or the Single Fund Max for Adjacent Plans.
    Note: Leave blank if this plan is not a full-featured HRA
    First Available Version: UpdateEmployerHRAPlanRequest
  • AllowRolloverFundstoOriginalPlan Boolean
    Dates of service that can be covered by the rollover funds.
    1 = Yes. Rollover funds are available for services received in the plan period of origin and in the most current plan period.
    Note 1: Rollover funds always remain with the plan period of origin. Although there can be up to 5 reachback periods, WCA can access only the 2 most recent periods for Card transactions. 0 = No. Rollover funds are available only for services received in the most current plan period.
    Note 2: Rollover funds are maintained in the N-1 plan period.
    Note 3: Leave blank if this plan is not a full-featured HRA.
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: FALSE
  • RolloverReachBackPeriod Integer
    Number of plan periods available for manual and Card transactions. Funds in the specified periods are included in the calculation for the value in the Lifetime Maximum field.
    If the field, Continue to use rolled funds for dates of service in the plan period of origin, is set to 1 = Yes, you must enter one of these values for the number of plan periods: 1, 2, 3, 4, or 5.
    Rollover funds for each period selected can be used for services received within that period and for services received in the current plan period.
    Example: If you enter 2, then rollover funds from the N-1 plan period are available for services received in the N1 period and rollover funds from the N-2 plan period are available for services received in the N-2 period. In addition, the rollover funds are available for services received in the N period.
    Note 1: Even if you enter more than two reach-back periods, WCA can access only two reach-back periods for Card transactions.
    Note 2: Rollover funds stay with their respective plan periods. Any constraints for a plan in a specific period continue to apply to the usage of the Rollover Funds for that period. If the field, Continue to use rolled funds for dates of service in the plan period of origin, is set to 2 = No, you can enter one of these values: 1 = Rollover funds from the previous period can be used only for services received in the current period. Any rollover funds beyond the N-1 plan period are not available for services received in the current plan period. 5 (Unlimited) = Funds in the N-2 plan period are added to funds rolled over for the N-1 plan period and are available only for services received during the most current plan period.
    Note 3: For these two options, all rollover funds for each period accumulate in a single rollover bucket maintained in the N-1 plan period. Any constraints in the N-1 Plan Period apply to the usage of these Rollover Funds.
    Note 4: Leave this field blank if this plan is not a full-featured HRA.
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: 0
  • FundRolloverPriorityType Enumeration
    FundRolloverPriorityType:
    None
    FIFO-First In First Out
    LIFO-Last In First Out
    First Available Version: UpdateEmployerHRAPlanRequest
  • RolloverImplementationType Integer
    Determines the type of rollover that occurs for the funds remaining in the HRA on the rollover date. The choices are All Funds, Cap, %, or % up to a Cap. Note: When WCA determines the rollover amount, it ensures that the total of the rollover amount and the next or period's election amount do not exceed any lifetime maximum.
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: 0
  • OtherDepositSubTypeIds String
    If the plan option field allows other (special) deposits, then data entered in the ‘other (special) deposit subtypes allowed field’ will be captured and processed.
    If the plan options field DOES NOT allow other (special) deposits, then data entered in the ‘other (special) deposit subtypes allowed’ field will be ignored.
    The other (special) deposit subtypes allowed field will be used to provide a list of other deposit sub type ids that are mapped to a plan. These sub types allow special deposit transactions to be made to a plan. These identifiers can be either separated by symbol or : (delimiters)
    First Available Version: UpdateEmployerHRAPlanRequest
  • AllowAutoReimbSettings Integer
    Use this field to indicate whether or not the plan will allow auto pay provider reimbursements.
    1. = No (Default)=Yes
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: 0
  • AutoReimbParticipantDefault Integer conditionally required
    This field will specify a default account setting for participants enrolled in a plan using auto provider pay. 
    1. = No (Default)
    2. = Yes
    Note: This field is required when setting the plan to “Auto Provider Pay” = 1 (Yes).
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: 0
  • ReimburseAmountsAppliedToDeductibleAccount Boolean
    Use this field to indicate whether or not the plan will reimburse amounts applied to the deductible tracking plan type (DTR). If the account is setup to reimburse amounts applied to the DTR plan, the DTR plan must be a higher priority plan and the claim must be submitted using Service Category Codes (SCCs) to make sure the manual claim splits properly. 
    False = No, the plan will not allow reimbursement of the deductible applied amounts (Default).
    True = Yes, the plan will allow reimbursement of the deductible applied amounts.
    Note: This option can be set only to Non Deductible Plan Types. If it is set for Deductible Plan Types, the option is just ignored rather than throwing the error.
    First Available Version: UpdateEmployerHRAPlanRequest
    Default Values: FALSE
  • MerchantSubstantiation Boolean
    True – Enables Merchant Substantiation on the plan
    False – Disabled Merchant
    Substantiation on the plan
    First Available Version: UpdateEmployerPlanRequest_2012_06
    Default Values: FALSE

Response Message: Empty Message Example of an UpdateEmployerHRAPlan SOAP request message

Example Request Body
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
            <MBISessionID>kkhhjnze5fuaxz45fkwama55</MBISessionID>
        </MBISessionHeader>
    </soap:Header>
    <soap:Body>
        <UpdateEmployerHRAPlan
            xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerHRAPlan/Request/2004/06/">
            <updateEmployerHRAPlanRequest>
                <TpaId>T00202</TpaId>
                <EmployerId>CYNCYN</EmployerId>
                <PlanId>CYNP1</PlanId>
                <AccountTypeCode>ACO</AccountTypeCode>
                <PlanYearStartDate>2004-01-01</PlanYearStartDate>
                <PlanYearEndDate>2004-12-31</PlanYearEndDate>
                <GracePeriodEndDate>2004-12-31</GracePeriodEndDate>
                <SpendingLimitPeriod xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</SpendingLimitPeriod>
                <SpendingDepositAmount>-1.0000</SpendingDepositAmount>
                <SpendingTransactionAmount>-1.0000</SpendingTransactionAmount>
                <PayCycleTypeCode xmlns="http://www.medibank.com/MBIWebServices/Enums/">NoAutoDeposit</PayCycleTypeCode>
                <ConvenienceFeePayor xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</ConvenienceFeePayor>
                <ConvenienceFeeAmount>0</ConvenienceFeeAmount>
                <MaxTransactionAmount>100.0000</MaxTransactionAmount>
                <MaxTotalAmount>100.0000</MaxTotalAmount>
                <DefaultPlanOptions xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</DefaultPlanOptions>
            </updateEmployerHRAPlanRequest>
        </UpdateEmployerHRAPlan>
    </soap:Body>
</soap:Envelope>

Example of an UpdateEmployerHRAPlan SOAP response message

Example Response Body
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/" />
    </soap:Header>
    <soap:Body>
        <UpdateEmployerHRAPlanResponse
            xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerHRAPlan/Response/2004/06/">
            <UpdateEmployerHRAPlanResult />
        </UpdateEmployerHRAPlanResponse>
    </soap:Body>
</soap:Envelope>

Example Client Code

The following is an example of the client code (using a .NET proxy class for accessing the service) used when calling the UpdateEmployerHRAPlan web method.

C#
try
{
    // Create the session SOAP header in order to pass the Service
    // the client’s current session id.
    mbiSessionHeader = new EmployerHRAPlanServiceNameSpace.MBISessionHeader();
    // Create proxy object for the service
    proxy = new EmployerHRAPlanServiceNameSpace.EmployerHRAPlanService();
    // Create request message for method call (input parameters)
    request = new EmployerHRAPlanServiceNameSpace.UpdateEmployerHRAPlanRequest();
    // Set the input parameters
    request.AccountTypeCode = _AccountTypeCode.Text;
    request.AllowPartialManualTransaction = Convert.ToBoolean(_AllowPartialManualTransaction.Text);
    request.AutoDepositBypass = Convert.ToBoolean(_AutoDepositBypass.Text);
    request.ConvenienceFeeAmount = Convert.ToDecimal(_ConvenienceFeeAmount.Text);
    request.ConvenienceFeePayor =
        (EmployerHRAPlanServiceNameSpace.ConvenienceFeePayor)Enum.Parse(typeof(EmployerHRAPlanServiceNameSpace.Conv
        enienceFeePayor),_ConvenienceFeePayor.Text,true);
    request.DefaultPlanOptions =
        (EmployerHRAPlanServiceNameSpace.DefaultPlanOptions)Enum.Parse(typeof(EmployerHRAPlanServiceNameSpace.DefaultP
        lanOptions),_DefaultPlanOptions.Text);
    request.EmployerId = _EmployerId.Text;
    if(_GracePeriodEndDate.Text.Length > 0)
    {
        request.GracePeriodEndDate = Convert.ToDateTime(_GracePeriodEndDate.Text);
    }
    request.MaxTotalAmount = Convert.ToDecimal(_MaxTotalAmount.Text);
    request.MaxTransactionAmount = Convert.ToDecimal(_MaxTransactionAmount.Text);
    request.PayCycleTypeCode =
        (EmployerHRAPlanServiceNameSpace.PayCycleType)Enum.Parse(typeof(EmployerHRAPlanServiceNameSpace.PayCycleTyp
        e),_PayCycleTypeCode.Text,true);
    request.PlanId = _PlanId.Text;
    if(_PlanYearEndDate.Text.Length > 0)
    {
        request.PlanYearEndDate = Convert.ToDateTime(_PlanYearEndDate.Text);
    }
    if(_PlanYearStartDate.Text.Length > 0)
    {
        request.PlanYearStartDate = Convert.ToDateTime(_PlanYearStartDate.Text);
    }
    request.SpendingDepositAmount = Convert.ToDecimal(_SpendingDepositAmount.Text);
    request.SpendingLimitPeriod =
        (EmployerHRAPlanServiceNameSpace.IntervalType)Enum.Parse(typeof(EmployerHRAPlanServiceNameSpace.IntervalType),_
        SpendingLimitPeriod.Text,true);
    request.SpendingTransactionAmount = Convert.ToDecimal(_SpendingTransactionAmount.Text);
    request.TpaId = _TpaId.Text;
    // session ID returned from login method
    mbiSessionHeader.MBISessionID = _sessionId.Text;
    proxy.MBISessionHeaderValue = mbiSessionHeader;
    // Call the method
    response = proxy.DeleteEmployerHRAPlan(request);
    MessageBox.Show("Finished.");
}
catch(SoapException se)
{
    // perform needed operations
}
catch(Exception ex)
{
    // perform needed operations
}

DeleteEmployerHRAPlan

This method deletes an existing Employer HRA Plan.

History

The DeleteEmployerHRAPlan methods are listed below:

Request Message

  • DeleteEmployerHRAPlanRequest

Response Message

  • DeleteEmployerHRAPlanResponse

DeleteEmployerHRAPlan Request/Response Messages

The DeleteEmployerHRAPlan method requires the following request and response messages (input and output data).

The table below includes the following request message:

  • DeleteEmployerHRAPlanRequest

Request Body

  • TpaId String required
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version: DeleteEmployerHRAPlanRequest
  • EmployerId String required
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version: DeleteEmployerHRAPlanRequest
    Max Length: 18
  • PlanId String required
    Unique Identifier to distinguish this plan from others within the administrator.
    First Available Version: DeleteEmployerHRAPlanRequest
    Max Length: 18
  • AccountTypeCode String required
    Three character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, and so on.)
    First Available Version: DeleteEmployerHRAPlanRequest
  • PlanYearStartDate Date required
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: DeleteEmployerHRAPlanRequest
  • PlanYearEndDate Date required
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: DeleteEmployerHRAPlanRequest

Response Message: Empty Message Example of a DeleteEmployerHRAPlan SOAP request message

Example Request Body
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
            <MBISessionID>kkhhjnze5fuaxz45fkwama55</MBISessionID>
        </MBISessionHeader>
    </soap:Header>
    <soap:Body>
        <DeleteEmployerHRAPlan
            xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerHRAPlan/Request/2004/06/">
            <deleteEmployerHRAPlanRequest>
                <TpaId>T00202</TpaId>
                <EmployerId>CYNCYN</EmployerId>
                <PlanId>CYNP1</PlanId>
                <AccountTypeCode>ACO</AccountTypeCode>
                <PlanYearStartDate>2004-01-01</PlanYearStartDate>
                <PlanYearEndDate>2004-12-31</PlanYearEndDate>
            </deleteEmployerHRAPlanRequest>
        </DeleteEmployerHRAPlan>
    </soap:Body>
</soap:Envelope>

Example of a DeleteEmployer SOAP response message

Example Response Body
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/" />
    </soap:Header>
    <soap:Body>
        <DeleteEmployerHRAPlanResponse
            xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerHRAPlan/Response/2004/06/">
            <DeleteEmployerHRAPlanResult />
        </DeleteEmployerHRAPlanResponse>
    </soap:Body>
</soap:Envelope>

Example Client Code

The following is an example of the client code (using a .NET proxy class for accessing the service) used when calling the DeleteEmployerHRAPlan web method.

C#
try
{
    // Create the session SOAP header in order to pass the Service
    // the client’s current session id.
    mbiSessionHeader = new EmployerHRAPlanServiceNameSpace.MBISessionHeader();
    // Create proxy object for the service
    proxy = new EmployerHRAPlanServiceNameSpace.EmployerHRAPlanService();
    // Create request message for method call (input parameters)
    request = new EmployerHRAPlanServiceNameSpace.DeleteEmployerHRAPlanRequest();
    // Set the input parameters
    request.AccountTypeCode = _AccountTypeCode.Text;
    request.EmployerId = _EmployerId.Text;
    request.PlanId = _PlanId.Text;
    if(_PlanYearEndDate.Text.Length > 0)
    {
        request.PlanYearEndDate = Convert.ToDateTime(_PlanYearEndDate.Text);
    }
    if(_PlanYearStartDate.Text.Length > 0)
    {
        request.PlanYearStartDate = Convert.ToDateTime(_PlanYearStartDate.Text);
    }
    request.TpaId = _TpaId.Text;
    // session ID returned from login method
    mbiSessionHeader.MBISessionID = _sessionId.Text;
    proxy.MBISessionHeaderValue = mbiSessionHeader;
    // Call the method
    response = proxy.DeleteEmployerHRAPlan(request);
    MessageBox.Show("Finished.");
}
catch(SoapException se)
{
    // perform needed operations
}
catch(Exception ex)
{
    // perform needed operations
}

GetEmployerHRAPlan

This method is used to retrieve an employer’s plan information.

History

The GetEmployerHRAPlan methods are listed below:

  • Request Message

GetEmployerHRAPlanRequest

Response Message

  • GetEmployerHRAPlanResponse_2012_06
  • GetEmployerHRAPlanResponse

GetEmployerHRAPlan Request/Response Messages

The GetEmployerHRAPlan method requires the following request and response messages (input and output data).

The table below includes the following request message:

  • GetEmployerHRAPlanRequest

Request Body

  • TpaId String required
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version: GetEmployerHRAPlanRequest
  • EmployerId String required
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version: GetEmployerHRAPlanRequest
    Max Length: 18
  • PlanId String required
    Unique Identifier to distinguish this plan from others within the administrator.
    First Available Version: GetEmployerHRAPlanRequest
    Max Length: 18
  • AccountTypeCode String required
    Three character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, and so on.)
    First Available Version: GetEmployerHRAPlanRequest
  • PlanYearStartDate String required
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: GetEmployerHRAPlanRequest
  • PlanYearEndDate String required
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: GetEmployerHRAPlanRequest
  • VerboseMode Boolean
    Optional, if set to true, the method may return more details as to why a query did not return any records. For example, if an invalid employee social security number was sent.
    First Available Version: GetEmployerHRAPlanRequest
    Default Values: FALSE

The table below includes the following response message:

  • GetEmployerHRAPlanResponse

Response Body

  • TpaId String
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version: GetEmployerHRAPlanResponse
  • EmployerId String
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version: GetEmployerHRAPlanResponse
  • PlanId String
    Unique Identifier to distinguish this plan from others within the administrator.
    First Available Version: GetEmployerHRAPlanResponse
  • AccountTypeCode String
    Three character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, and so on.)
    First Available Version: GetEmployerHRAPlanResponse
  • PlanYearStartDate String
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: GetEmployerHRAPlanResponse
  • PlanYearEndDate String
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: GetEmployerHRAPlanResponse
  • GracePeriodEndDate String
    Date the grace period ends for this account type. After this date, a warning displays when transactions are applied to this account type.
    First Available Version: GetEmployerHRAPlanResponse
  • SpendingLimitPeriod Enumeration
    Determines if this account type uses spending limits. Spending limits restricts the amount of money that can be deposited into or withdrawn from an account on a monthly or yearly basis.
    0 = No spending limit
    1 = Monthly Limit
    2 = Yearly (Calendar) Limit
    Note 1: This field can be set only when the account is created; it cannot be updated.
    Note 2: If this field is set to 1 or 2, the field, Spending Deposit Amount, or the field Spending. Transaction Amount, is required. Note 3: Leave this field blank if the plan is an HRA.
    Note 4: Setting the Spending Limit is a point-in-time event and affects only transactions after that point-in time. It is not retroactive.
    Note5: Setting a spending limit period of Yearly is based off the Calendar Year, not the Plan year as specified in the Plan Start and End Date Fields.
    Note 6: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive. The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: GetEmployerHRAPlanResponse
  • SpendingDepositAmount Decimal
    Maximum amount that can be deposited to this account during the spending limit period.
    ** Required if the field, Spending Limit Period, is set to 1 or 2.
    Note 1: Leave blank if the plan is an HRX.
    Note 2: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive. The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: GetEmployerHRAPlanResponse
  • SpendingTransactionAmount Decimal
    Maximum amount that can be disbursed from this account during the spending limit period. ** Required if the field, Spending Limit Period, is set to 1 or 2.
    Note 1: Leave blank if the plan is an HRX.
    Note 2: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive.The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: GetEmployerHRAPlanResponse
  • AllowPartialManualTransaction Boolean
    Previously, manual claims submitted to an account that had insufficient funds to pay the claim in full were denied. If the benefit plan allowed manual claims to be partially paid (to reduce the balance in the account to zero) the system would automatically generate a second claim for the exact amount remaining in the account.
    With WCA 5.0.00, claims submitted, which cannot be paid in full, now create a single transaction with the amount that could be approved and the amount that was denied for low funds.
    0 = Deny manual transactions if the entire amount is not available. (Default)
    1 = Pay what is left in the account toward manual transactions.
    First Available Version: GetEmployerHRAPlanResponse
  • AutoDepositBypass Boolean
    Flag to enable or disable auto deposits.
    0 = Enables auto deposits and catches up on any that were missed while the flag was set to 1.
    1 = Disables any future scheduled auto deposits.
    Note: Leave blank if this is an HRA.
    First Available Version: GetEmployerHRAPlanResponse
  • PayCycleTypeCode Enumeration
    Flag to enable or disable auto deposits.
    0 = Enables auto deposits and catches up on any that were missed while the flag was set to 1.
    1 = Disables any future scheduled auto deposits.
    Note: Leave blank if this is an HRA.
    First Available Version: GetEmployerHRAPlanResponse
  • ConvenienceFeePayor Enumeration
    Note: Setting this field has no impact. Convenience fee functionality was decommissioned.
    First Available Version: GetEmployerHRAPlanResponse
  • ConvenienceFeeAmount Decimal
    Note: Setting this field has no impact. Convenience fee functionality was decommissioned.
    First Available Version: GetEmployerHRAPlanResponse
  • MaxTransactionAmount Decimal
    Maximum amount allowed per transaction.
    First Available Version: GetEmployerHRAPlanResponse
  • MaxTotalAmount Decimal
    Maximum amount allowed for the duration of the plan.
    Note: Leave blank for HRA plans.
    First Available Version: GetEmployerHRAPlanResponse
  • DefaultPlanOptions Integer
    Determines whether default plan or MCC values are applied to the plan.
    0 = None (Default)
    1 = Plan
    2 = MCC
    4 = Life Event Balance Management
    8 = Enable Coverage Tiers
    16 = Enable Special Deposit
    32 = Service Category
    64 = Manual Claim Percent Coverage
    128 = Enable Deductible
    256 = Hide Plan From Participant To use only the WCA default MCCs, enter 0 or 1.
    To use the default MCCs for a plan and the default WCA MCCs, enter 3 (1 + 2).
    Note 1: This field is recognized only when you first create the plan.
    Note 2: You can also create default plans and sets of MCCs through the WCA user interface (UI) on the Administrator tab.
    Note 3: Leave blank if this plan is an HRA. You cannot create default plans for HRAs.
    First Available Version: GetEmployerHRAPlanResponse
  • HraType Enumeration
    Type of full-featured HRA.
    1 = Individual/Family
    2 = Single Fund
    ** This field is required only if the plan is a full-featured HRA. Leave blank for all other plan types.
    First Available Version: GetEmployerHRAPlanResponse
  • FundRollover Boolean
    Determines whether HRA funds can roll over to the next period.
    0 = No. Ignores remaining rollover fields.
    1 = Yes. Rolls any remaining funds in the current period to pay for services in the next plan period.
    Note 1: If you specify Yes, you must manually roll over the HRA to the next plan period or create a new HRA with the same ID. Note 2: Leave blank if this plan is not a full-featured HRA.
    First Available Version: GetEmployerHRAPlanResponse
  • FundRolloverOwner Enumeration
    Determines whether WCA or your software calculates the rollover amount.
    0 = Not Calculated(None)
    1 = WCA (Default)
    2 = Administrator Software
    Note: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • FundRolloverStatus Enumeration
    FundRolloverStatus:
    NotApplicable
    NotCompleted
    InProcess
    Completed
    Partial
    First Available Version: GetEmployerHRAPlanResponse
  • FundRolloverDate String
    Date on which funds roll over from current funds for this plan period to this rollover funds for this plan period.
    ** This field is required if HRA Fund Roll over is set to 1 = Yes.
    Note 1: This date must be within 90 days of the end date for this plan
    Note 2: If left blank, funds roll over at the end of the plan period.
    Note 3: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • FundRolloverType Enumeration
    Determines the type of rollover that will occur for the funds remaining in the HRA on the rollover date.
    0 = None (Default)
    1 = All
    2 = Cap
    4 = %
    8 = % up to a Cap
    Note 1: When WCA determines the rollover amount, it ensures that the total of the rollover amount and the next period’s election amount do not exceed any lifetime maximum amount or any maximum for 2 adjacent periods.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • IndividualRolloverAmount Decimal
    Maximum amount of remaining individual funds that can roll over for an individual in an Individual/Family HRA.
    Note 1: This field is ignored unless HRA Fund Rollover Type is set to 2 = Cap or 8 = % up to Cap.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • FamilyRolloverAmount Decimal
    Maximum amount of remaining family funds in an Individual/Family HRA or total remaining funds in a Single Fund HRA that can roll over.
    Note 1: This field is ignored unless HRA Fund Rollover Type is set to 2 = Cap or 8 = % up to Cap.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • IndividualRolloverRate Decimal
    Percent of remaining individual funds that can roll over for an individual in an Individual/Family HRA. Note 1: This field is ignored unless the field, HRA Fund Rollover Type, is set to 4 = % or 8 = % up to Cap
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • FamilyRolloverRate Decimal
    Percent of remaining family funds in an Individual/Family HRA or total funds in a Single Fund HRA that can roll over.
    Note 1: This field is ignored unless the field, HRA Fund Rollover Type, is set to 4 = % or 8 = % up to Cap
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • IndividualLifetimeMaximum Decimal
    Maximum amount of individual funds in an Individual/Family HRA that can accumulate to pay for services received during the most current plan period.
    Note 1: The rollover amount is calculated as follows: Lifetime Maximum, less the next plan’s Individual amount, less the sum of prior available rollover amounts = Individual Rollover Amount. This amount might be further restricted by a specified cap or % limitation.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • FamilyLifetimeMaximum Decimal
    Maximum amount of individual funds in an Individual/Family HRA that can accumulate to pay for services received during the most current plan period.
    Note 1: The rollover amount is calculated as follows: Lifetime Maximum, less the next plan’s Individual amount, less the sum of prior available rollover amounts = Individual Rollover Amount. This amount might be further restricted by a specified cap or % limitation.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • IndividualNextPeriodMaximum Decimal
    Maximum amount of individual funds in an Individual/Family HRA that can accumulate to pay for services received during the most current plan period.
    Note 1: The rollover amount is calculated as follows: Lifetime Maximum, less the next plan’s Individual amount, less the sum of prior available rollover amounts = Individual Rollover Amount. This amount might be further restricted by a specified cap or % limitation.
    Note 2: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • FamilyNextPeriodMaximum Decimal
    Amount of family funds in an Individual/Family HRA or total funds in a Single Fund HRA that can roll over; the sum of the funds for the next plan period and the rollover amount cannot exceed the Family Max or the Single Fund Max for Adjacent Plans.
    Note: Leave blank if this plan is not a full-featured HRA
    First Available Version: GetEmployerHRAPlanResponse
  • AllowRolloverFundstoOriginalPlan Boolean
    Dates of service that can be covered by the rollover funds.
    1 = Yes. Rollover funds are available for services received in the plan period of origin and in the most current plan period.
    Note 1: Rollover funds always remain with the plan period of origin. Although there can be up to 5 reachback periods, WCA can access only the 2 most recent periods for Card transactions. 0 = No. Rollover funds are available only for services received in the most current plan period.
    Note 2: Rollover funds are maintained in the N-1 plan period.
    Note 3: Leave blank if this plan is not a full-featured HRA.
    First Available Version: GetEmployerHRAPlanResponse
  • RolloverReachBackPeriod Short
    Number of plan periods available for manual and Card transactions. Funds in the specified periods are included in the calculation for the value in the Lifetime Maximum field.
    If the field, Continue to use rolled funds for dates of service in the plan period of origin, is set to 1 = Yes, you must enter one of these values for the number of plan periods: 1, 2, 3, 4, or 5.
    Rollover funds for each period selected can be used for services received within that period and for services received in the current plan period.
    Example: If you enter 2, then rollover funds from the N-1 plan period are available for services received in the N1 period and rollover funds from the N-2 plan period are available for services received in the N-2 period. In addition, the rollover funds are available for services received in the N period.
    Note 1: Even if you enter more than two reach-back periods, WCA can access only two reach-back periods for Card transactions.
    Note 2: Rollover funds stay with their respective plan periods. Any constraints for a plan in a specific period continue to apply to the usage of the Rollover Funds for that period. If the field, Continue to use rolled funds for dates of service in the plan period of origin, is set to 2 = No, you can enter one of these values: 1 = Rollover funds from the previous period can be used only for services received in the current period. Any rollover funds beyond the N-1 plan period are not available for services received in the current plan period. 5 (Unlimited) = Funds in the N-2 plan period are added to funds rolled over for the N-1 plan period and are available only for services received during the most current plan period.
    Note 3: For these two options, all rollover funds for each period accumulate in a single rollover bucket maintained in the N-1 plan period. Any constraints in the N-1 Plan Period apply to the usage of these Rollover Funds.
    Note 4: Leave this field blank if this plan is not a full-featured HRA.
    First Available Version: GetEmployerHRAPlanResponse
  • FundRolloverPriorityType Enumeration
    FundRolloverPriorityType:
    None
    FIFO-First In First Out
    LIFO-Last In First Out
    First Available Version: GetEmployerHRAPlanResponse
  • RolloverImplementationType Short
    Determines the type of rollover that occurs for the funds remaining in the HRA on the rollover date. The choices are All Funds, Cap, %, or % up to a Cap. Note: When WCA determines the rollover amount, it ensures that the total of the rollover amount and the next or period's election amount do not exceed any lifetime maximum.
    First Available Version: GetEmployerHRAPlanResponse
  • AllowAutoReimbSettings Integer
    Use this field to indicate whether or not the plan will allow auto pay provider reimbursements.
    1. = No (Default)=Yes
    First Available Version: GetEmployerHRAPlanResponse
  • AutoReimbParticipantDefault Integer
    This field will specify a default account setting for participants enrolled in a plan using auto provider pay. 
    1. = No (Default)
    2. = Yes
    Note: This field is required when setting the plan to “Auto Provider Pay” = 1 (Yes).
    First Available Version: GetEmployerHRAPlanResponse
  • ReimburseAmountsAppliedToDeductibleAccount Boolean
    Use this field to indicate whether or not the plan will reimburse amounts applied to the deductible tracking plan type (DTR). If the account is setup to reimburse amounts applied to the DTR plan, the DTR plan must be a higher priority plan and the claim must be submitted using Service Category Codes (SCCs) to make sure the manual claim splits properly. 
    False = No, the plan will not allow reimbursement of the deductible applied amounts (Default).
    True = Yes, the plan will allow reimbursement of the deductible applied amounts.
    Note: This option can be set only to Non Deductible Plan Types. If it is set for Deductible Plan Types, the option is just ignored rather than throwing the error.
    First Available Version: GetEmployerHRAPlanResponse
  • MerchantSubstantiation Boolean
    True – Enables Merchant Substantiation on the plan
    False – Disabled Merchant
    Substantiation on the plan
    First Available Version: GetEmployerHRAPlansRequest_2012_06

Example of a GetEmployerHRAPlan SOAP request message

Example Request Body
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
            <MBISessionID>kkhhjnze5fuaxz45fkwama55</MBISessionID>
        </MBISessionHeader>
    </soap:Header>
    <soap:Body>
        <GetEmployerHRAPlan
            xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerHRAPlan/Request/2004/06/">
            <getEmployerHRAPlanRequest>
                <TpaId>T00202</TpaId>
                <EmployerId>CYNCYN</EmployerId>
                <PlanId>CYNP1</PlanId>
                <AccountTypeCode>ACO</AccountTypeCode>
                <PlanYearStartDate>2004-01-01</PlanYearStartDate>
                <PlanYearEndDate>2004-12-31</PlanYearEndDate>
            </getEmployerHRAPlanRequest>
        </GetEmployerHRAPlan>
    </soap:Body>
</soap:Envelope>

Example of a GetEmployerHRAPlan SOAP response message

Example Response Body
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/" />
    </soap:Header>
    <soap:Body>
        <GetEmployerHRAPlanResponse
            xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerHRAPlan/Response/2004/06/">
            <GetEmployerHRAPlanResult>
                <TpaId>T00202</TpaId>
                <EmployerId>CYNCYN</EmployerId>
                <PlanId>CYNP1</PlanId>
                <AccountTypeCode>ACO</AccountTypeCode>
                <PlanYearStartDate>20040101</PlanYearStartDate>
                <PlanYearEndDate>20041231</PlanYearEndDate>
                <GracePeriodEndDate>20041231</GracePeriodEndDate>
                <SpendingLimitPeriod xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</SpendingLimitPeriod>
                <SpendingDepositAmount>-1.0000</SpendingDepositAmount>
                <SpendingTransactionAmount>-1.0000</SpendingTransactionAmount>
                <AllowPartialManualTransaction>false</AllowPartialManualTransaction>
                <AutoDepositBypass>false</AutoDepositBypass>
                <PayCycleTypeCode xmlns="http://www.medibank.com/MBIWebServices/Enums/">NoAutoDeposit</PayCycleTypeCode>
                <ConvenienceFeePayor xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</ConvenienceFeePayor>
                <ConvenienceFeeAmount>0</ConvenienceFeeAmount>
                <MaxTransactionAmount>100.0000</MaxTransactionAmount>
                <MaxTotalAmount>100.0000</MaxTotalAmount>
                <DefaultPlanOptions xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</DefaultPlanOptions>
            </GetEmployerHRAPlanResult>
        </GetEmployerHRAPlanResponse>
    </soap:Body>
</soap:Envelope>

Example Client Code

The following is an example of the client code (using a .NET proxy class for accessing the service) used when calling the GetEmployerHRAPlan web method.

C#
try
{
    _dataset.Tables["EmployerHRAPlan"].Clear();
    // Create the session SOAP header in order to pass the Service
    // the client’s current session id.
    mbiSessionHeader = new EmployerHRAPlanServiceNameSpace.MBISessionHeader();
    // Create proxy object for the service
    proxy = new EmployerHRAPlanServiceNameSpace.EmployerHRAPlanService();
    // Create request message for method call (input parameters)
    request = new EmployerHRAPlanServiceNameSpace.GetEmployerHRAPlanRequest();
    // Set the input parameters
    request.AccountTypeCode = _AccountTypeCode.Text;
    request.EmployerId = _EmployerId.Text;
    request.PlanId = _PlanId.Text;
    if(_PlanYearEndDate.Text.Length > 0)
    {
        request.PlanYearEndDate = Convert.ToDateTime(_PlanYearEndDate.Text);
    }
    if(_PlanYearStartDate.Text.Length > 0)
    {
        request.PlanYearStartDate = Convert.ToDateTime(_PlanYearStartDate.Text);
    }
    request.TpaId = _TpaId.Text;
    // session ID returned from logon method
    mbiSessionHeader.MBISessionID = _sessionId.Text;
    proxy.MBISessionHeaderValue = mbiSessionHeader;
    // Call the method
    response = proxy.GetEmployerHRAPlan(request);
}
catch(SoapException se)
{
    MessageBox.Show(Formatter.FormatSoapException(se));
}
catch(Exception ex)
{
    MessageBox.Show("EXCEPTION:" + ex.Message);
}

GetEmployerHRAPlans

This method is used to retrieve all the employer’s plans.

History

The GetEmployerHRAPlans methods are listed below

Request Message

  • GetEmployerHRAPlansRequest

Response Message

  • GetEmployerHRAPlansResponse_2012_06
  • GetEmployerHRAPlansResponse

GetEmployerHRAPlans Request/Response Messages

The GetEmployerHRAPlans method requires the following request and response messages (input and output data).

The table below includes the following request message:

  • GetEmployerHRAPlansRequest

Request Body

  • TpaId String required
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version: GetEmployerHRAPlansRequest
  • EmployerId String required
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version: GetEmployerHRAPlansRequest
    Max Length: 18
  • PlanYear Enumeration
    Defines what account years you wish to return. (ALL, Current, Previous, and Future)
    First Available Version: GetEmployerHRAPlansRequest
    Default Values: None
  • VerboseMode Boolean
    Optional, if set to true, the method may return more details as to why a query did not return any records. For example, if an invalid employee social security number was sent.
    First Available Version: GetEmployerHRAPlansRequest
    Default Values: FALSE

The table below includes the following response message:

  • GetEmployerHRAPlansResponse

Response Body

  • TpaId String
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version: GetEmployerHRAPlansResponse
  • EmployerId String
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version: GetEmployerHRAPlansResponse
  • PlanId String
    Unique Identifier to distinguish this plan from others within the administrator.
    First Available Version: GetEmployerHRAPlansResponse
  • AccountTypeCode String
    Three character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, and so on.)
    First Available Version: GetEmployerHRAPlansResponse
  • PlanYearStartDate String
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: GetEmployerHRAPlansResponse
  • PlanYearEndDate String
    This date matches the corresponding date set for the employer’s benefit plan, as entered in the WealthCare Admin user interface.
    First Available Version: GetEmployerHRAPlansResponse
  • GracePeriodEndDate String
    Date the grace period ends for this account type. After this date, a warning displays when transactions are applied to this account type.
    First Available Version: GetEmployerHRAPlansResponse
  • SpendingLimitPeriod Enumeration
    Determines if this account type uses spending limits. Spending limits restricts the amount of money that can be deposited into or withdrawn from an account on a monthly or yearly basis.
    0 = No spending limit
    1 = Monthly Limit
    2 = Yearly (Calendar) Limit
    Note 1: This field can be set only when the account is created; it cannot be updated.
    Note 2: If this field is set to 1 or 2, the field, Spending Deposit Amount, or the field Spending. Transaction Amount, is required. Note 3: Leave this field blank if the plan is an HRA.
    Note 4: Setting the Spending Limit is a point-in-time event and affects only transactions after that point-in time. It is not retroactive.
    Note5: Setting a spending limit period of Yearly is based off the Calendar Year, not the Plan year as specified in the Plan Start and End Date Fields.
    Note 6: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive. The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: GetEmployerHRAPlansResponse
  • SpendingDepositAmount Decimal
    Maximum amount that can be deposited to this account during the spending limit period.
    ** Required if the field, Spending Limit Period, is set to 1 or 2.
    Note 1: Leave blank if the plan is an HRX.
    Note 2: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive. The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: GetEmployerHRAPlansResponse
  • SpendingTransactionAmount Decimal
    Maximum amount that can be disbursed from this account during the spending limit period. ** Required if the field, Spending Limit Period, is set to 1 or 2.
    Note 1: Leave blank if the plan is an HRX.
    Note 2: If Calendar Year is selected, then spending limits are based on a calendar year. If Spending Limits are added to a plan after the Start Date, the transaction and deposit limits are not retroactive.The limits are not applicable to deposit and transaction amounts existing for a Participant prior to the date that the limits were imposed.
    First Available Version: GetEmployerHRAPlansResponse
  • AllowPartialManualTransaction Boolean
    Previously, manual claims submitted to an account that had insufficient funds to pay the claim in full were denied. If the benefit plan allowed manual claims to be partially paid (to reduce the balance in the account to zero) the system would automatically generate a second claim for the exact amount remaining in the account.
    With WCA 5.0.00, claims submitted, which cannot be paid in full, now create a single transaction with the amount that could be approved and the amount that was denied for low funds.
    0 = Deny manual transactions if the entire amount is not available. (Default)
    1 = Pay what is left in the account toward manual transactions.
    First Available Version: GetEmployerHRAPlansResponse
  • AutoDepositBypass Boolean
    Flag to enable or disable auto deposits.
    0 = Enables auto deposits and catches up on any that were missed while the flag was set to 1.
    1 = Disables any future scheduled auto deposits.
    Note: Leave blank if this is an HRA.
    First Available Version: GetEmployerHRAPlansResponse
  • PayCycleTypeCode Enumeration
    Flag to enable or disable auto deposits.
    0 = Enables auto deposits and catches up on any that were missed while the flag was set to 1.
    1 = Disables any future scheduled auto deposits.
    Note: Leave blank if this is an HRA.
    First Available Version: GetEmployerHRAPlansResponse
  • ConvenienceFeePayor Enumerati on
    Note: Setting this field has no impact. Convenience fee functionality was decommissioned.
    First Available Version: GetEmployerHRAPlansResponse
  • ConvenienceFeeAmount Decimal
    Note: Setting this field has no impact. Convenience fee functionality was decommissioned.
    First Available Version: GetEmployerHRAPlansResponse
  • MaxTransactionAmount Decimal
    Maximum amount allowed per transaction.
    First Available Version: GetEmployerHRAPlansResponse
  • MaxTotalAmount Decimal
    Maximum amount allowed for the duration of the plan.
    Note: Leave blank for HRA plans.
    First Available Version: GetEmployerHRAPlansResponse
  • DefaultPlanOptions Boolean
    Determines whether default plan or MCC values are applied to the plan.
    0 = None (Default)
    1 = Plan
    2 = MCC
    4 = Life Event Balance Management
    8 = Enable Coverage Tiers
    16 = Enable Special Deposit
    32 = Service Category
    64 = Manual Claim Percent Coverage
    128 = Enable Deductible
    256 = Hide Plan From Participant To use only the WCA default MCCs, enter 0 or 1.
    To use the default MCCs for a plan and the default WCA MCCs, enter 3 (1 + 2).
    Note 1: This field is recognized only when you first create the plan.
    Note 2: You can also create default plans and sets of MCCs through the WCA user interface (UI) on the Administrator tab.
    Note 3: Leave blank if this plan is an HRA. You cannot create default plans for HRAs.
    First Available Version: GetEmployerHRAPlansResponse
  • HraType Enumeration
    Type of full-featured HRA.
    1 = Individual/Family
    2 = Single Fund
    ** This field is required only if the plan is a full-featured HRA. Leave blank for all other plan types.
    First Available Version: GetEmployerHRAPlansResponse
  • AllowAutoReimbSettings Integer
    Use this field to indicate whether or not the plan will allow auto pay provider reimbursements.
    1. = No (Default)=Yes
    First Available Version: GetEmployerHRAPlansResponse
  • AutoReimbParticipantDefault Integer
    This field will specify a default account setting for participants enrolled in a plan using auto provider pay. 
    1. = No (Default)
    2. = Yes
    Note: This field is required when setting the plan to “Auto Provider Pay” = 1 (Yes).
    First Available Version: GetEmployerHRAPlansResponse
  • ReimburseAmountsAppliedToDeductibleAccount Boolean
    This field indicates whether or not the plan will reimburse amounts applied to the deductible tracking plan type (DTR). If the account is setup to reimburse amounts applied to the DTR plan, the DTR plan must be a higher priority plan and the claim must be submitted using Service Category Codes (SCCs) to make sure the manual claim splits properly. 
    False = No, the plan will not allow reimbursement of the deductible applied amounts (Default).
    True = Yes, the plan will allow reimbursement of the deductible applied amounts.
    Note: This option can be set only to Non Deductible Plan Types. If it is set for Deductible Plan Types, the option is just ignored rather than throwing the error.
    First Available Version: GetEmployerHRAPlansResponse
  • MerchantSubstantiation Boolean
    True – Enables Merchant Substantiation on the plan
    False – Disabled Merchant
    Substantiation on the plan
    First Available Version: GetEmployerHRAPlansResponse_2012_06

Example of a GetEmployerHRAPlans SOAP request message

Example Request Body
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
            <MBISessionID>alcfwq55w34yl555c4vxlyv4</MBISessionID>
        </MBISessionHeader>
    </soap:Header>
    <soap:Body>
        <GetEmployerHRAPlans
            xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerHRAPlan/Request/2004/06/">
            <getEmployerHRAPlansRequest>
                <TpaId>T00238</TpaId>
                <EmployerId>CYNCYN</EmployerId>
                <PlanYear>All</PlanYear>
            </getEmployerHRAPlansRequest>
        </GetEmployerHRAPlans>
    </soap:Body>
</soap:Envelope>

Example of a GetEmployerHRAPlans SOAP response message

Example Response Body
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
        <MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/" />
    </soap:Header>
    <soap:Body>
        <GetEmployerHRAPlansResponse
            xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerHRAPlan/Response/2004/06/">
            <GetEmployerHRAPlansResult>
                <GetEmployerHRAPlansResponse>
                    <TpaId>T00238</TpaId>
                    <EmployerId>CYNCYN</EmployerId>
                    <PlanId>CYN</PlanId>
                    <AccountTypeCode>ACO</AccountTypeCode>
                    <PlanYearStartDate>20031006</PlanYearStartDate>
                    <PlanYearEndDate>20051118</PlanYearEndDate>
                    <SpendingLimitPeriod xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</SpendingLimitPeriod>
                    <SpendingDepositAmount>-1.0000</SpendingDepositAmount>
                    <SpendingTransactionAmount>-1.0000</SpendingTransactionAmount>
                    <AllowPartialManualTransaction>false</AllowPartialManualTransaction>
                    <AutoDepositBypass>false</AutoDepositBypass>
                    <PayCycleTypeCode xmlns="http://www.medibank.com/MBIWebServices/Enums/">Monthly</PayCycleTypeCode>
                    <ConvenienceFeePayor xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</ConvenienceFeePayor>
                    <ConvenienceFeeAmount>0</ConvenienceFeeAmount>
                    <MaxTransactionAmount>1000.0000</MaxTransactionAmount>
                    <MaxTotalAmount>1000.0000</MaxTotalAmount>
                    <DefaultPlanOptions>false</DefaultPlanOptions>
                </GetEmployerHRAPlansResponse>
            </GetEmployerHRAPlansResult>
        </GetEmployerHRAPlansResponse>
    </soap:Body>
</soap:Envelope>

Example Client Code

The following is an example of the client code (using a .NET proxy class for accessing the service) used when calling the GetEmployerHRAPlans web method.

C#
try
{
    _dataset.Tables[0].Clear();
    proxy = new WebServiceTestHarness.EmployerHRAPlanServiceNameSpace.EmployerHRAPlanService();
    request = new WebServiceTestHarness.EmployerHRAPlanServiceNameSpace.GetEmployerHRAPlansRequest();
    mbiSessionHeader = new WebServiceTestHarness.EmployerHRAPlanServiceNameSpace.MBISessionHeader();
    mbiSessionHeader.MBISessionID = _sessionId;
    proxy.MBISessionHeaderValue = mbiSessionHeader;
    proxy.Url = proxy.Url.Replace(Formatter.DEFAULT_SERVER, _server);
    proxy.Url = proxy.Url.Replace(Formatter.DEFAULT_PROTOCOL, _protocol);
    request.EmployerId = _EmployerId.Text;
    request.PlanYear = (EmployerHRAPlanServiceNameSpace.PlanYear)
    Enum.Parse(typeof(EmployerHRAPlanServiceNameSpace.PlanYear),_PlanYear.Text,true);
    request.TpaId = _TpaId.Text;
    response = proxy.GetEmployerHRAPlans(request);
}
catch(SoapException se)
{
    MessageBox.Show(Formatter.FormatSoapException(se));
}
catch(Exception ex)
{
    MessageBox.Show("EXCEPTION:" + ex.Message);
}

AI Assistant Preview

Generating response...