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

Request Body

  • TpaId string required
    Unique identified assigned to each administrator.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • EmployerId string required
    The unique identifier of the employer.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • SourcePlanId string required
    The plan id of the source plan.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • SourcePlanAccountTypeCode string required
    The source plan account type code.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • SourcePlanYearStartDate string required
    The source plan start date.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • SourcePlanYearEndDate string required
    The source plan end date.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • FundRolloverDate string required
    The date the fund rollover occurs.
    Format = YYYYMMDD
    Must be on or after the source plan's end date.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • FundRolloverType Enum required
    One of the following types:
    None
    AllFunds
    Cap
    Percentage
    CapAndPercentage
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • RolloverCapAmount decimal required
    Maximum amount of Family Funds to be rolled over.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • RolloverRate decimal required
    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:
  • IndividualRolloverCapAmount decimal
    Maximum amount of Individual Funds to be rolled over.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • IndividualRolloverRate decimal
    Indicates % of remaining individual funds to be rolled over on rollover date.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • TargetAccountTypeCode string required
    Target Plan Account Type Code
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • TargetPlanId string required
    Target Plan ID.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • TargetPlanYearStartDate string required
    Target Plan Start Date.
    Format = YYYYMMDD
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • TargetPlanYearEndDate string required
    Target Plan End Date. Format = YYYYMMDD
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • EmployeeId string required
    Unique employee Id.
    First Available Version: AddFlexAccountRolloverSettingsRequest
  • MinimumRolloverAmountofFund decimal
    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

Example Request Body
<?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>
            </request>
        </AddFlexAccountRolloverRequest>
    </soap:Body>
</soap:Envelope>

Example of AddFlexAccountRolloverSettings SOAP response message

Example Response Body
<?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.

C#
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

Request Body

  • TpaId string required
    Unique identified assigned to each administrator.
    First Available Version: GetFlexAccountRolloverRequest
  • PlanId string required
    The plan identifier.
    First Available Version: GetFlexAccountRolloverRequest
  • EmprId string required
    The unique identifier of the employer.
    First Available Version: GetFlexAccountRolloverRequest
  • PlanYrStartDte string required
    The plan year start date.
    Format = “YYYYMMDD”
    First Available Version: GetFlexAccountRolloverRequest
  • PlanYrEndDte string required
    The plan year end date. Format = “YYYYMMDD”
    First Available Version: GetFlexAccountRolloverRequest
  • AcctTypeCde string required
    The account type code.  Like FSA, DCA, etc..
    First Available Version: GetFlexAccountRolloverRequest

The table below includes the following request messages:

  • GetFlexAccountRolloverResponse

Response Body

  • TpaId string
    Unique identified assigned to each administrator
    First Available Version: GetFlexAccountRolloverResponse
  • EmployerId string
    The unique identifier of the employer
    First Available Version: GetFlexAccountRolloverResponse
  • TargetPlanStartDate string
    Target Plan Start Date.
    Format = YYYYMMDD
    First Available Version: GetFlexAccountRolloverResponse
  • TargetPlanEndDate string
    Target Plan End Date. Format = YYYYMMDD
    First Available Version: GetFlexAccountRolloverResponse
  • RolloverDate string
    The date the fund rollover occurs. 
    Format = YYYYMMDD
    First Available Version: GetFlexAccountRolloverResponse
  • Rollover_x0020_Amount decimal
    Maximum amount of Family Funds to be rolled over.
    First Available Version: GetFlexAccountRolloverResponse
  • Rollover_x0020_Rate decimal
    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_Amount decimal
    Maximum amount of Individual Funds to be rolled over.
    First Available Version: GetFlexAccountRolloverResponse
  • Individual_x0020_Rollov er_x0020_Rate decimal
    Indicates % of remaining individual funds to be rolled over on rollover date.
    First Available Version: GetFlexAccountRolloverResponse
  • Fund_x0020_Rollover_x 0020_Type short
    One of the following types:
    None
    AllFunds
    Cap
    Percentage
    CapAndPercentage
    First Available Version: GetFlexAccountRolloverResponse
  • Employee_x0020_ID string
    The Employee id.
    First Available Version: GetFlexAccountRolloverResponse

Example of GetFlexAccountRolloverSettings SOAP request message

Example Request Body
<?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

Example Response Body
<?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.

C#
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

UpdateFlexAccountRolloverSettings 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

Request Body

  • TpaId string required
    Unique identified assigned to each administrator.
    First Available Version: UpdateFlexAccountRolloverRequest
  • EmployerId string required
    The unique identifier of the employer.
    First Available Version: UpdateFlexAccountRolloverRequest
  • SourcePlanId string required
    The plan id of the source plan.
    First Available Version: UpdateFlexAccountRolloverRequest
  • SourcePlanAccountTypeCode string required
    The source plan account type code.
    First Available Version: UpdateFlexAccountRolloverRequest
  • SourcePlanYearStartDate string required
    The source plan start date.
    First Available Version: UpdateFlexAccountRolloverRequest
  • SourcePlanYearEndDate string required
    The source plan end date.
    First Available Version: UpdateFlexAccountRolloverRequest
  • FundRolloverDate string required
    The date the fund rollover occurs. 
    Format = YYYYMMDD
    Must be on or after the source plan's end date.
    First Available Version: UpdateFlexAccountRolloverRequest
  • FundRolloverType Enum required
    One of the following types:
    None
    AllFunds
    Cap
    Percentage
    CapAndPercentage
    First Available Version: UpdateFlexAccountRolloverRequest
  • RolloverCapAmount decimal required
    Maximum amount of Family Funds to be rolled over.
    First Available Version: UpdateFlexAccountRolloverRequest
  • RolloverRate decimal 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
  • IndividualRolloverCapAmount decimal
    Maximum amount of Individual Funds to be rolled over.
    First Available Version: UpdateFlexAccountRolloverRequest
  • IndividualRolloverRate decimal
    Indicates % of remaining individual funds to be rolled over on rollover date.
    First Available Version: UpdateFlexAccountRolloverRequest
  • TargetAccountTypeCode string required
    Target Plan Account Type Code
    First Available Version: UpdateFlexAccountRolloverRequest
  • TargetPlanId string required
    Target Plan ID.
    First Available Version: UpdateFlexAccountRolloverRequest
  • TargetPlanYearStartDate string required
    Target Plan Start Date.
    Format = YYYYMMDD
    First Available Version: UpdateFlexAccountRolloverRequest
  • TargetPlanYearEndDate string required
    Target Plan End Date. Format = YYYYMMDD
    First Available Version: UpdateFlexAccountRolloverRequest
  • EmployeeId string required
    Unique employee Id.
    First Available Version: UpdateFlexAccountRolloverRequest
  • MinimumRolloverAmountofFund decimal
    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

Example Request Body
<?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

Example Response Body
<?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.

C#
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.UpdateFlexAccountRolloverSettings(request);
    MessageBox.Show("Finished");
}
catch(SoapException se)
{
    // perform needed operations
}
catch(Exception ex)
{
    // perform needed operations
}

AI Assistant Preview

Generating response...