Dependent API | Administrative - SOAP

The Dependent Service provides clients dependent functionalities such as reading, adding, updating, and deleting dependents’ information. 

Important Note: In order to facilitate backward compatibility with all Web Services in use prior to June 4, 2005, either Employee (Dependent) Social Security Number (previously used as unique employee/dependent identifier) or Employee (Dependent) ID (new unique employee/dependent identifier) may be provided when required to uniquely identify an employee or dependent. If both are provided, the Employer (Dependent) ID is used as the unique identifier. When adding or updating employee or dependent demographic information (specifically, the “True” Social Security Number field), the following rules apply:
  1. If only the Employee (Dependent) ID is provided, it is used as the unique identifier, and the “True” SSN field is not be added or updated.
  2. If only the Employee (Dependent) Social Security Number is provided, it is be used as the unique identifier, and the “True” SSN field is not added or updated.
  3. If both the Employee (Dependent) ID and the Employee (Dependent) Social Security Number are provided, the Employee (Dependent) ID is used as the unique identifier and the Employee (Dependent) Social Security Number is used to add/update the “True” SSN.
Service Web Methods
The following is a list of methods that are provided by the Dependent Service.
  • AddDependent – used to add a dependent’s demographic information
  • DeleteDependent – used to remove information about a dependent
  • GetDependent- to get information about an employee’s dependent
  • GetDependents – used to retrieve an employee’s list of dependents
  • UpdateDependent – used to update a dependent’s demographic information that already exists

Service Assumptions/Business Rules
The Dependent Service makes the following assumptions as well as enforce the following business rules.
  • Clients shall conform to the WS-I specifications unless otherwise agreed upon by Alegeus Technologies and the administrator.
  • Clients shall format SOAP messages in a Document/Literal format over HTTPS.
  • Clients shall have already created a valid user ID and password.
  • Clients shall have a valid session ID after being authenticated by the system. The session ID needs to be passed in the proper manner as described in the Account Manager Service Guide.
  • If the administrator uses the same user ID and password for all of their clients, the administrators are 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.


 AddDependent

This method is used to add a dependent’s demographic information to the system.

History
The AddDependent methods are listed below:

Request Message
  • AddDependentRequest_2008_07
  • AddDependentRequest
Response Message
  • AddDependentResponse

AddDependent Request/Response Messages
The AddDependent method requires the following request and response messages (input and output data). The table below includes the following request message:
  • AddDependentRequest_2008_07
  • AddDependentRequest


  • Address1Stringrequired
    Dependent’s address.
    First Available Version:AddDependentRequest
  • Address2String
    Second line of dependent’s address if needed.
    First Available Version:AddDependentRequest
  • BirthDateDate
    Dependent's date of birth.
    First Available Version:AddDependentRequest
    Default Values:1
  • CityStringrequired
    City associated with dependent’s address.
    First Available Version:AddDependentRequest
  • CountryStringrequired
    Country associated with dependent's address. US is a valid option. Please contact us if you intend to send to any international address.
    First Available Version:AddDependentRequest
    Default Values:US
  • DependentSocialSecurityNumberStringconditionally required
    Dependent’s social security number.
    First Available Version:AddDependentRequest
  • DependentIdStringconditionally required
    Required if this field is being used as the unique dependent identifier. Either this field or Dependent SSN may be used for this purpose.
    First Available Version:AddDependentRequest
  • EmployeeSocialSecurityNumberStringconditionally required
    Employee’s social security number.
    First Available Version:AddDependentRequest
  • EmployeeId Stringconditionally required
    Employee's WCA ID. Required if this field is being used as the unique employee identifier. Either this field or Employee SSN may be used for this purpose. Required for versions 2011_10 and on.
    First Available Version:AddDependentRequest
  • EmployerIdStringrequired
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version:AddDependentRequest
  • FirstNameStringrequired
    Dependent’s first name. Allowable characters are alphanumeric (a-z, A-Z, 0-9), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space ( ).
    First Available Version:AddDependentRequest
  • FulltimeStudentBoolean
    Student status.
    No = 0
    Yes = 1
    First Available Version:AddDependentRequest
    Default Values:FALSE
  • GenderEnumeration
    Dependent’s gender.
    None = 0
    Male = 1
    Female = 2
    First Available Version:AddDependentRequest
    Default Values:None
  • LastNameStringrequired
    Dependent’s last name. Allowable characters are alphanumeric (a-z, A-Z, 0-9), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space ( ).
    First Available Version:AddDependentRequest
  • MiddleInitialString
    Dependent’s middle initial name. Allowable characters are alphanumeric (a-z, A-Z, 0-9), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space ( ).
    First Available Version:AddDependentRequest
  • NamePrefixString
    Mr., Mrs., Dr., Rev, etc
    First Available Version:AddDependentRequest
  • PhoneString
    Dependent’s phone number including area code.
    First Available Version:AddDependentRequest
  • RelationshipEnumeration
    Relationship between employee and dependent.
    Unknown = 0
    SpouseorCommonLawSpouse = 1
    Child = 2
    DomesticPartner = 3
    Other = 4
    First Available Version:AddDependentRequest
    Default Values:Unknown
  • ShippingAddress1String
    Dependent’s shipping address if different from the above address as to where the card should
    be sent. If included, then ShippingCity,
    ShippingState, ShippingZipCode, and
    ShippingCountry must also be included.
    First Available Version:AddDependentRequest
  • ShippingAddress2String
    Dependent’s shipping address if different from the above address as to where the card should be sent. 
    First Available Version:AddDependentRequest
  • ShippingCityStringconditionally required
    Dependent’s shipping address if different from the above address as to where the card should be sent. Required if the ShippingAddress1 field is included.
    First Available Version:AddDependentRequest
  • ShippingCountryStringconditionally required
    Dependent’s shipping address if different from the above address as to where the card should be sent. US is the valid option. Please contact us if you intend to send to any international address. Required if the ShippingAddress1 field is included.
    First Available Version:AddDependentRequest
    Default Values:US
  • ShippingStateStringconditionally required
    Dependent’s shipping address if different from the above address as to where the card should be sent. Use the appropriate 2 character state postal code associated with employee’s address. Please contact us if you intend to send to any international address. Required if the ShippingAddress1 field is included.
    First Available Version:AddDependentRequest
  • ShippingZipCodeStringconditionally required
    Dependent’s shipping address if different from the above address as to where the card should be sent. . Required if the ShippingAddress1 field is included.
    First Available Version:AddDependentRequest
  • StateStringrequired
    State code associated with the dependent's address. Use the appropriate 2 character state postal code associated with employee’s address. Please contact us if you intend to send to any international address.
    First Available Version:AddDependentRequest
  • TpaIdString
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version:AddDependentRequest
  • ZipCodeStringrequired
    Zip code associated with the dependent's address.
    First Available Version:AddDependentRequest
  • EligibilityDateString
    YYYYMMDD. Date upon which the Dependent is eligible to elect benefits.
    First Available Version:AddDependentRequest_2008_07
  • TerminationDateString
    YYYYMMDD. Date upon which the dependent’s account is no longer eligible for benefits.  Date must be after dependent Account Effective date.
    First Available Version:AddDependentRequest_2008_08
  • DependentPrivacyBoolean
    Use to enable or disable dependent privacy.
    No = False
    Yes = True
    Note1: If this field is included and left blank,
    then it will default to ‘False’
    Note 2: If the dependent privacy option is enabled on the admin > processing > options page in WCA, then a value of ‘True’ will mask provider and merchant information in communications related to the dependent’s transactions.
    If dependent privacy is NOT enabled a the administrator options level and a value of ‘True’ is passed, then the dependent will be flagged for dependent privacy tracking, but provider and merchant information will not be masked in communications.
    First Available Version:AddDependentRequest_2008_09

 Response Message: Empty Message

 

Example of an AddDependent SOAP request 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>
<MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
<MBISessionID>o3kaamaa2u4khf450irosiin</MBISessionID> 
</MBISessionHeader>
</soap:Header>
<soap:Body>
<AddDependent xmlns="http://www.medibank.com/MBIWebServices/Employee/Messages/Dependent/Request/2004/06/"> <addDependentRequest>
<Address1>234 Western St</Address1> 
<BirthDate>1965-01-01</BirthDate> 
<City>EasternTown</City> 
<DependentSocialSecurityNumber>122132876</DependentSocialSecurityNumber> 
<EmployeeSocialSecurityNumber>332323232</EmployeeSocialSecurityNumber> 
<EmployerId>EASE10</EmployerId> 
<FirstName>Southe</FirstName> 
<Gender xmlns="http://www.medibank.com/MBIWebServices/Enums/">Female</Gender> 
<LastName>EastWood</LastName> 
<MiddleInitial /> 
<NamePrefix>Mrs.</NamePrefix> 
<Phone /> 
<Relationship xmlns="http://www.medibank.com/MBIWebServices/Enums/">Spouse</Relationship> 
<ShippingCountry /> 
<State>MA</State> 
<TpaId>T00209</TpaId> 
<ZipCode>087654</ZipCode> 
</addDependentRequest>
</AddDependent>
</soap:Body>
</soap:Envelope>

Example of an AddDependent 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>
<AddDependentResponse xmlns="http://www.medibank.com/MBIWebServices/Employee/Messages/Dependent/Response/2004/06/">
<AddDependentResult /> 
</AddDependentResponse>
</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 an employee using the AddDependent web method.

 try
{
 // Create the session SOAP header in order to pass the Service   // the client’s current session id.
  mbiSessionHeader = new DependentServiceNameSpace.MBISessionHeader();
 
// Create proxy object for the Dependent service
    proxy = new DependentServiceNameSpace.DependentService();
 
 // Create request message for method call (input parameters)  request = new DependentServiceNameSpace.AddDependentRequest();
// Set the input parameters
 request.Address1 = _address1.Text;  
request.Address2 = _address2.Text; 
if(_birthDate.Text.Length > 0) 
            {
                 request.BirthDate = Convert.ToDateTime(_birthDate.Text); 
            }
           request.City = _city.Text;          
            request.Country = _country.Text; 
            request.DependentSocialSecurityNumber = _depSSN.Text;  
            request.EmployeeSocialSecurityNumber = _empeSSN.Text;  
            request.EmployerId = _emprId.Text;      
            request.FirstName = _firstName.Text;  
            request.FullTimeStudent = (bool)_fulltimeStudent.SelectedItem;  
            request.Gender = (DependentServiceNameSpace.Gender)_gender.SelectedItem;   request.LastName = _lastName.Text;    
            request.MiddleInitial = _middleInitial.Text;  
            request.NamePrefix = _namePrefix.Text;           
            request.Phone = _phone.Text;   request.Relationship = (DependentServiceNameSpace.EmployeeRelation)
_relationship.SelectedItem;       
           request.ShippingAddress1 = _shippingAddress1.Text;        
           request.ShippingAddress2 = _shippingAddress2.Text;       
           request.ShippingCity = _shippingCity.Text;       
           request.ShippingCountry = _shippingCountry.Text;             
           request.ShippingState = _shippingState.Text;     
           request.ShippingZipCode = _shippingZipCode.Text;            
          request.State = _state.Text;      
          request.TpaId = _tpaId.Text;  request.ZipCode = _zipCode.Text;
// session ID returned from login method
            mbiSessionHeader.MBISessionID = _sessionId.Text; 
            proxy.MBISessionHeaderValue = mbiSessionHeader;
// Call the method
       response = proxy.AddDependent(request); 
        MessageBox.Show("Finished.");                                      
}

DeleteDependent  

This method is used to remove information about a dependent from the system.

History
The DeleteDependent methods are listed below:

Request Message
  • DeleteDependentRequest_2011_10
  • DeleteDependentRequest
Response Message
  • DeleteDependentResponse

DeleteDependent Request/Response Messages
The DeleteDependent method requires the following request and response messages (input and output data). The table below includes the following request message:

• DeleteDependentRequest

  • Dependent SocialSecurityNumberStringconditionally required
    Dependent’s social security number.  
    First Available Version:DeleteDependentRequest
  • DependentIdStringconditionally required
    Required if this field is being used as the unique dependent identifier. Either this field or Dependent SSN may be used for this purpose.
    First Available Version:DeleteDependentRequest
  • EmployeeSocialSecurityNumberStringconditionally required
    Employee’s social security number. Required for versions 2011_10 and on. 
    First Available Version:DeleteDependentRequest
  • EmployeeId Stringconditionally required
    Employee's WCA ID. Required if this field is being used as the unique employee identifier. Either this field or Employee SSN may be used for this purpose. Required for versions 2011_10 and on.
    First Available Version:DeleteDependentRequest
  • EmployerIdStringrequired
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version:DeleteDependentRequest
  • TpaIdString
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version:DeleteDependentRequest

Response Message: Empty Message

 

Example of a DeleteDependent SOAP request 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>
<MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
<MBISessionID>org3b4454knvat45da0insnt</MBISessionID> 
</MBISessionHeader>
</soap:Header>
<soap:Body>
<DeleteDependent xmlns="http://www.medibank.com/MBIWebServices/Employee/Messages/Dependent/Request/2004/06/"> <deleteDependentRequest>
<DependentSocialSecurityNumber>222222222</DependentSocialSecurityNumber> 
<EmployeeSocialSecurityNumber>332323232</EmployeeSocialSecurityNumber> 
<EmployerId>EASE10</EmployerId> 
<TpaId>T00209</TpaId> 
</deleteDependentRequest>
</DeleteDependent>
</soap:Body>
</soap:Envelope>

Example of a DeleteDependent 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>
<DeleteDependentResponse xmlns="http://www.medibank.com/MBIWebServices/Employee/Messages/Dependent/Response/2004/06/"> <DeleteDependentResult /> 
</DeleteDependentResponse>
</soap:Body>
</soap:Envelope>

Example Client Code
The following is an example of the client code (using a .NET proxy class to connect with the service) used when calling the DeleteDependent method.

try
{
 // Create the session SOAP header in order to pass the Service   // the client’s current session id.
  mbiSessionHeader = new DependentServiceNameSpace.MBISessionHeader();
// Create proxy object for the Dependent service
    proxy = new DependentServiceNameSpace.DependentService();               
// Create request message for method call (input parameters)   
request = new DependentServiceNameSpace.DeleteDependentRequest();                                                       
// Set the input parameters        
request.DependentSocialSecurityNumber = _dependentSocialSecurityNumber.Text;  
request.EmployeeSocialSecurityNumber = _employeeSocialSecurityNumber.Text;  
request.EmployerId = _employerId.Text;            
request.TpaId = _tpaId.Text;  
// session ID returned from login method
            mbiSessionHeader.MBISessionID = _sessionId.Text; 
proxy.MBISessionHeaderValue = mbiSessionHeader;
// Call the method
       response = proxy.DeleteDependent(request); 
        MessageBox.Show("Finished."); 
}
catch(SoapException se)
{
// perform needed operations
}
catch(Exception ex)
{
// perform needed operations
}

GetDependent

This method is used to get information about an employee’s dependent.

History
The GetDependent methods are listed below:

Request Message
  • GetDependentRequest_2011_10 
  • GetDependentRequest
Response Message
  • GetDependentResponse_2008_07
  • GetDependentResponse_2007_12
  • GetDependentResponse

GetDependent Request/Response Messages
The GetDependent method requires the following request and response messages (input and output data). The table below includes the following request message:
  • GetDependentRequest
  • DependentSocialSecurityNumberStringconditionally required
    Dependent’s social security number.
    First Available Version:GetDependentRequest
  • DependentIdStringconditionally required
    Required if this field is being used as the unique employee identifier. Either this field or Dependent SSN may be used for this purpose.
    First Available Version:GetDependentRequest
  • EmployeeSocialSecurityNumberStringconditionally required
    Employee’s social security number. Required for versions 2011_10 and on.
    First Available Version:GetDependentRequest
  • EmployeeIdStringconditionally required
    Employee's WCA ID. Required if this field is being used as the unique employee identifier. Either this field or Employee SSN may be used for this purpose. Required for versions 2011_10 and on.
    First Available Version:GetDependentRequest
  • EmployerIdStringrequired
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version:GetDependentRequest
  • TpaIdString
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version:GetDependentRequest
  • VerboseModeBoolean
    Optional, if set to true, the method may return more details as to why a query did not return any records. For example, if an invalid employee social security number was sent.
    First Available Version:GetDependentRequest
    Default Values:FALSE
The table below includes the following response message:
  • GetDependentResponse_2008_07
  • GetDependentResponse_2007_12
  • GetDependentResponse
  • Address1String
    Dependent’s address.
    First Available Version:GetDependentResponse
  • Address2String
    Second line of dependent’s address if needed.
    First Available Version:GetDependentResponse
  • BirthDateString
    Date of birth for dependent.
    First Available Version:GetDependentResponse
  • CityString
    City associated with dependent’s address.
    First Available Version:GetDependentResponse
  • CountryString
    Country associated with dependent's address. US is a valid option. Please contact us if you intend to send to any international address.
    First Available Version:GetDependentResponse
  • DependentSocialSecurityNumberString
    Dependent’s current social security number.
    First Available Version:GetDependentResponse
  • DependentIdString
    Dependent’s WCA ID.
    First Available Version:GetDependentResponse
  • Dependent StatusEnumeration
    Cardholder's status.
    New = 1
    Active = 2
    TempInactive = 3
    PermInactive = 4
    Terminated = 5
    First Available Version:GetDependentResponse
  • EmployerIdString
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version:GetDependentResponse
  • FirstNameString
    Dependent’s first name. Allowable characters are alphanumeric (a-z, A-Z, 0-9), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space( ).
    First Available Version:GetDependentResponse
  • FulltimeStudentBoolean
    Student status.
    No = 0
    Yes = 1
    First Available Version:GetDependentResponse
  • GenderEnumeration
    Dependent’s gender.
    None = 0
    Male = 1
    Female = 2
    First Available Version:GetDependentResponse
  • LastNameString
    Dependent’s last name. Allowable characters are alphanumeric (a-z, A-Z, 0-9), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space( ).
    First Available Version:GetDependentResponse
  • MiddleInitialString
    Dependent’s middle initial. Allowable characters are alphanumeric (a-z, A-Z, 0-9), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space( ).
    First Available Version:GetDependentResponse
  • NamePrefixString
    Mr., Mrs., Dr., Rev, etc
    First Available Version:GetDependentResponse
  • RelationshipEnumeration
    Relationship between employee and dependent.
    Unknown = 0
    SpouseorCommonLawSpouse = 1
    Child = 2
    DomesticPartner = 3
    Other = 4
    First Available Version:GetDependentResponse
  • Shipping Address1String
    Dependent’s shipping address if different from the above address as to where the card should
    be sent. If included, then ShippingCity,
    ShippingState, ShippingZipCode, and ShippingCountry must also be included.
    First Available Version:GetDependentResponse
  • Shipping Address2String
    Dependent’s shipping address if different from the above address as to where the card should be sent. 
    First Available Version:GetDependentResponse
  • ShippingCityString
    Dependent’s shipping address if different from the above address as to where the card should be sent. Required if the ShippingAddress1 field is included.
    First Available Version:GetDependentResponse
  • Shipping CountryString
    Dependent’s shipping address if different from the above address as to where the card should be sent. US is a valid option. Please contact us if you intend to send to any international address. Required if the ShippingAddress1 field is included.
    First Available Version:GetDependentResponse
  • ShippingStateString
    Dependent’s shipping address if different from the above address as to where the card should be sent. Use the appropriate 2 character state postal code associated with employee’s address. Please contact us if you intend to send to any
    international address. Required if the ShippingAddress1 field is included.
    First Available Version:GetDependentResponse
  • Shipping ZipCodeString
    Dependent’s shipping address if different from the above address as to where the card should be sent. Required if the ShippingAddress1 field is included.
    First Available Version:GetDependentResponse
  • StateString
    State code associated with the dependent's address. Use the appropriate 2 character state postal code associated with employee’s address. Please contact us if you intend to send to any international address.
    First Available Version:GetDependentResponse
  • TpaIdString
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version:GetDependentResponse
  • ZipCodeString
    Zip code associated with the dependent's address.
    First Available Version:GetDependentResponse
  • CardDesignIdString
    For future use. Card design will currently always be payment.
    First Available Version:GetDependentResponse_2007_12
  • EligibilityDateString
    Date upon which the dependent is eligible to elect benefits.
    First Available Version:GetDependentResponse_2008_07
  • TerminationDateString
    Date upon which the dependent’s account is no longer eligible for benefits.  Date must be after dependent account effective date.
    First Available Version:GetDependentResponse_2008_07

 

Example of a GetDependent SOAP request 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>
<MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
<MBISessionID>org3b4454knvat45da0insnt</MBISessionID> 
</MBISessionHeader>
</soap:Header>
<soap:Body>
<GetDependent xmlns="http://www.medibank.com/MBIWebServices/Employee/Messages/Dependent/Request/2004/06/"> <GetDependentRequest>
<DependentSocialSecurityNumber>222222222</DependentSocialSecurityNumber> 
<EmployeeSocialSecurityNumber>332323232</EmployeeSocialSecurityNumber> 
<EmployerId>EASE10</EmployerId> 
<TpaId>T00209</TpaId> 
</GetDependentRequest>
</GetDependent>
</soap:Body>
</soap:Envelope>

Example of a GetDependent 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>
<GetDependentResponse xmlns="http://www.medibank.com/MBIWebServices/Employee/Messages/Dependent/Response/2004/06/">
<GetDependentResult>
<Address1>dsdsds</Address1> 
<Address2 /> 
<BirthDate>20020101</BirthDate> 
<City>jkkjbj</City> 
<Country>US</Country> 
<DependentSocialSecurityNumber>222222222</DependentSocialSecurityNumber> 
<DependentStatus xmlns="http://www.medibank.com/MBIWebServices/Enums/">New</DependentStatus> 
<EmployerId>EASE10</EmployerId> 
<FirstName>mmn</FirstName> 
<FullTimeStudent>false</FullTimeStudent> 
<Gender xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</Gender> 
<LastName>mnbnm</LastName> 
<MiddleInitial /> 
<NamePrefix /> 
<Phone /> 
<Relationship xmlns="http://www.medibank.com/MBIWebServices/Enums/">Unknown</Relationship> 
<ShippingAddress1 /> 
<ShippingAddress2 /> 
<ShippingCity /> 
<ShippingCountry /> 
<ShippingState /> 
<ShippingZipCode /> 
<State>MA</State> 
<TpaId>T00209</TpaId> 
<ZipCode>83243</ZipCode> 
</GetDependentResult>
</GetDependentResponse>
</soap:Body>
</soap:Envelope>

Example Client Code
The following is an example of the client code (using a .NET proxy class to connect to the service) used when calling the GetDependent method.

try
{
       _dataset.Tables["Dependents"].Clear();
 // Create the session SOAP header in order to pass the Service  
// the client’s current session id.
mbiSessionHeader = new DependentServiceNameSpace.MBISessionHeader();
// Create proxy object for the Dependent service
               proxy = new DependentServiceNameSpace.DependentService();
// Create request message for method call (input parameters)
               request = new DependentServiceNameSpace.GetDependentRequest();
// Set the input parameters        
request.DependentSocialSecurityNumber = _dependentSocialSecurityNumber.Text;  
request.EmployeeSocialSecurityNumber = _employeeSocialSecurityNumber.Text; 
request.EmployerId = _employerId.Text;            
request.TpaId = _tpaId.Text; 
request.VerboseMode = Convert.ToBoolean(_verboseMode.Text);                                                 
            // session ID returned from logon method 
 mbiSessionHeader.MBISessionID = _sessionId.Text; 
 proxy.MBISessionHeaderValue = mbiSessionHeader;                                    
          response = proxy.GetDependent(request);                                              
           if(response != null)
            {
                 _dataset.Tables["Dependents"].Rows.Add(new string[] 
                        { 
                            response.Address1,                   
response.Address2,                   
response.BirthDate,                              
response.City,               
response.Country,                      
response.DependentSocialSecurityNumber,                    
response.DependentStatus.ToString(),               
response.EmployerId,                           
response.FirstName,                            
response.FullTimeStudent.ToString(),                         
response.Gender.ToString(),                   
response.LastName,                             
response.MiddleInitial,                         
response.NamePrefix,               
response.Phone,                              
response.Relationship.ToString(),                        
response.ShippingAddress1,                  
response.ShippingAddress2,                            
response.ShippingCity,                         
response.ShippingCountry,                     
response.ShippingState,                         
response.ShippingZipCode,                              
response.State,                          
response.TpaId,                                   
response.ZipCode 
                        });
            }
                                     
}
catch(SoapException se)
{
// perform needed operations
}
catch(Exception ex)
{
// perform needed operations
}

GetDependents

This method is used to get a list of dependents for a given employee.

History
The GetDependents methods are listed below:

Request Message
  • GetDependentsRequest
Response Message
  • GetDependentsResponse_2008_07
  • GetDependentsResponse_2007_12
  • GetDependentsResponse

GetDependents Request/Response Messages
The GetDependents method requires the following request and response messages (input and output data). The table below includes the following request message:

• GetDependentsRequest

 

  • EmployeeSocialSecurityNumberStringconditionally required
    Employee's social security number. This field is used to identify the employee and is not changed within this operation.
    First Available Version:GetDependentsRequest
  • EmployeeId Stringconditionally required
    Employee's WCA ID. Required if this field is being used as the unique employee identifier. Either this field or Employee SSN may be used for this purpose.
    First Available Version:GetDependentsRequest
  • EmployerIdStringrequired
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version:GetDependentsRequest
  • TpaIdString
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version:GetDependentsRequest
  • VerboseModeBoolean
    Optional, if set to true, the method may return more details as to why a query did not return any records. For example, if an invalid employee social security number was sent.
    First Available Version:GetDependentsRequest
    Default Values:FALSE
The table below includes the following response message:
  • GetDependentsResponse_2008_07
  • GetDependentsResponse_2007_12
  • GetDependentsResponse

 

  • Address1String
    Dependent’s address.
    First Available Version:GetDependentsResponse
  • Address2String
    Second line of dependent’s address if needed.
    First Available Version:GetDependentsResponse
  • BirthDateString
    Date of birth for dependent.
    First Available Version:GetDependentsResponse
  • CityString
    City associated with dependent’s address.
    First Available Version:GetDependentsResponse
  • CountryString
    Country associated with dependent's address. US is a valid option. Please contact us if you intend to send to any international address.
    First Available Version:GetDependentsResponse
  • DependentSocialSecurityNumberString
    Dependent’s current social security number.
    First Available Version:GetDependentsResponse
  • DependentIdString
    Dependent ID 
    First Available Version:GetDependentsResponse
  • DependentStatusEnumeration
    Cardholder's status.
    New = 1
    Active = 2
    TempInactive = 3
    PermInactive = 4
    Terminated = 5
    First Available Version:GetDependentsResponse
  • EmployeeSocialSecurityNumberString
    Employee’s social security number.
    First Available Version:GetDependentsResponse
  • EmployerIdString
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version:GetDependentsResponse
  • FirstNameString
    Dependent’s first name. Allowable characters are alphanumeric (a-z, A-Z, 09), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space ( ).
    First Available Version:GetDependentsResponse
  • FullTimeStudentBoolean
    Student status.
    No = 0
    Yes = 1
    First Available Version:GetDependentsResponse
  • GenderEnumeration
    Dependent’s gender.
    None = 0
    Male = 1
    Female = 2
    First Available Version:GetDependentsResponse
  • LastNameString
    Dependent’s last name. Allowable characters are alphanumeric (a-z, A-Z, 09), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space ( ).
    First Available Version:GetDependentsResponse
  • MiddleInitialString
    Dependent’s middle initial. Allowable characters are alphanumeric (a-z, A-Z, 09), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space ( ).
    First Available Version:GetDependentsResponse
  • NamePrefixString
    Title for dependent, such as Mr., Mrs., Ms., Dr., or Rev
    First Available Version:GetDependentsResponse
  • PhoneString
    Dependent’s phone number including area code.
    First Available Version:GetDependentsResponse
  • RelationshipEnumeration
    Relationship between employee and dependent.
    Unknown = 0
    SpouseorCommonLawSpouse = 1
    Child = 2
    DomesticPartner = 3
    Other = 4
    First Available Version:GetDependentsResponse
  • StateString
    State code associated with the dependent's address. Use the appropriate 2 character state postal code associated with employee’s address. Please contact us if you intend to send to any international address.
    First Available Version:GetDependentsResponse
  • TpaIdString
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version:GetDependentsResponse
  • ZipCodeString
    Zip code associated with the dependent's address.
    First Available Version:GetDependentsResponse
  • CardDesignIdString 
    For future use. Card design will currently always be payment.
    First Available Version:GetDependentsResponse_2007_12
  • EligibilityDateString
    Date upon which the Dependent is eligible to elect benefits.
    First Available Version:GetDependentsResponse_2008_07
  • TerminationDateString
    Date upon which the dependent’s account is no longer eligible for benefits. Date must be after dependent account effective date.
    First Available Version:GetDependentsResponse_2008_07

Example of a GetDependents SOAP request 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>
<MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
<MBISessionID>org3b4454knvat45da0insnt</MBISessionID> 
</MBISessionHeader>
</soap:Header>
<soap:Body>
<GetDependents xmlns="http://www.medibank.com/MBIWebServices/Employee/Messages/Dependent/Request/2004/06/"> <getDependentsRequest>
<EmployeeSocialSecurityNumber>332323232</EmployeeSocialSecurityNumber> 
<EmployerId>EASE10</EmployerId> 
<TpaId>T00209</TpaId> 
</getDependentsRequest>
</GetDependents>
</soap:Body>
</soap:Envelope>

Example of a GetDependents 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>
<GetDependentsResponse xmlns="http://www.medibank.com/MBIWebServices/Employee/Messages/Dependent/Response/2004/06/">
<GetDependentsResult>
<GetDependentsResponse>
<Address1>dsdsds</Address1> 
<Address2 /> 
<BirthDate>20020101</BirthDate> 
<City>jkkjbj</City> 
<Country>US</Country> 
<DependentSocialSecurityNumber>222222222</DependentSocialSecurityNumber> 
<DependentStatus xmlns="http://www.medibank.com/MBIWebServices/Enums/">New</DependentStatus> 
<EmployeeSocialSecurityNumber>222222222</EmployeeSocialSecurityNumber> 
<EmployerId>EASE10</EmployerId> 
<FirstName>mmn</FirstName> 
<FullTimeStudent>false</FullTimeStudent> 
<Gender xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</Gender> 
<LastName>mnbnm</LastName> 
<MiddleInitial /> 
<NamePrefix /> 
<Phone /> 
<Relationship xmlns="http://www.medibank.com/MBIWebServices/Enums/">Unknown</Relationship> 
<State>MA</State> 
<TpaId>T00209</TpaId> 
<ZipCode>83243</ZipCode> 
</GetDependentsResponse>
</GetDependentsResult>
</GetDependentsResponse>
</soap:Body>
</soap:Envelope>

Example Client Code
The following is an example of the client code (using a .NET proxy class to connect to the service) used when calling the GetDependents method.

try
{
_dataset.Tables["Dependents"].Clear();
 // Create the session SOAP header in order to pass the Service  
// the client’s current session id.
  mbiSessionHeader = new DependentServiceNameSpace.MBISessionHeader();      
// Create proxy object for the Dependent service
proxy = new DependentServiceNameSpace.DependentService();
// Create request message for method call (input parameters)
              request = new DependentServiceNameSpace.GetDependentsRequest();
// Set the input parameters 
request.EmployeeSocialSecurityNumber = _employeeSocialSecurityNumber.Text;  
request.EmployerId = _employerId.Text;
request.TpaId = _tpaId.Text; 
request.VerboseMode = Convert.ToBoolean(_verboseMode.Text);                                             
            // session ID returned from logon method 
           mbiSessionHeader.MBISessionID = _sessionId.Text; 
           proxy.MBISessionHeaderValue = mbiSessionHeader;                           
          responses = proxy.GetDependents(request);                                       
          if(responses != null)
            {
                   for(int i=0; i < responses.Length; i++)
                        {
                             _dataset.Tables["Dependents"].Rows.Add(new string[]                                     { 
                                  // set results
                                    });
                        }
            }
}
catch(SoapException se)
{
// perform needed operations
}
catch(Exception ex)
{
// perform needed operations
}

 

UpdateDependent

This method is used to update a dependent’s demographic information. The dependent must already exist within the system.

History
The UpdateDependent methods are listed below:

Request Message
  • UpdateDependentRequest_2011_10
  • UpdateDependentRequest_2008_07
  • UpdateDependentRequest
Response Message
  • UpdateDependentResponse

UpdateDependent Request/Response Messages
The UpdateDependent method requires the following request and response messages (input and output data).
The table below includes the following request message:
  • UpdateDependentRequest_2008_07
  • UpdateDependentRequest
  • Address1Stringrequired
    Dependent’s address.
    First Available Version:UpdateDependentRequest
  • Address2String
    Second line of dependent’s address if needed.
    First Available Version:UpdateDependentRequest
  • BirthDateDate
    Date of birth for dependent.
    First Available Version:UpdateDependentRequest
    Default Values:1
  • CityStringrequired
    City associated with dependent’s address.
    First Available Version:UpdateDependentRequest
  • CountryStringrequired
    Country associated with dependent's address. US is a valid option. Please contact us if you intend to send to any international address.
    First Available Version:UpdateDependentRequest
    Default Values:US
  • CurrentDependentSocialSecurityNumberStringconditionally required
    Dependent’s current social security number.
    First Available Version:UpdateDependentRequest
  • DependentStatusEnumeration
    Cardholder's status.
    New = 1
    Active = 2
    TempInactive = 3
    PermInactive = 4
    Terminated = 5
    First Available Version:UpdateDependentRequest
    Default Values:New
  • EmployerIdStringrequired
    Unique identifier for the employer. Note: When the employer was created, WealthCare Admin assigned the 3-character prefix; you assigned the remaining characters.
    First Available Version:UpdateDependentRequest
  • FirstNameStringrequired
    Dependent’s first name. Allowable characters are alphanumeric (a-z, A-Z, 09), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space ( ).
    First Available Version:UpdateDependentRequest
  • FulltimeStudentBoolean
    Student status.
    No = 0
    Yes = 1
    First Available Version:UpdateDependentRequest
    Default Values:FALSE
  • GenderEnumeration
    Dependent’s gender.
    None = 0
    Male = 1
    Female = 2
    First Available Version:UpdateDependentRequest
    Default Values:None
  • LastNameStringrequired
    Dependent’s last name. Allowable characters are alphanumeric (a-z, A-Z, 09), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space ( ).
    First Available Version:UpdateDependentRequest
  • MiddleInitialString
    Dependent’s middle initial. Allowable characters are alphanumeric (a-z, A-Z, 09), Special characters - comma (,), period (.), dash (-), ampersand (&), single apostrophe ('), and space ( ).
    First Available Version:UpdateDependentRequest
  • NamePrefixString
    Title for dependent, such as Mr., Mrs., Ms., Dr., or Rev
    First Available Version:UpdateDependentRequest
  • NewDependentSocialSecurityNumberString
    Dependent’s new social security number. Leave empty unless the dependent’s SSN needs to be replaced.
    First Available Version:UpdateDependentRequest
  • PhoneString
    Dependent’s phone number including area code.
    First Available Version:UpdateDependentRequest
  • RelationshipEnumeration
    Relationship between employee and dependent.
    Unknown = 0
    SpouseorCommonLawSpouse = 1
    Child = 2
    DomesticPartner = 3
    Other = 4
    First Available Version:UpdateDependentRequest
    Default Values:Unknown
  • Shipping Address1String
    Dependent’s shipping address if different from the above address as to where the card
    should be sent. If included, than
    ShippingCity, ShippingState,
    ShippingZipCode, and ShippingCountry must also be included.
    First Available Version:UpdateDependentRequest
  • Shipping Address2String
    Dependent’s shipping address if different from the above address as to where the card should be sent. 
    First Available Version:UpdateDependentRequest
  • ShippingCityStringconditionally required
    Dependent’s shipping address if different from the above address as to where the card
    should be sent. Required if the
    ShippingAddress1 field is included.
    First Available Version:UpdateDependentRequest
  • Shipping CountryStringconditionally required
    Dependent’s shipping address if different from the above address as to where the card should be sent. US is a valid option. Please contact us if you intend to send to any international address. Required if the ShippingAddress1 field is included.
    First Available Version:UpdateDependentRequest
    Default Values:US
  • ShippingStateStringconditionally required
    Dependent’s shipping address if different from the above address as to where the card should be sent. Use the appropriate 2 character state postal code associated with employee’s address. Please contact us if you intend to send to any international address. Required if the ShippingAddress1 field is included.
    First Available Version:UpdateDependentRequest
  • Shipping ZipCodeStringconditionally required
    Dependent’s shipping address if different from the above address as to where the card should be sent. Required if the ShippingAddress1 field is included.
    First Available Version:UpdateDependentRequest
  • StateStringrequired
    State code associated with the dependent's address. Use the appropriate 2 character state postal code associated with employee’s address. Please contact us if you intend to send to any international address.
    First Available Version:UpdateDependentRequest
  • TpaIdString
    A unique identifer for your administrator instance, generated by WCA when the instance was first set up. If a value is not sent, the TPA ID from the user making the request with be used.
    First Available Version:UpdateDependentRequest
  • ZipCodeStringrequired
    Zip code associated with the dependent's address.
    First Available Version:UpdateDependentRequest
  • DependentIdStringconditionally required
    Required if this field is being used as the unique dependent identifier. Either this field or Dependent SSN may be used for this purpose.
    First Available Version:UpdateDependentRequest
  • NewDependentIDString
    The new dependent ID. 
    First Available Version:UpdateDependentRequest
  • EmployeeSocialSecurityNumberStringconditionally required
    Employee’s social security number. Required for versions 2011_10 and on.
    First Available Version:UpdateDependentRequest_2011_10
  • EmployeeIdStringconditionally required
    Required if this field is being used as the unique employee identifier. Either this field or Employee SSN may be used for this purpose. Required for versions 2011_10 and on.
    First Available Version:UpdateDependentRequest_2011_10
  • EligibilityDateString
    YYYYMMDD. Date upon which the Dependent is eligible to elect benefits.
    First Available Version:UpdateDependentRequest_2008_07
  • TerminationDateString
    YYYYMMDD. Date upon which the dependent’s account is no longer eligible for benefits.  Date must be after dependent Account Effective date.
    First Available Version:UpdateDependentRequest_2008_07
  • DependentPrivacyBoolean
    Use to enable or disable dependent privacy.
    No = False
    Yes = True
    Note1: If this field is included and left blank,
    then it will default to ‘False’
    Note 2: If the dependent privacy option is enabled on the admin > processing > options page in WCA, then a value of ‘True’ will mask provider and merchant information in communications related to the dependent’s transactions.
    If dependent privacy is NOT enabled a the administrator options level and a value of ‘True’ is passed, then the dependent will be flagged for dependent privacy tracking, but provider and merchant information will not be masked in communications.
    First Available Version:UpdateDependentRequest_2017_02

Response Message: Empty Message

 

Example of an UpdateDependent SOAP request 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>
<MBISessionHeader xmlns="http://www.medibank.com/MBIWebServices/SoapHeader/">
<MBISessionID >org3b4454knvat45da0insnt</MBISessionID> 
</MBISessionHeader>
</soap:Header>
<soap:Body>
<UpdateDependent xmlns="http://www.medibank.com/MBIWebServices/Employee/Messages/Dependent/Request/2004/06/">
<Address1>123 South St</Address1> 
<Address2>apt 2</Address2> 
<BirthDate>1965-01-01</BirthDate> 
<City>Worcester</City> 
<CurrentDependentSocialSecurityNumber>222222222</CurrentDependentSocialSecurityNumber> 
<DependentStatus xmlns="http://www.medibank.com/MBIWebServices/Enums/">Active</DependentStatus> 
<EmployerId>EASE10</EmployerId> 
<FirstName>Bill</FirstName> 
<FullTimeStudent>true</FullTimeStudent> 
<Gender xmlns="http://www.medibank.com/MBIWebServices/Enums/">Male</Gender> 
<LastName>Smith</LastName> 
<MiddleInitial /> 
<NamePrefix>Mr.</NamePrefix> 
<Phone>555 555-5555</Phone> 
<Relationship xmlns="http://www.medibank.com/MBIWebServices/Enums/">Child</Relationship> 
<ShippingCountry /> 
<State>MA</State> 
<TpaId>T00209</TpaId> 
<ZipCode>12345</ZipCode> 
</updateDependentRequest>
</UpdateDependent>
</soap:Body>
</soap:Envelope>

Example of a UpdateDependent 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>
<UpdateDependentResponse xmlns="http://www.medibank.com/MBIWebServices/Employee/Messages/Dependent/Response/2004/06/">
<UpdateDependentResult /> 
</UpdateDependentResponse>
</soap:Body>
</soap:Envelope>

Example Client Code
The following is an example of the client code (using a .NET proxy class to connect with the service) used when calling the UpdateDependent method.

try
{
 // Create the session SOAP header in order to pass the Service  
// the client’s current session id.
 
 
mbiSessionHeader = new DependentServiceNameSpace.MBISessionHeader();
             
// Create proxy object for the Dependent service
               proxy = new DependentServiceNameSpace.DependentService();
             
// Create request message for method call (input parameters)
              request = new DependentServiceNameSpace.UpdateDependentRequest();         
// Set the input parameters
            request.Address1 = _address1.Text;     
            request.Address2 = _address2.Text;                                                    
           if(_birthDate.Text.Length > 0) 
            {
                 request.BirthDate = Convert.ToDateTime(_birthDate.Text); 
            }
 
request.City = _city.Text; 
request.Country = _country.Text; 
request.CurrentDependentSocialSecurityNumber = _currentDepSSN.Text;  
request.NewDependentSocialSecurityNumber = _newDepSSN.Text;  
request.DependentStatus = (DependentServiceNameSpace.CardholderStatus) 
                                                         _depStatus.SelectedItem; 
request.EmployerId = _emprId.Text;      
request.FirstName = _firstName.Text;  
request.FullTimeStudent = (bool)_fulltimeStudent.SelectedItem;              
request.Gender = (DependentServiceNameSpace.Gender)_gender.SelectedItem;              
request.LastName = _lastName.Text;           
request.MiddleInitial = _middleInitial.Text;          
request.NamePrefix = _namePrefix.Text;     
request.Phone = _phone.Text;   request.Relationship = (DependentServiceNameSpace.EmployeeRelation)
_relationship.SelectedItem;  
request.ShippingAddress1 = _shippingAddress1.Text;  
request.ShippingAddress2 = _shippingAddress2.Text; 
request.ShippingCity = _shippingCity.Text;  
request.ShippingCountry = _shippingCountry.Text; 
request.ShippingState = _shippingState.Text; 
request.ShippingZipCode = _shippingZipCode.Text; 
request.State = _state.Text;  request.TpaId = _tpaId.Text; 
request.ZipCode = _zipCode.Text;
// session ID returned from login method
            mbiSessionHeader.MBISessionID = _sessionId.Text;     
            proxy.MBISessionHeaderValue = mbiSessionHeader;
// Call the method
      response = proxy.UpdateDependent(request); 
        MessageBox.Show("Finished.");                                     
}
catch(SoapException se)
{
// perform needed operations
}
catch(Exception ex)
{
// perform needed operations
}