TPA Default Plan API | Administrative - SOAP
The administrator default plan service provides functionality for reading, adding, updating, and deleting default plans.
Service web methods
The following is a list of methods that are
provided by the administrator default plan service.
- DeleteDefaultPlan – used to delete administrator default Plan information.
- UpdateDefaultBenefitPlan – used to update administrator default plan information.
- AddDefaultBenefitPlan – used to add administrator default benefit plan information.
- GetDefaultPlans – used to retrieve administrator default plans.
- GetDefaultPlan – used to get administrator default plan information.
- GetAccountTypeCodes – used to retrieve available account type codes.
The DefaultPlan service makes the following assumptions as well as 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 the DefaultPlan Service. This facilitates better performance and accurate processing on both systems.
- Clients shall not attempt to use the DefaultPlan 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.
DeleteDefaultPlan
This method is used to delete the default plan information.
History
The DeleteDefaultPlan methods are listed below:
- DeleteDefaultPlanRequest
- DeleteDefaultPlanResponse
The DeleteDefaultPlan method requires the following request and response messages (input and output data). The table below includes the following request message:
- DeleteDefaultPlanRequest
- TpaIDStringrequiredA unique identifier used to identify your admin instance. This value was system generated with the admin instance was created.
First Available Version: DeleteDefaultPlanRequest - AccountType CodeStringrequiredThree character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, and so on).
First Available Version: DeleteDefaultPlanRequest
Response message: Empty message
Example of a DeleteDefaultPlan SOAP request message:
<?xml version="1.0" encoding="utf8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"
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>qe4ahviw4xkhb045kipoid2b</MBISessionID>
</MBISessionHeader>
</soap:Header>
<soap:Body>
<DeleteDefaultPlanRequest xmlns="http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Request/2004/06/">
<deleteDefaultPlanRequest>
<Id>T00209</Id>
<AccountTypeCode>ACO</AccountTypeCode>
</deleteDefaultPlanRequest>
</DeleteDefaultPlanRequest>
</soap:Body>
</soap:Envelope>
Example of a DeleteDefaultPlan SOAP response message
<?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>
<DeleteDefaultPlanResponse
xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/EmployerLogicalBankAccount/Response/2004/06/"> < DeleteDefaultPlanResult/>
</ DeleteDefaultPlanResponse >
</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 deleting a
default plan.
try
{
// Create the session SOAP header in order to pass the Service
// the client’s current session id.
mbiSessionHeader = new DefaultPlanServiceNameSpace.MBISessionHeader();
// Create proxy object for the service
proxy = new DefaultPlanServiceNameSpace.DefaultPlanService();
// Create request message for method call (input parameters)
request = new DefaultPlanServiceNameSpace.DeleteDefaultPlanRequest();
request.AccountTypeCode = _AccountTypeCode.Text;
request.Id = _Id.Text;
// session ID returned from login method
mbiSessionHeader.MBISessionID = _sessionId.Text;
proxy.MBISessionHeaderValue = mbiSessionHeader;
// Call the method
response = proxy.AddEmployerLogicalBankAccount(request);
MessageBox.Show("Finished.");
}
catch(SoapException se)
{
// perform needed operations
}
UpdateDefaultBenefitPlan
This method is used to update default benefit plan information.
History
The UpdateDefaultBenefitPlan methods are listed below:
- UpdateDefaultBenefitPlan_2013_06 • UpdateDefaultBenefitPlan_2008_07
- UpdateDefaultBenefitPlan_2007_12
- UpdateDefaultBenefitPlanRequest
Response message
The UpdateDefaultBenefitPlan method requires the following request and response messages (input and output data). The table below includes the following request message:
- UpdateDefaultBenefitPlan_2008_07
- UpdateDefaultBenefitPlan_2007_12
- UpdateDefaultBenefitPlanRequest
- AccountTypeCodeStringrequiredThree character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, etc..)
First Available Version: UpdateDefaultBenefitPlanRequest - ConvenienceFeeAmountDecimalrequiredConvenience amount charged for each POS transaction Only used if employee is paying the fee
First Available Version: UpdateDefaultBenefitPlanRequest - ConvenienceFeePayorEnumerationrequiredWho will pay the convenience fee. Valid values are:
None
Administrator
Employer
Employee
Note: "none" indicates that no fee is appliedFirst Available Version: UpdateDefaultBenefitPlanRequest Default Values: None
- GracePeriodEndDateDate requiredThe grace period end date. After this date, a warning displays when transactions are applied to this account type.
First Available Version: UpdateDefaultBenefitPlanRequest - SpendingLimitPeriodEnumerationDetermines 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.
None
Month
YearFirst Available Version: UpdateDefaultBenefitPlanRequest - SpendingDepositAmountDecimalMaximum amount to be deposited, during the spending Limit period.
First Available Version: UpdateDefaultBenefitPlanRequest - SpendingTransactionAmountDecimalMaximum amount to be withdrawn, during the spending limit period.
First Available Version: UpdateDefaultBenefitPlanRequest - PayCycleTypeCodeEnumerationrequiredPay cycle type for auto deposits:
NoAutoDeposit
Annual
BiWeekly
Monthly
SemiMonthly
WeeklyFirst Available Version: UpdateDefaultBenefitPlanRequest Default Values: NoAutoDeposit
- MaxTransactionAmountDecimalrequiredMaximum amount per transaction
First Available Version: UpdateDefaultBenefitPlanRequest - MaxTotalAmountDecimalrequiredMaximum amount to be paid during the accounts date range.
First Available Version: UpdateDefaultBenefitPlanRequest - PlanYearStartDateDaterequiredDate the account type starts
First Available Version: UpdateDefaultBenefitPlanRequest - PlanYearEndDateDaterequiredDate the account type ends.
First Available Version: UpdateDefaultBenefitPlanRequest - PlanDesignIdStringPlan design id. Some possible values: DCAP, EDUC, HLTH, etc..
First Available Version: UpdateDefaultBenefitPlanRequest - TpaIDStringA unique identifier used to identify your admin instance. This value was system generated with the admin instance was created.
First Available Version: UpdateDefaultBenefitPlanRequest - IiasSettingsEnumerationIndicates if and how IIAS is used for this plan. Valid options are:
0 = IIAS disabled (Default)
1 = IIAS Enabled for HET
2 = IIAS and Specific healthcare amount
4= IIAS Walgreens
8 = IIAS SIGIS
By making this selection to enable IIAS, Iyou are agreeing to the terms and conditions of the IIAS terms of use.First Available Version: UpdateDefaultBenefitPlanRequest_2007_12 - IiasOptionsEnumerati onIf IIAS Enabled = 0, then send IIAS Options = 0
If IIAS Enabled = 1, then 0 indicates HET
If IIAS Enabled = 2, then send the following IIAS Options value of 1 = RX
Note: The IIAS Options field is used by the administrator when not using HET. Rx and OTC are the only supported options at this time.
The options are:
0 = No, Healthcare Specific(Default)
1 = RxFirst Available Version: UpdateDefaultBenefitPlanRequest_2007_12 - DefaultDepositCalendarIdStringThis is the calendar id of the auto-deposit calendar.
First Available Version: UpdateDefaultBenefitPlanRequest_2008_07 - HidePlanFromParticipantBooleanThis setting dictates whether an account on this plan will show to the participant in WCP/WCM or if it will be returned on Participant API responses
0 (false) - accounts on this plan will be shown in WCP/WCM and be returned on Participant API responses
1 (true) - accounts on this plan will not be shown in WCP/WCM and will not be returned on Participant API responsesFirst Available Version: UpdateDefaultBenefitPlanRequest_2013_06 Default Values: FALSE
Response Message: Empty Message
Example of an UpdateDefaultBenefitPlan SOAP request message:
<?xml version="1.0" encoding="utf8" ?>
<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>qe4ahviw4xkhb045kipoid2b</MBISessionID> </MBISessionHeader>
</soap:Header> <soap:Body>
<UpdateDefaultBenefitPlan xmlns= "http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Request/2004/06/" > <updateDefaultBenefitPlanRequest>
<AccountTypeCode>ACO</AccountTypeCode>
<GracePeriodEndDate>2005-12-31</GracePeriodEndDate>
<SpendingDepositAmount>0</SpendingDepositAmount>
<SpendingTransactionAmount>0</SpendingTransactionAmount>
<MaxTransactionAmount>0</MaxTransactionAmount>
<MaxTotalAmount>0</MaxTotalAmount>
<PlanYearStartDate>2005-01-01</PlanYearStartDate>
<PlanYearEndDate>2005-12-31</PlanYearEndDate>
< PayCycleTypeCode>Annual</ PayCycleTypeCode>
<Id>T00209</Id>
</updateDefaultBenefitPlanRequest>
</UpdateDefaultBenefitPlan>
</soap:Body>
</soap:Envelope>
Example of an UpdateDefaultBenefitPlan SOAP response message:
<?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>
<UpdateDefaultBenefitPlanResponse
xmlns="http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Response/2004/06/ ">
<UpdateDefaultBenefitPlanResult/>
</UpdateDefaultBenefitPlanResponse >
</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 updating a
default plan design using the UpdateDefaultBenefitPlan web method.
try
{
// Create the session SOAP header in order to pass the Service // the client’s current session id.
mbiSessionHeader = new DefaultPlanServiceNameSpace.MBISessionHeader();
// Create proxy object for the service
proxy = new DefaultPlanServiceNameSpace.DefaultPlanService();
// Create the request object
request = new DefaultPlanServiceNameSpace.UpdateDefaultBenefitPlanRequest(); request.AccountTypeCode = _AccountTypeCode.Text;
request.ConvenienceFeeAmount = Convert.ToDecimal(_ConvenienceFeeAmount.Text); request.ConvenienceFeePayor =
(DefaultPlanServiceNameSpace.ConvenienceFeePayor)Enum.Parse(typeof(DefaultPlanServiceNameSpace.ConvenienceFeeP ayor),_ConvenienceFeePayor.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 =
(DefaultPlanServiceNameSpace.PayCycleType)Enum.Parse(typeof(DefaultPlanServiceNameSpace.PayCycleType),_PayCycleT ypeCode.Text);
request.PlanYearEndDate = Convert.ToDateTime(_PlanYearEndDate.Text); request.PlanYearStartDate = Convert.ToDateTime(_PlanYearStartDate.Text); request.SpendingDepositAmount = Convert.ToDecimal(_SpendingDepositAmount.Text); request.SpendingLimitPeriod =
(DefaultPlanServiceNameSpace.IntervalType)Enum.Parse(typeof(DefaultPlanServiceNameSpace.IntervalType),_SpendingLimit
Period.Text);
request.SpendingTransactionAmount = Convert.ToDecimal(_SpendingTransactionAmount.Text); request.Id = _Id.Text;
mbiSessionHeader.MBISessionID = _sessionId;
response = proxy.UpdateDefaultBenefitPlan(request);
MessageBox.Show("Finished");
}
catch(SoapException se)
{
MessageBox.Show(Formatter.FormatSoapException(se));
}
catch(Exception ex)
{
MessageBox.Show("EXCEPTION:" + ex.Message);
}
AddDefaultBenefitPlan
This method is used to add a default benefit plan.
History
The AddDefaultBenefitPlan methods are listed below:
- AddDefaultBenefitPlan_2013_06
- AddDefaultBenefitPlan_2008_07
- AddDefaultBenefitPlan_2007_12
- AddDefaultBenefitPlanRequest
- AddDefaultBenefitPlanResponse
AddDefaultBenefitPlan request/response messages
- AddDefaultBenefitPlan_2008_07
- AddDefaultBenefitPlan_2007_12
- AddDefaultBenefitPlanRequest
- AccountTypeCodeStringrequiredThree character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, etc…)
First Available Version: AddDefaultBenefitPlanRequest - ConvenienceFeeAmountDecimalrequiredConvenience amount charged for each POS transaction. Only used if the employee is paying the fee.
First Available Version: AddDefaultBenefitPlanRequest - ConvenienceFeePayorEnumerationrequiredWho will pay the convenience fee. Valid values are:
None
Administrator
Employer
Employee
Note: "none" indicates that no fee is appliedFirst Available Version: AddDefaultBenefitPlanRequest Default Values: None
- GracePeriodEndDateDate requiredThe grace period end date. After this date, a warning displays when transactions are applied to this account type.
First Available Version: AddDefaultBenefitPlanRequest - SpendingLimitPeriodEnumerationDetermines 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.
None
Month
YearFirst Available Version: AddDefaultBenefitPlanRequest Default Values: None
- SpendingDepositAmountDecimalMaximum amount to be deposited, during the spending Limit period.
First Available Version: AddDefaultBenefitPlanRequest - SpendingTransactionAmountDecimalMaximum amount to be withdrawn, during the spending limit period.
First Available Version: AddDefaultBenefitPlanRequest - PayCycleTypeCodeEnumerationrequiredPay cycle type for auto deposits:
NoAutoDeposit
Annual
BiWeekly
Monthly
SemiMonthly
WeeklyFirst Available Version: AddDefaultBenefitPlanRequest Default Values: NoAutoDeposit
- MaxTransactionAmountDecimalrequiredMaximum amount per transaction
First Available Version: AddDefaultBenefitPlanRequest - MaxTotalAmountDecimalrequiredMaximum amount to be paid during the accounts date range.
First Available Version: AddDefaultBenefitPlanRequest - PlanYearStartDateDaterequiredDate the account type starts
First Available Version: AddDefaultBenefitPlanRequest - PlanYearEndDateDaterequiredDate the account type ends.
First Available Version: AddDefaultBenefitPlanRequest - TpaIDStringrequiredA unique identifier used to identify your admin instance. This value was system generated with the admin instance was created.
First Available Version: AddDefaultBenefitPlanRequest - IiasSettingsEnumerationIndicates if and how IIAS is used for this plan. Valid options are:
0 = IIAS disabled (Default)
1 = IIAS Enabled for HET
2 = IIAS and Specific healthcare amount
4= IIAS Walgreens
8 = IIAS SIGIS
By making this selection to enable IIAS, Iyou are agreeing to the terms and conditions of the IIAS terms of use.First Available Version: AddDefaultBenefitPlanRequest_2007_12 - IiasOptionsEnumerationIf IIAS Enabled = 0, then send IIAS Options = 0
If IIAS Enabled = 1, then 0 indicates HET
If IIAS Enabled = 2, then send the following IIAS Options value of 1 = RX
Note: The IIAS Options field is used by the administrator when not using HET. Rx and OTC are the only supported options at this time.
The options are:
0 = No, Healthcare Specific(Default)
1 = RxFirst Available Version: AddDefaultBenefitPlanRequest_2007_12 - DefaultDepositCalendarIdStringThis is the calendar id of the autodeposit calendar.
First Available Version: AddDefaultBenefitPlanRequest_2008_07 - HidePlanFromParticipantEnumerationThis setting dictates whether an account on this plan will show to the participant in WCP/WCM or if it will be returned on Participant API responses
0 (false) - accounts on this plan will be shown in WCP/WCM and be returned on Participant API responses
1 (true) - accounts on this plan will not be shown in WCP/WCM and will not be returned on Participant API responsesFirst Available Version: AddDefaultBenefitPlanRequest_2013_06 Default Values: FALSE
Response message: Empty message
Example of an AddDefaultBenefitPlan SOAP request message:
<?xml version="1.0" encoding="utf8" ?>
<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>qe4ahviw4xkhb045kipoid2b</MBISessionID> </MBISessionHeader>
</soap:Header>
<soap:Body>
<AddDefaultBenefitPlanRequest xmlns="http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Request/2004/06/">
<addDefaultBenefitPlanRequest>
<AccountTypeCode>ACO</AccountTypeCode>
<ConvenienceFeeAmount>0</ConvenienceFeeAmount>
<GracePeriodEndDate>2005-12-31</GracePeriodEndDate>
<SpendingDepositAmount>0</SpendingDepositAmount>
<SpendingTransactionAmount>0</SpendingTransactionAmount>
<MaxTransactionAmount>0</MaxTransactionAmount>
<MaxTotalAmount>0</MaxTotalAmount>
<PlanYearStartDate>2005-01-01</PlanYearStartDate>
<PlanYearEndDate>2005-12-31</PlanYearEndDate>
<PayCycleTypeCode>Annual</ PayCycleTypeCode>
<Id>T00209</Id>
</addDefaultBenefitPlanRequest>
</AddDefaultBenefitPlanRequest>
</soap:Body>
</soap:Envelope>
Example of an AddDefaultBenefitPlan SOAP response message
<?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>
<AddDefaultBenefitPlanResponse
xmlns="http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Response/2004/06/ "> < AddDefaultBenefitPlanResult/>
</ AddDefaultBenefitPlanResponse >
</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 adding a default benefit plan using the AddDefaultBenefitPlan web method.
try
{
// Create the session SOAP header in order to pass the Service // the client’s current session id.
mbiSessionHeader = new DefaultPlanServiceNameSpace.MBISessionHeader();
// Create proxy object for the service
proxy = new DefaultPlanServiceNameSpace.DefaultPlanService();
// Create the request object
request = new DefaultPlanServiceNameSpace.AddDefaultBenefitPlanRequest();
request.AccountTypeCode = _AccountTypeCode.Text; request.ConvenienceFeeAmount = Convert.ToDecimal(_ConvenienceFeeAmount.Text); request.ConvenienceFeePayor =
(DefaultPlanServiceNameSpace.ConvenienceFeePayor)Enum.Parse(typeof(DefaultPlanServiceNameSpace.ConvenienceFeeP ayor),_ConvenienceFeePayor.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 =
(DefaultPlanServiceNameSpace.PayCycleType)Enum.Parse(typeof(DefaultPlanServiceNameSpace.PayCycleType),_PayCycleT ypeCode.Text);
request.PlanYearEndDate = Convert.ToDateTime(_PlanYearEndDate.Text); request.PlanYearStartDate = Convert.ToDateTime(_PlanYearStartDate.Text); request.SpendingDepositAmount = Convert.ToDecimal(_SpendingDepositAmount.Text); request.SpendingLimitPeriod =
(DefaultPlanServiceNameSpace.IntervalType)Enum.Parse(typeof(DefaultPlanServiceNameSpace.IntervalType),_SpendingLimit Period.Text); request.SpendingTransactionAmount = Convert.ToDecimal(_SpendingTransactionAmount.Text); request.Id = _Id.Text;
mbiSessionHeader.MBISessionID = _sessionId;
response = proxy.AddDefaultBenefitPlan(request);
MessageBox.Show("Finished");
}
catch(SoapException se)
{
MessageBox.Show(Formatter.FormatSoapException(se));
}
catch(Exception ex)
{
MessageBox.Show("EXCEPTION:" + ex.Message);
}
GetDefaultPlans
This method is used to return information about the administrator’s default plans.
History
The GetDefaultPlans methods are listed below:
- GetDefaultPlansRequest_2007_12
- GetDefaultPlansRequest
- GetDefaultPlansResponse_2008_07
- GetDefaultPlansResponse_2007_12
- GetDefaultPlansResponse
GetDefaultPlans request/response messages
- GetDefaultPlans_2007_12
- GetDefaultPlansRequest
- TpaIdStringrequiredUnique identifier assigned to each administrator.
First Available Version: GetDefaultPlansRequest - VerboseModeBooleanrequiredOptional, 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: GetDefaultPlansRequest Default Values: FALSE
- QueryIiasBooleanTo see IIAS-specific settings on the plan, set this to True.
First Available Version: GetDefaultPlansRequest_2007_12 Default Values: FALSE
- GetDefaultPlans_2008_07
- GetDefaultPlansResponse_2007_12
- GetDefaultPlansResponse
- AccountTypeCodeStringThree character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, etc…)
First Available Version: GetDefaultPlansResponse - ConvenienceFeeAmountDecimalConvenience amount charged for each POS transaction. Only used if employee is paying the fee.
First Available Version: GetDefaultPlansResponse - ConvenienceFeePayorEnumerationWho will pay the convenience fee. Valid values are:
None
Administrator
Employer
Employee
Note: "none" indicates that no fee is appliedFirst Available Version: GetDefaultPlansResponse - SpendingLimitPeriodEnumerationDetermines 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.
None
Month
YearFirst Available Version: GetDefaultPlansResponse - SpendingDepositAmountDecimalMaximum amount to be deposited, during the spending Limit period.
First Available Version: GetDefaultPlansResponse - SpendingTransactionAmountDecimalMaximum amount to be withdrawn, during the spending limit period.
First Available Version: GetDefaultPlansResponse - PayCycleTypeCodeEnumerationPay cycle type for auto deposits:
NoAutoDeposit
Annual
BiWeekly
Monthly
SemiMonthly
WeeklyFirst Available Version: GetDefaultPlansResponse - MaxTransactionAmountDecimalMaximum amount per transaction
First Available Version: GetDefaultPlansResponse - MaxTotalAmountDecimalMaximum amount to be paid during the accounts date range.
First Available Version: GetDefaultPlansResponse - TpaIdStringA unique identifier used to identify your admin instance. This value was system generated with the admin instance was created.
First Available Version: GetDefaultPlansResponse - IiasSettingsEnumerationIndicates if and how IIAS is used for this plan. Valid options are:
0 = IIAS disabled (Default)
1 = IIAS Enabled for HET
2 = IIAS and Specific healthcare amount
4= IIAS Walgreens
8 = IIAS SIGIS
By making this selection to enable IIAS, Iyou are agreeing to the terms and conditions of the IIAS terms of use.First Available Version: GetDefaultPlansResponse_2007_12 - IiasOptionsEnumerationIf IIAS Enabled = 0, then send IIAS Options = 0
If IIAS Enabled = 1, then 0 indicates HET
If IIAS Enabled = 2, then send the following IIAS Options value of 1 = RX
Note: The IIAS Options field is used by the administrator when not using HET. Rx and OTC are the only supported options at this time.
The options are:
0 = No, Healthcare Specific(Default)
1 = RxFirst Available Version: GetDefaultPlansResponse_2007_12 - DefaultDepositCalendarIdStringThis is the calendar id of the auto-deposit calendar.
First Available Version: GetDefaultPlansResponse_2008_07 - HidePlanFromParticipantBooleanThis setting dictates whether an account on this plan will show to the participant in WCP/WCM or if it will be returned on Participant API responses
0 (false) - accounts on this plan will be shown in WCP/WCM and be returned on Participant API responses
1 (true) - accounts on this plan will not be shown in WCP/WCM and will not be returned on Participant API responsesFirst Available Version: GetDefaultPlansResponse_2013_06
Example of a GetDefaultPlans SOAP request message:
<?xml version="1.0" encoding="utf8" ?>
<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>qe4ahviw4xkhb045kipoid2b</MBISessionID> </MBISessionHeader>
</soap:Header>
<soap:Body>
<GetDefaultPlansRequest xmlns="http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Request/2004/06/">
<getDefaultPlansRequest>
<Id>T00209</Id>
</getDefaultPlansRequest>
</GetDefaultPlansRequest>
</soap:Body>
</soap:Envelope>
Example of a GetDefaultPlans SOAP response message:
<?xml version="1.0" encoding="utf8" ?>
<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/">
<MessageId>da19522eaf6f4ffabdf90f3742e2c7db</MessageId>
</MBIMessageIdHeader>
</soap:Header> <soap:Body>
<GetDefaultPlansResponse xmlns="http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Response/2004/06/">
<GetDefaultPlansResult>
<GetDefaultPlansResponse>
<AccountTypeCode>DCAP</AccountTypeCode>
<ConvenienceFeeAmount>0</ConvenienceFeeAmount>
<SpendingLimitPeriod xmlns="http://www.medibank.com/MBIWebServices/Enums/">Month</SpendingLimitPeriod>
<SpendingDepositAmount>400.0000</SpendingDepositAmount>
<SpendingTransactionAmount>20.0000</SpendingTransactionAmount>
<MaxTransactionAmount>5000.0000</MaxTransactionAmount>
<MaxTotalAmount>1.0000</MaxTotalAmount>
<Id>T00209</Id>
</GetDefaultPlansResponse>
</GetDefaultPlansResult>
</GetDefaultPlansResponse>
</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 retrieving information about the default plan's using the GetDefaultPlans web method.
try
{
// Create the session SOAP header in order to pass the Service // the client’s current session id.
mbiSessionHeader = new DefaultPlanServiceNameSpace.MBISessionHeader();
// Create proxy object for the service
proxy = new DefaultPlanServiceNameSpace.DefaultPlanService();
// Create the request object
request = new DefaultPlanServiceNameSpace.GetDefaultPlansRequest(); request.Id = _Id.Text;
mbiSessionHeader.MBISessionID = _sessionId; proxy.MBISessionHeaderValue = mbiSessionHeader;
response = proxy.GetDefaultPlans(request);
}
catch(SoapException se)
{
MessageBox.Show(Formatter.FormatSoapException(se));
}
catch(Exception ex)
{
MessageBox.Show("EXCEPTION:" + ex.Message);
}
GetDefaultPlan
- GetDefaultPlan_2007_12
- GetDefaultPlanRequest
- TpaIdStringrequiredA unique identifier used to identify your admin instance. This value was system generated with the admin instance was created.
First Available Version: GetDefaultPlanRequest - AccountTypeCodeStringrequiredThree character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, etc…)
First Available Version: GetDefaultPlanRequest Default Values: “ ”
- VerboseModeBooleanOptional, 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: GetDefaultPlanRequest Default Values: FALSE
- QueryIiasBooleanTo see IIAS specific settings on the plan, set this to true.
First Available Version: GetDefaultPlanRequest_2007_12 Default Values: FALSE
- GetDefaultPlanResponse_2008_07
- GetDefaultPlanResponse_2007_12
- GetDefaultPlanResponse
- AccountTypeCodeStringThree character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, etc…)
First Available Version: GetDefaultPlanResponse - ConvenienceFeeAmountDecimalConvenience amount charged for each POS transaction. Only used if employee is paying the fee.
First Available Version: GetDefaultPlanResponse - ConveneinceFeePayorEnumerationWho will pay the convenience fee. Valid values are:
None
Administrator
Employer
Employee
Note: "none" indicates that no fee is appliedFirst Available Version: GetDefaultPlanResponse - GracePeriodEndDateStringThe grace period end date. After this date, a warning displays when transactions are applied to this account type.
First Available Version: GetDefaultPlanResponse - SpendingLimitPeriodEnumeratio nDetermines if this account type uses spending limits. Spending limits restrict the amount of money that can be deposited into or withdrawn from an account on a monthly or yearly basis.
None
Month
YearFirst Available Version: GetDefaultPlanResponse - SpendingDepositAmountDecimalMaximum amount to be deposited, during the spending limit period.
First Available Version: GetDefaultPlanResponse - SpendingTransactionAmountDecimalMaximum amount to be withdrawn, during the spending limit period.
First Available Version: GetDefaultPlanResponse - PayCycleTypeCodeEnumeratiionPay cycle type for auto deposits:
NoAutoDeposit
Annual
BiWeekly
Monthly
SemiMonthly
WeeklyFirst Available Version: GetDefaultPlanResponse - MaxTransactionAmountDecimalMaximum amount per transaction.
First Available Version: GetDefaultPlanResponse - MaxTotalAmountDecimalMaximum amount to be paid during the accounts date range.
First Available Version: GetDefaultPlanResponse - PlanYearStartDateStringDate the account type starts.
First Available Version: GetDefaultPlanResponse - PlanYearEndDateStringDate the account type ends.
First Available Version: GetDefaultPlanResponse - TpaIdStringA unique identifier used to identify your admin instance. This value was system generated with the admin instance was created.
First Available Version: GetDefaultPlanResponse - IiasSettingsEnumerationIndicates if and how IIAS is used for this plan. Valid options are:
0 = IIAS disabled (Default)
1 = IIAS Enabled for HET
2 = IIAS and Specific healthcare amount
4= IIAS Walgreens
8 = IIAS SIGIS
By making this selection to enable IIAS, Iyou are agreeing to the terms and conditions of the IIAS terms of use.First Available Version: GetDefaultPlanResponse - IiasOptionsEnumerationIf IIAS Enabled = 0, then send IIAS Options = 0
If IIAS Enabled = 1, then 0 indicates HET
If IIAS Enabled = 2, then send the following IIAS Options value of 1 = RX
Note: The IIAS Options field is used by the administrator when not using HET. Rx and OTC are the only supported options at this time.
The options are:
0 = No, Healthcare Specific(Default)
1 = RxFirst Available Version: GetDefaultPlanResponse - DefaultDepositCalendarIdStringThis is the calendar id of the auto-deposit calendar.
First Available Version: GetDefaultPlanResponse_2008_07 - HidePlanFromParticipantBooleanThis setting dictates whether an account on this plan will show to the participant in WCP/WCM or if it will be returned on Participant API responses
0 (false) - accounts on this plan will be shown in WCP/WCM and be returned on Participant API responses
1 (true) - accounts on this plan will not be shown in WCP/WCM and will not be returned on Participant API responsesFirst Available Version: GetDefaultPlanResponse_2013_06
Example of a GetDefaultPlan SOAP request message:
<?xml version="1.0" encoding="utf8" ?>
<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>qe4ahviw4xkhb045kipoid2b</MBISessionID>
</MBISessionHeader>
</soap:Header> <soap:Body>
<GetDefaultPlanRequest xmlns="http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Request/2004/06/">
<getDefaultPlanRequest>
<Id>T00209</Id>
<AccountTypeCode>ACO</AccountTypeCode>
</getDefaultPlanRequest>
</GetDefaultPlanRequest>
</soap:Body>
</soap:Envelope>
Example of a GetDefaultPlan SOAP response message
<?xml version="1.0" encoding="utf8" ?>
<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/">
<MessageId>26237082be024d7ab34d32624429c7fb</MessageId>
</MBIMessageIdHeader>
</soap:Header>
<soap:Body>
<GetDefaultPlanResponse xmlns="http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Response/2004/06/"> <GetDefaultPlanResult>
<AccountTypeCode>DCAP</AccountTypeCode>
<ConvenienceFeeAmount>0</ConvenienceFeeAmount>
<GracePeriodEndDate>2005-10-29</GracePeriodEndDate>
<SpendingLimitPeriod xmlns="http://www.medibank.com/MBIWebServices/Enums/">Month</SpendingLimitPeriod> <SpendingDepositAmount>400.0000</SpendingDepositAmount>
<SpendingTransactionAmount>20.0000</SpendingTransactionAmount>
<MaxTransactionAmount>5000.0000</MaxTransactionAmount>
<MaxTotalAmount>1.0000</MaxTotalAmount>
<PlanYearStartDate>2004-10-25</PlanYearStartDate>
<PlanYearEndDate>2005-10-25</PlanYearEndDate>
<Id>T00209</Id>
</GetDefaultPlanResult>
</GetDefaultPlanResponse>
</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 retrieving a default plan using the GetDefaultPlan web method.
try
{
// Create the session SOAP header in order to pass the Service // the client’s current session id.
mbiSessionHeader = new DefaultPlanServiceNameSpace.MBISessionHeader();
// Create proxy object for the service
proxy = new DefaultPlanServiceNameSpace.DefaultPlanService();
// Create the request object
request = new DefaultPlanServiceNameSpace.GetDefaultPlanRequest(); request.Id = _Id.Text; request.AccountTypeCode = _AccountTypeCode.Text;
mbiSessionHeader.MBISessionID = _sessionId;
proxy.MBISessionHeaderValue = mbiSessionHeader;
response = proxy.GetDefaultPlan(request);
}
catch(SoapException se)
{
MessageBox.Show(Formatter.FormatSoapException(se));
}
catch(Exception ex)
{
MessageBox.Show("EXCEPTION:" + ex.Message);
}
GetAccountTypeCodes
This method is used to retrieve available account type codes.
History
The GetAccountTypeCodes methods are listed below:
- GetAccountTypeCodesRequest
- GetAccountTypeCodesResponse
The GetAccountTypeCodes method requires the following request and response messages (input and output data). The table below includes the following request message:
- GetAccountTypeCodesRequest
- GetAccountTypeCodesRequestTpaIdA unique identifier used to identify your admin instance. This value was system generated with the admin instance was created.
First Available Version: Y - GetAccountTypeCodesRequestTypeCodeAccount Type code:
BenefitPlan
PlanDesignFirst Available Version: Y
- GetAccountTypeCodesResponse
- AccountTypeCodeStringThree character abbreviation that indicates the type of account (FSA, DCA, TRN, HRA, etc…)
First Available Version: GetAccountTypeCodesResponse
Example of a GetAccountTypeCode SOAP request message:
<?xml version="1.0" encoding="utf8" ?>
<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>nj1jnh55me0skhj2gzcgja55</MBISessionID>
</MBISessionHeader>
</soap:Header> <soap:Body>
<GetAccountTypeCodes xmlns="http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Request/2004/06/"> <getAccountTypeCodesRequest>
<Id>T00209</Id>
<TypeCode xmlns="http://www.medibank.com/MBIWebServices/Enums/">PlanDesign</TypeCode> </getAccountTypeCodesRequest>
</GetAccountTypeCodes>
</soap:Body>
</soap:Envelope>
Example of a GetAccountTypeCode SOAP response message:
<?xml version="1.0" encoding="utf8" ?>
<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/">
<MessageId>7e8256265a484cc7acc67c99f6a39c62</MessageId>
</MBIMessageIdHeader>
</soap:Header>
<soap:Body>
<GetAccountTypeCodes xmlns="http://www.medibank.com/MBIWebServices//Messages/DefaultPlan/Response/2004/06/"> <GetAccountTypeCodesResult>
<GetAccountTypeCodesResponse>
<AccountTypeCode>EDUC</AccountTypeCode>
</GetAccountTypeCodesResponse>
<GetAccountTypeCodesResponse>
<AccountTypeCode>PRKG</AccountTypeCode>
</GetAccountTypeCodesResponse>
<GetAccountTypeCodesResponse>
<AccountTypeCode>TRAN</AccountTypeCode>
</GetAccountTypeCodesResponse>
<GetAccountTypeCodesResponse>
<AccountTypeCode>RXOY</AccountTypeCode>
</GetAccountTypeCodesResponse>
<GetAccountTypeCodesResponse>
<AccountTypeCode>PREM</AccountTypeCode>
</GetAccountTypeCodesResponse>
<GetAccountTypeCodesResponse>
<AccountTypeCode>HLT2</AccountTypeCode>
</GetAccountTypeCodesResponse>
<GetAccountTypeCodesResponse xsi:nil="true" />
</GetAccountTypeCodesResult>
</GetAccountTypeCodes>
</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 retrieving
account type codes using the GetAccountTypeCode web method.
try
{
// Create the session SOAP header in order to pass the Service // the client’s current session id.
mbiSessionHeader = new DefaultPlanServiceNameSpace.MBISessionHeader();
// Create proxy object for the service
proxy = new DefaultPlanServiceNameSpace.DefaultPlanService();
// Create the request object
request = new DefaultPlanServiceNameSpace.GetAccountTypeCodeRequest(); request.Id = _Id.Text; request.TypeCode =
(DefaultPlanServiceNameSpace.AcctType)Enum.Parse(typeof(DefaultPlanServiceNameSpace.AcctType),_AccountTypeCode.T ext,false);
mbiSessionHeader.MBISessionID = _sessionId; proxy.MBISessionHeaderValue = mbiSessionHeader;
response = proxy.GetAccountTypeCode(request);
}
catch(SoapException se)
{
MessageBox.Show(Formatter.FormatSoapException(se));
}
catch(Exception ex)
{
MessageBox.Show("EXCEPTION:" + ex.Message);
}