Flex Account Rollover Settings API| Administrative - SOAP

This service provides users the ability to manage flex account rollover settings and functionality

Service web methods
The following operations are supported:

  • AddFlexAccountRolloverSettings - This method is used to add the flex account rollover settings.
  • GetFlexAccountRolloverSettings - This method is used to get fund rollover settings for flex accounts.
  • UpdateFlexAccountRolloverSettings - This method is used to update any existing flex account rollover settings.

Service assumptions/business rules
The flex account rollover settings service makes the following assumptions and enforces the following business rules:

  • Clients shall conform to the WS-I specifications unless otherwise agreed upon by Alegeus 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.

AddFlexAccountRolloverSettings

This method is used to add the flex account rollover settings.

History
The AddFlexAccountRolloverSettings methods are listed below:

Request messages:

  • AddFlexAccountRolloverSettingsRequest

Response messages:

  • AddFlexAccountRolloverSettingsResponse

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

The table below includes the following request messages:

  • AddFlexAccountRolloverSettingsRequest

  • TpaIdstring            required
    Unique identified assigned to each administrator.
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • EmployerIdstringrequired
    The unique identifier of the employer.
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • SourcePlanIdstringrequired
    The plan id of the source plan.
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • SourcePlanAccountTypeCodestringrequired
    The source plan account type code.
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • SourcePlanYearStartDatestringrequired
    The source plan start date.
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • SourcePlanYearEndDatestringrequired
    The source plan end date.
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • FundRolloverDatestringrequired
    The date the fund rollover occurs.
    Format = YYYYMMDD
    Must be on or after the source plan's end date.
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • FundRolloverTypeEnumrequired
    One of the following types:
    None
    AllFunds
    Cap
    Percentage
    CapAndPercentage
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • RolloverCapAmountdecimalrequired
    Maximum amount of Family Funds to be rolled over.  
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • RolloverRatedecimalrequired
    Indicates % of remaining Family funds to be rolled over to next plan year on rollover date (Must specify rollover date).
    First Available Version:AddFlexAccountRolloverSettingsRequest
    Max Length:                
  • IndividualRolloverCapAmountdecimal
    Maximum amount of Individual Funds to be rolled over.
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • IndividualRolloverRatedecimal
    Indicates % of remaining individual funds to be rolled over on rollover date. 
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • TargetAccountTypeCodestringrequired
    Target Plan Account Type Code
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • TargetPlanIdstringrequired
    Target Plan ID.
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • TargetPlanYearStartDatestringrequired
    Target Plan Start Date.
    Format = YYYYMMDD
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • TargetPlanYearEndDatestringrequired
    Target Plan End Date. Format = YYYYMMDD
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • EmployeeIdstringrequired
    Unique employee Id.
    First Available Version:AddFlexAccountRolloverSettingsRequest
  • MinimumRolloverAmountofFunddecimal
    Administrators can specify a minimum rollover amount.  If an amount is specified, then the source account must have a disbursable balance greater than or equal to the Minimum Rollover Amount in order for rollover to occur.
    First Available Version:AddFlexAccountRolloverSettingsRequest
    Max Length:10

Response message: Empty message.

 

Example of AddFlexAccountRolloverSettings SOAP request message

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
      <MBISessionID>string</MBISessionID>
    </MBISessionHeader>
  </soap:Header>
  <soap:Body>
    <AddFlexAccountRolloverRequest
xmlns="http://www.medibank.com/MBIWebServices/Plan/Service/FlexAccountRollover/Request/2008/07/">       <request>
        <TpaId>string</TpaId>
        <EmployerId>string</EmployerId>
        <SourcePlanId>string</SourcePlanId>
        <SourcePlanAccountTypeCode>string</SourcePlanAccountTypeCode>
        <SourcePlanYearStartDate>string</SourcePlanYearStartDate>
        <SourcePlanYearEndDate>string</SourcePlanYearEndDate>
        <FundRolloverDate>string</FundRolloverDate>
<FundRolloverType xmlns="http://www.medibank.com/MBIWebServices/Enums/">None or AllFunds or Cap or Percentage or CapAndPercentage</FundRolloverType>
        <RolloverCapAmount>decimal</RolloverCapAmount>
        <RolloverRate>decimal</RolloverRate>
        <IndividualRolloverCapAmount>decimal</IndividualRolloverCapAmount>
        <IndividualRolloverRate>decimal</IndividualRolloverRate>
        <TargetAccountTypeCode>string</TargetAccountTypeCode>
        <TargetPlanId>string</TargetPlanId>
        <TargetPlanYearStartDate>string</TargetPlanYearStartDate>
        <TargetPlanYearEndDate>string</TargetPlanYearEndDate>
<EmployeeId>string</EmployeeId>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">       <MessageId>string</MessageId>
    </MBIMessageIdHeader>
  </soap:Header>
  <soap:Body>
</request>
</AddFlexAccountRolloverRequest>
</soap:Body>
</soap:Envelope>

Example of AddFlexAccountRolloverSettings SOAP response message

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
<MessageId>string</MessageId>
</MBIMessageIdHeader>
</soap:Header>
<soap:Body>
<AddFlexAccountRolloverResponse
xmlns="http://www.medibank.com/MBIWebServices/Plan/Service/FlexAccountRollover/Response/2008/07/">
<AddFlexAccountRolloverSettingsResult />
</AddFlexAccountRolloverResponse>
</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 AddFlexAccountRolloverSettings web method.

try 
{
            // create new SOAP header for the user’s current session id localhost.MBISessionHeader sh = new localhost.MBISessionHeader();
      // create the proxy object for the service
  localhost.FlexAccountRolloverSettinsService proxy = new localhost.FlexAccountRolloverSettinsService();
    // create a new request object for the method’s parameters
  localhost.AddFlexAccountRolloverSettings request = new localhost. AddFlexAccountRolloverSettings();
// set the parameters for the web method call
request.TpaId = "T00021";
request.EmployerId = “WWW888;
request.SourcePlanId = “FSA2008”;
request.SourcePlanAccountTypeCode = “FSA”;
request.SourcePlanYearStartDate = “20080101”;
request.SourcePlanYearEndDate = “20081231”;
request.FundRolloverDate = “20090301”;
request.FundRolloverType = FundRolloverType.AllFunds;
request.RolloverCapAmount = 3000.00d;
request.RolloverRate = 85.00d;
request.TargetAccountTypeCode = “FSA”;
request.TargetPlanId = “FSA2009”;
request.TargetPlanYearStartDate = “20090101”;
request.TargetPlanYearEndDate = “20091231”;
request.EmployeeId = “JaneD”;
// Add the session SOAP header so that the service knows who we are.
// Note that we stored the session ID in a member variable after
// logged in to the system for future web method calls.
sh.MBISessionID = _sessionID;
proxy.MBISessionHeaderValue = sh;
// Call the web method.
proxy. AddFlexAccountRolloverSettings(request);
MessageBox.Show("Finished");
}
catch(SoapException se)
{
// perform needed operations
}
catch(Exception ex)
{
// perform needed operations
}

GetFlexAccountRolloverSettings

This method is used to get fund rollover settings for flex accounts.

History
The GetFlexAccountRolloverSettings methods are listed below:

Request messages:

  • GetFlexAccountRolloverRequest

Response messages:

  • GetFlexAccountRolloverResponse

GetFlexAccountRolloverSettings request/response messages

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

The table below includes the following request messages:

  • GetFlexAccountRolloverRequest
  • TpaIdstring               required
    Unique identified assigned to each administrator.
    First Available Version:GetFlexAccountRolloverRequest
  • PlanIdstringrequired
    The plan identifier.
    First Available Version:GetFlexAccountRolloverRequest
  • EmprIdstringrequired
    The unique identifier of the employer.
    First Available Version:GetFlexAccountRolloverRequest
  • PlanYrStartDtestringrequired
    The plan year start date.
    Format = “YYYYMMDD”
    First Available Version:GetFlexAccountRolloverRequest
  • PlanYrEndDtestringrequired
    The plan year end date. Format = “YYYYMMDD”
    First Available Version:GetFlexAccountRolloverRequest
  • AcctTypeCdestringrequired
    The account type code.  Like FSA, DCA, etc..
    First Available Version:GetFlexAccountRolloverRequest

The table below includes the following request messages:

  • GetFlexAccountRolloverResponse
  • TpaIdstring
    Unique identified assigned to each administrator
    First Available Version:GetFlexAccountRolloverResponse
  • EmployerIdstring
    The unique identifier of the employer
    First Available Version:GetFlexAccountRolloverResponse
  • TargetPlanStartDatestring
    Target Plan Start Date.
    Format = YYYYMMDD
    First Available Version:GetFlexAccountRolloverResponse
  • TargetPlanEndDatestring
    Target Plan End Date. Format = YYYYMMDD
    First Available Version:GetFlexAccountRolloverResponse
  • RolloverDatestring
    The date the fund rollover occurs. 
    Format = YYYYMMDD
    First Available Version:GetFlexAccountRolloverResponse
  • Rollover_x0020_Amountdecimal
    Maximum amount of Family Funds to be rolled over.  
    First Available Version:GetFlexAccountRolloverResponse
  • Rollover_x0020_Ratedecimal
    Indicates % of remaining Family funds to be rolled over to next plan year on rollover date (Must specify rollover date).
    First Available Version:GetFlexAccountRolloverResponse
  • Individual_x0020_Rollov er_x0020_Amountdecimal
    Maximum amount of Individual Funds to be rolled over.
    First Available Version:GetFlexAccountRolloverResponse
  • Individual_x0020_Rollov er_x0020_Ratedecimal
    Indicates % of remaining individual funds to be rolled over on rollover date. 
    First Available Version:GetFlexAccountRolloverResponse
  • Fund_x0020_Rollover_x 0020_Typeshort
    One of the following types:
    None
    AllFunds
    Cap
    Percentage
    CapAndPercentage
    First Available Version:GetFlexAccountRolloverResponse
  • Employee_x0020_IDstring
    The Employee id.
    First Available Version:GetFlexAccountRolloverResponse

Example of GetFlexAccountRolloverSettings SOAP request message

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
<MBISessionID>string</MBISessionID>
</MBISessionHeader>
</soap:Header>
<soap:Body>
<GetFlexAccountRolloverRequest
xmlns="http://www.medibank.com/MBIWebServices/Plan/Service/FlexAccountRollover/Request/2008/07/">
<request>
<TpaId>string</TpaId>
<PlanId>string</PlanId>
<EmprId>string</EmprId>
<PlanYrStartDte>string</PlanYrStartDte>
<PlanYrEndDte>string</PlanYrEndDte>
<AcctTypeCde>string</AcctTypeCde>
</request>
</GetFlexAccountRolloverRequest>
</soap:Body>
</soap:Envelope>

Example of GetFlexAccountRolloverSettings SOAP response message

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
<MessageId>string</MessageId>
</MBIMessageIdHeader>
</soap:Header>
<soap:Body>
<Response xmlns="http://www.medibank.com/MBIWebServices/Plan/Service/FlexAccountRollover/Response/2008/07/">
<GetFlexAccountRolloverSettingsResult>
<GetFlexAccountRolloverResponse>
<TpaId>string</TpaId>
<EmployerId>string</EmployerId>
<SourceAccountType>string</SourceAccountType>
<SourcePlanId>string</SourcePlanId>
<SourcePlanStartDate>string</SourcePlanStartDate>
<SourcePlanEndDate>string</SourcePlanEndDate>
<TargetAccountType>string</TargetAccountType>
<TargetPlanId>string</TargetPlanId>
<TargetPlanStartDate>string</TargetPlanStartDate>
<TargetPlanEndDate>string</TargetPlanEndDate>
<RolloverDate>string</RolloverDate>
<Rollover_x0020_Amount>decimal</Rollover_x0020_Amount>
<Rollover_x0020_Rate>decimal</Rollover_x0020_Rate>
<Individual_x0020_Rollover_x0020_Amount>decimal</Individual_x0020_Rollover_x0020_Amount>
<Individual_x0020_Rollover_x0020_Rate>decimal</Individual_x0020_Rollover_x0020_Rate>
<Fund_x0020_Rollover_x0020_Type>short</Fund_x0020_Rollover_x0020_Type>
<Employee_x0020_ID>string</Employee_x0020_ID>
</GetFlexAccountRolloverResponse>
<GetFlexAccountRolloverResponse>
<TpaId>string</TpaId>
<EmployerId>string</EmployerId>
<SourceAccountType>string</SourceAccountType>
<SourcePlanId>string</SourcePlanId>
<SourcePlanStartDate>string</SourcePlanStartDate>
<SourcePlanEndDate>string</SourcePlanEndDate>
<TargetAccountType>string</TargetAccountType>
<TargetPlanId>string</TargetPlanId>
<TargetPlanStartDate>string</TargetPlanStartDate>
<TargetPlanEndDate>string</TargetPlanEndDate>
<RolloverDate>string</RolloverDate>
<Rollover_x0020_Amount>decimal</Rollover_x0020_Amount>
<Rollover_x0020_Rate>decimal</Rollover_x0020_Rate>
<Individual_x0020_Rollover_x0020_Amount>decimal</Individual_x0020_Rollover_x0020_Amount>
<Individual_x0020_Rollover_x0020_Rate>decimal</Individual_x0020_Rollover_x0020_Rate>
<Fund_x0020_Rollover_x0020_Type>short</Fund_x0020_Rollover_x0020_Type>
<Employee_x0020_ID>string</Employee_x0020_ID>
</GetFlexAccountRolloverResponse>
</GetFlexAccountRolloverSettingsResult>
</Response>
</soap:Body>
</soap:Envelope>

Example client code

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

GetFlexAccountRolloverSettings method.

try
{
string str = "Nothing found.";
// create new SOAP header for the user’s current session id
localhost.MBISessionHeader sh = new localhost.MBISessionHeader();
// create the proxy object for the service
localhost.FlexAccountRolloverSettingsService proxy = new localhost.FlexAccountRolloverSettingsService();
// set the parameters for the web method call
request.TpaId = "T00209";
request.PlanId = “FSA2009”;
request.EmprId = “JCP0001”;
request.PlanYrStartDte = “20090101”;
request.PlanYrEndDte = “20091231”;
request.AcctTypeCde = “FSA”;
// Add the session SOAP header so that the service knows who we are.
// Note that we stored the session ID in a member variable after
// logged in to the system for future web method calls.
sh.MBISessionID = _sessionID;
proxy.MBISessionHeaderValue = sh;
// call the web method.
// Note that the responses variable will have a null value
// if no record were found.
response = proxy.GetFlexAccountRolloverRequest(request);
if(response!=null)
{
// perform needed operations with data
}
else
{
MessageBox.Show(str);
}
}
catch(SoapException se)
{
// perform needed operations
}
catch(Exception ex)
{
// perform needed operations
}

UpdateFlexAccountRolloverSettings

This method is used to update the fund rollover settings for Flex accounts.

History

The UpdateFlexAccountRolloverSettings methods are listed below:

Request messages:

  • UpdateFlexAccountRolloverRequest

Response messages:

  • UpdateFlexAccountRolloverResponse

Method request/response messages

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

The table below includes the following request messages:

  • UpdateFlexAccountRolloverRequest
  • TpaIdstring       required
    Unique identified assigned to each administrator.
    First Available Version:UpdateFlexAccountRolloverRequest
  • EmployerIdstring        required
    The unique identifier of the employer.
    First Available Version:UpdateFlexAccountRolloverRequest
  • SourcePlanIdstringrequired
    The plan id of the source plan.
    First Available Version:UpdateFlexAccountRolloverRequest
  • SourcePlanAccountTypeCodestringrequired
    The source plan account type code.
    First Available Version:UpdateFlexAccountRolloverRequest
  • SourcePlanYearStartDatestringrequired
    The source plan start date.
    First Available Version:UpdateFlexAccountRolloverRequest
  • SourcePlanYearEndDatestringrequired
    The source plan end date.
    First Available Version:UpdateFlexAccountRolloverRequest
  • FundRolloverDatestringrequired
    The date the fund rollover occurs. 
    Format = YYYYMMDD
    Must be on or after the source plan's end date.
    First Available Version:UpdateFlexAccountRolloverRequest
  • FundRolloverTypeEnum       required
    One of the following types:
    None
    AllFunds
    Cap
    Percentage
    CapAndPercentage
    First Available Version:UpdateFlexAccountRolloverRequest
  • RolloverCapAmountdecimal  required
    Maximum amount of Family Funds to be rolled over.  
    First Available Version:UpdateFlexAccountRolloverRequest
  • RolloverRatedecimal  required
    Indicates % of remaining Family funds to be rolled over to next plan year on rollover date (Must specify rollover date).
    First Available Version:UpdateFlexAccountRolloverRequest
  • IndividualRolloverCapAmountdecimal  
    Maximum amount of Individual Funds to be rolled over.
    First Available Version:UpdateFlexAccountRolloverRequest
  • IndividualRolloverRatedecimal  
    Indicates % of remaining individual funds to be rolled over on rollover date. 
    First Available Version:UpdateFlexAccountRolloverRequest
  • TargetAccountTypeCodestring        required
    Target Plan Account Type Code
    First Available Version:UpdateFlexAccountRolloverRequest
  • TargetPlanIdstring        required
    Target Plan ID.
    First Available Version:UpdateFlexAccountRolloverRequest
  • TargetPlanYearStartDatestring        required
    Target Plan Start Date.
    Format = YYYYMMDD
    First Available Version:UpdateFlexAccountRolloverRequest
  • TargetPlanYearEndDatestring        required
    Target Plan End Date. Format = YYYYMMDD
    First Available Version:UpdateFlexAccountRolloverRequest
  • EmployeeIdstring        required
    Unique employee Id.
    First Available Version:UpdateFlexAccountRolloverRequest
  • MinimumRolloverAmountofFunddecimal  
    Administrators can specify aminimum rollover amount. If an amount is specified, then the sourceaccount must have a disbursablebalance greater than or equal to the Minimum Rollover Amount in order for rollover to occur.If the source account has a disbursable balance less than the Minimum Rollover Amount, then the account will be EXCLUDED from fund rollover.
    Administrators can specify only positive dollar amounts. The amount must be greater than 0.00.
    The default value is NULL, which indicates there is no Minimum Rollover Amount and no accounts will be excluded.
    First Available Version:UpdateFlexAccountRolloverRequest
    Max Length:10

Response message: Empty response.

 

Example of UpdateFlexAccountRolloverSettings SOAP request message

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
<MBISessionID>string</MBISessionID>
</MBISessionHeader>
</soap:Header>
<soap:Body>
<UpdateFlexAccountRolloverRequest
xmlns="http://www.medibank.com/MBIWebServices/Plan/Service/FlexAccountRollover/Request/2008/07/">
<request>
<TpaId>string</TpaId>
<EmployerId>string</EmployerId>
<SourcePlanId>string</SourcePlanId>
<SourcePlanAccountTypeCode>string</SourcePlanAccountTypeCode>
<SourcePlanYearStartDate>string</SourcePlanYearStartDate>
<SourcePlanYearEndDate>string</SourcePlanYearEndDate>
<FundRolloverDate>string</FundRolloverDate>
<FundRolloverType xmlns="http://www.medibank.com/MBIWebServices/Enums/">None or AllFunds or Cap or Percentage
or CapAndPercentage</FundRolloverType>
<RolloverCapAmount>decimal</RolloverCapAmount>
<RolloverRate>decimal</RolloverRate>
<IndividualRolloverCapAmount>decimal</IndividualRolloverCapAmount>
<IndividualRolloverRate>decimal</IndividualRolloverRate>
<TargetAccountTypeCode>string</TargetAccountTypeCode>
<TargetPlanId>string</TargetPlanId>
<TargetPlanYearStartDate>string</TargetPlanYearStartDate>
<TargetPlanYearEndDate>string</TargetPlanYearEndDate>
<EmployeeId>string</EmployeeId>
</request>
</UpdateFlexAccountRolloverRequest>
</soap:Body>
</soap:Envelope>

Example of UpdateFlexAccountRolloverSettings SOAP response message

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<MBIMessageIdHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
<MessageId>string</MessageId>
</MBIMessageIdHeader>
</soap:Header>
<soap:Body>
<UpdateFlexAccountRolloverResponse
xmlns="http://www.medibank.com/MBIWebServices/Plan/Service/FlexAccountRollover/Response/2008/07/">
<UpdateFlexAccountRolloverSettingsResult />
</UpdateFlexAccountRolloverResponse>
</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 UpdateFlexAccountRolloverSettings web method.

try
{
// create new SOAP header for the user’s current session id
localhost.MBISessionHeader sh = new localhost.MBISessionHeader();
// create the proxy object for the service
localhost.FlexAccountRolloverSettinsService proxy = new localhost.FlexAccountRolloverSettinsService();
// create a new request object for the method’s parameters
localhost.UpdateFlexAccountRolloverSettings request = new localhost. UpdateFlexAccountRolloverSettings();
// set the parameters for the web method call
request.TpaId = "T00021";
request.EmployerId = “WWW888;
request.SourcePlanId = “FSA2008”;
request.SourcePlanAccountTypeCode = “FSA”;
request.SourcePlanYearStartDate = “20080101”;
request.SourcePlanYearEndDate = “20081231”;
request.FundRolloverDate = “20090301”;
request.FundRolloverType = FundRolloverType.AllFunds;
request.RolloverCapAmount = 3000.00d;
request.RolloverRate = 85.00d;
request.TargetAccountTypeCode = “FSA”;
request.TargetPlanId = “FSA2009”;
request.TargetPlanYearStartDate = “20090101”;
request.TargetPlanYearEndDate = “20091231”;
request.EmployeeId = “JaneD”;
// Add the session SOAP header so that the service knows who we are.
// Note that we stored the session ID in a member variable after
// logged in to the system for future web method calls.
sh.MBISessionID = _sessionID;
proxy.MBISessionHeaderValue = sh;
// Call the web method.
proxy. AddFlexAccountRolloverSettings(request);
MessageBox.Show("Finished");
}
catch(SoapException se)
{
// perform needed operations
}
catch(Exception ex)
{
// perform needed operations
}