The Employer Service provides clients employer functionalities such as reading, adding, updating, and deleting employers’ information.
Service Web Methods
The following is a list of methods that is provided by the Employer Service.
AddEmployer – used to add an employer’s demographic information.
GetEmployer – used to retrieve an employer’s demographic information.
GetEmployers - used to retrieve a list of employers for a given administrator.
UpdateEmployer – used to update an employer’s demographic information.
CopyReportSchedule - used to copy an employer’s report schedules to another employer.
Service Assumptions/Business Rules
The Employer 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 Technologies and the administrator.
Clients shall format SOAP messages in a Document/Literal format over HTTPS.
Clients shall have already created a valid user ID and password.
Clients shall have a valid session ID after being authenticated by the system. The session ID needs to be passed in the proper manner as described in the Account Manager Service Guide.
If the administrator uses the same user ID and password for all of their clients, the administrator is responsible for managing the security of the data.
Clients should validate data before submitting a request to this Service. This facilitates better performance and accurate processing on both systems.
Clients shall not attempt to use this service for batch processing of large amounts of data. The service is designed for synchronous calls that send or retrieve small chunks of data. If batch processing is required, then the EDI process should be used.
If any method fails, the service returns a SOAP fault describing the problem.
This method is used to add an employer’s demographic information.
History
The AddEmployer methods are listed below:
Request Messages
AddEmployerRequest_2020_01
AddEmployerRequest
Response Messages
AddEmployerResponse
AddEmployer Request/Response Messages
The AddEmployer method requires the following request and response messages (input and output data).
The table below includes the following request messages:
AddEmployerRequest
Response Message: Empty Message
Example of an AddEmployer 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>k53d2c55oiux1s55aonmagis</MBISessionID>
</MBISessionHeader>
</soap:Header>
<soap:Body>
<AddEmployer_2006_12 xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/Employer/Request/2006/12/">
<addEmployerRequest_2006_12>
<ActiveFirstUse>true</ActiveFirstUse>
<AddressLine1>123 Test St</AddressLine1>
<AddressLine2>Apt 2</AddressLine2>
<BucketSplit>true</BucketSplit>
<CardIssueAddressIndicator xmlns="http://www.medibank.com/MBIWebServices/Enums/">Cardholder</CardIssueAddressIndicator>
<CardOffered xmlns="http://www.medibank.com/MBIWebServices/Enums/">FlexCard</CardOffered>
<CheckProcessMethod xmlns="http://www.medibank.com/MBIWebServices/Enums/">File</CheckProcessMethod>
<City>TestCity</City>
<CopayAutoReview>true</CopayAutoReview>
<Country>US</Country>
<DirectDepositMethod xmlns="http://www.medibank.com/MBIWebServices/Enums/">File</DirectDepositMethod>
<EmailAddress>test@test.com</EmailAddress>
<EmployerId>EASE7</EmployerId>
<EmployerName>EASE7</EmployerName>
<EmployerPhoneNumber>777 555 - 3333</EmployerPhoneNumber>
<EmployerTaxId>123456789</EmployerTaxId>
<EmployerFaxNumber>777 555 - 3333</EmployerFaxNumber>
<ProjectedEnrollees>1000</ProjectedEnrollees>
<RecurringExpenseAutoReview>true</RecurringExpenseAutoReview>
<SetupEmailAddress>test@test.com</SetupEmailAddress>
<State>MA</State>
<TpaId>T00209</TpaId>
<ZipCode>01234</ZipCode>
<ThermalPrintName>Test Print</ ThermalPrintName >
</addEmployerRequest_2006_12>
</AddEmployer_2006_12>
</soap:Body>
</soap:Envelope>
Example of an AddEmployer 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>
<AddEmployerResponse xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/Employer/Response/2004/06/">
<AddEmployerResult />
</AddEmployerResponse>
</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 employer using the AddEmployer web method.
try
{
// Create the session SOAP header in order to pass the Employer Service
// the client’s current session id.
mbiSessionHeader = new EmployerServiceNameSpace.MBISessionHeader();
// Create proxy object for the Employer Service
proxy = new EmployerServiceNameSpace.EmployerService();
// Create request message for method call (input parameters)
request = new EmployerServiceNameSpace.AddEmployerRequest_2006_12();
// Set the input parameters
request.ActiveFirstUse = (bool) _activeFirstUse.SelectedItem;
request.AddressLine1 = _addressLine1.Text;
request.AddressLine2 = _addressLine2.Text;
request.BucketSplit = (bool) _bucketSplit.SelectedItem;
request.CardExpirationMonths =
(EmployerServiceNameSpace.CardExpirationMonthOptions)
_cardExpirationMonths.SelectedItem;
request.CardExpirationMonthsSpecified = true;
request.CardIssueAddressIndicator =
(EmployerServiceNameSpace.EmployerIssueAddress)
_cardIssueAddressIndicator.SelectedItem;
request.CardOffered = (EmployerServiceNameSpace.CardsOfferedCodes)
_cardsOffered.SelectedItem;
request.CardReissueLeadDays =
(EmployerServiceNameSpace.AutoCardReissueLeadDayOptions)
_cardReissueLeadDays.SelectedItem;
request.CardReissueLeadDaysSpecified = true;
request.CardSecondLine = _cardSecondLine.Text;
request.CheckProcessMethod = (EmployerServiceNameSpace.CheckProcessMethodCodes)
_checkProcessMethod.SelectedItem;
request.City = _city.Text;
request.CopayAutoReview = (bool) _copayAutoReview.SelectedItem;
request.Country = _country.Text;
request.DirectDepositMethod = (EmployerServiceNameSpace.DirectDepositMethodCodes)
_directDepositMethod.SelectedItem;
request.EmailAddress = _emailAddress.Text;
request.EmployeeUserDefinedFields = _employeeUserDefinedField.Text;
request.EmployerFaxNumber = _employerFaxNumber.Text;
request.EmployerForTesting = (bool) _employerForTesting.SelectedItem;
request.EmployerId = _employerId.Text;
request.EmployerName = _employerName.Text;
request.EmployerPhoneNumber = _employerPhoneNumber.Text;
request.EmployerTaxId = _employerTaxId.Text;
request.EmployerUserDefinedFields = _employerUserDefinedField.Text;
request.EmployerUserDefinedFieldsData = _employerUserDefinedFieldData.Text;
request.ProjectedEnrollees = Convert.ToInt32(_projectedEnrollees.Text);
request.RecurringExpenseAutoReview = (bool)
_recurringExpenseAutoReview.SelectedItem;
request.SetupEmailAddress = _setupEmailAddress.Text;
request.State = _state.Text;
request.TpaId = _tpaId.Text;
request.ZipCode = _zipCode.Text;
request.ThermalPrintName = ThermalPrintName.Text;
// session ID returned from login method
mbiSessionHeader.MBISessionID = _sessionId.Text;
proxy.MBISessionHeaderValue = mbiSessionHeader;
// Call the method
response = proxy.AddEmployer(request);
MessageBox.Show("Finished.");
}
catch(SoapException se)
{
// perform needed operations
}
catch(Exception ex)
{
// perform needed operations
}
This method is used to retrieve an employer’s demographic information.
History
The GetEmployer methods are listed below:
Request Messages
GetEmployerRequest
Response Messages
GetEmployerResponse
GetEmployer Request/Response Messages
The GetEmployer method requires the following request and response messages (input and output data).
The table below includes the following request messages:
GetEmployerRequest_2019_02
GetEmployerRequest
The table below includes the following request messages:
GetEmployerResponse_2020_01
GetEmployerResponse_2009_04
GetEmployerResponse_2007_12
GetEmployerResponse_2006_12
GetEmployerResponse
Example of a GetEmployer 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>k53d2c55oiux1s55aonmagis</MBISessionID>
</MBISessionHeader>
</soap:Header>
<soap:Body>
<GetEmployer xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/Employer/Request/2004/06/">
<getEmployerRequest>
<EmployerId>EASE7</EmployerId>
<TpaId>T00209</TpaId>
</getEmployerRequest>
</GetEmployer>
</soap:Body>
</soap:Envelope>
Example of a GetEmployer 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>
<GetEmployerResponse_2006_12 xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/Employer/Response/2004/12/">
<GetEmployerResult xsi:type="GetEmployersResponse">
<ActiveFirstUse>true</ActiveFirstUse>
<AddressLine1>123 Test St</AddressLine1>
<AddressLine2>Apt 2</AddressLine2>
<BucketSplit>true</BucketSplit>
<CardExpirationMonths>36</CardExpirationMonths>
<CardIssueAddressIndicator xmlns="http://www.medibank.com/MBIWebServices/Enums/">Cardholder</CardIssueAddressIndicator>
<CardReissueLeadDays>30</CardReissueLeadDays>
<CardOffered xmlns="http://www.medibank.com/MBIWebServices/Enums/">FlexCard</CardOffered>
<CheckProcessMethod xmlns="http://www.medibank.com/MBIWebServices/Enums/">File</CheckProcessMethod>
<City>TestCity</City>
<CopayAutoReview>true</CopayAutoReview>
<Country>US</Country>
<DirectDepositMethod xmlns="http://www.medibank.com/MBIWebServices/Enums/">File</DirectDepositMethod>
<EmailAddress>test@test.com</EmailAddress>
<EmployeeUserDefinedFields />
<EmployerForTesting>false</EmployerForTesting>
<EmployerId>EASE7</EmployerId>
<EmployerName>EASE7</EmployerName>
<EmployerPhoneNumber>777 555 - 3333</EmployerPhoneNumber>
<EmployerTaxId>123456789</EmployerTaxId>
<EmployerStatus xmlns="http://www.medibank.com/MBIWebServices/Enums/">New</EmployerStatus>
<EmployerUserDefinedFields />
<EmployerUserDefinedFieldsData />
<EmployerFaxNumber>777 555 - 3333</EmployerFaxNumber>
<ProjectedEnrollees>1000</ProjectedEnrollees>
<RecurringExpenseAutoReview>true</RecurringExpenseAutoReview>
<SetupEmailAddress>test@test.com</SetupEmailAddress>
<State>MA</State>
<TpaId>T00209</TpaId>
<ZipCode>01234</ZipCode>
<ThermalPrintName>Test Print</ThermalPrintName>
</GetEmployerResult>
</GetEmployerResponse_2006_12>
</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 GetEmployer method.
try
{
_dataset.Tables["Employers"].Clear();
// Create the session SOAP header in order to pass the Employer Service
// the client’s current session id.
mbiSessionHeader = new EmployerServiceNameSpace.MBISessionHeader();
// Create proxy object for the Employer Service
proxy = new EmployerServiceNameSpace.EmployerService();
// Create request message for method call (input parameters)
request = new EmployerServiceNameSpace.GetEmployerRequest();
// Set the input parameters
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.GetEmployer(request);
if(response != null)
{
_dataset.Tables["Employers"].Rows.Add(new string[]
{
response.ActiveFirstUse.ToString(),
response.AddressLine1,
response.AddressLine2,
response.BucketSplit.ToString(),
response.CardExpirationMonths.ToString(),
response.CardIssueAddressIndicator.ToString(),
response.CardReissueLeadDays.ToString(),
response.CardOffered.ToString(),
response.CardSecondLine,
response.CheckProcessMethod.ToString(),
response.City,
response.CopayAutoReview.ToString(),
response.Country,
response.DirectDepositMethod.ToString(),
response.EmailAddress,
response.EmployeeUserDefinedFields,
response.EmployerForTesting.ToString(),
response.EmployerId,
response.EmployerName,
response.EmployerPhoneNumber,
response.EmployerTaxId,
response.EmployerStatus.ToString(),
response.EmployerUserDefinedFields,
response.EmployerUserDefinedFieldsData,
response.EmployerFaxNumber,
response.ProjectedEnrollees.ToString(),
response.RecurringExpenseAutoReview.ToString(),
response.SetupEmailAddress,
response.State,
response.TpaId,
response.ZipCode,
response.ThermalPrintName
});
}
This method is used to retrieve a list of employers for a given administrator.
History
The GetEmployers methods are listed below:
Request Messages
GetEmployersRequest
Response Messages
GetEmployersResponse
GetEmployers Request/Response Messages
The GetEmployers method requires the following request and response messages (input and output data).
The table below includes the following request messages:
GetEmployersResponse_2020_01
GetEmployersResponse_2018_10
GetEmployersResponse_2018_06
GetEmployersResponse_2009_04
GetEmployersResponse_2007_12
GetEmployersRequest
The table below includes the following response messages:
GetEmployersResponse
Example of a GetEmployers 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>k53d2c55oiux1s55aonmagis</MBISessionID>
</MBISessionHeader>
</soap:Header>
<soap:Body>
<GetEmployers xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/Employer/Request/2004/06/">
<getEmployersRequest>
<TpaId>T00209</TpaId>
</getEmployersRequest>
</GetEmployers>
</soap:Body>
</soap:Envelope>
Example of a GetEmployers 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>
<GetEmployersResponse xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/Employer/Response/2004/06/">
<GetEmployersResult>
<GetEmployersResponse>
<ActiveFirstUse>true</ActiveFirstUse>
<BucketSplit>false</BucketSplit>
<City>Shelbyville</City>
<CopayAutoReview>false</CopayAutoReview>
<EmailAddress />
<EmployerId>EAS000001</EmployerId>
<EmployerName>Sand and Steel Corporation</EmployerName>
<EmployerStatus xmlns="http://www.medibank.com/MBIWebServices/Enums/">Active</EmployerStatus>
<RecurringExpenseAutoReview>false</RecurringExpenseAutoReview>
<State>MA</State>
<TpaId>T00209</TpaId>
</GetEmployersResponse>
</GetEmployersResult>
</GetEmployersResponse>
</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 GetEmployers method.
try
{
_dataset.Tables["Employers"].Clear();
// Create the session SOAP header in order to pass the Employer Service
// the client’s current session id.
mbiSessionHeader = new EmployerServiceNameSpace.MBISessionHeader();
// Create proxy object for the Employer Service
proxy = new EmployerServiceNameSpace.EmployerService();
// Create request message for method call (input parameters)
request = new EmployerServiceNameSpace.GetEmployerRequest();
// Set the input parameters
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.GetEmployers(request);
if(responses != null)
{
for(int i=0; i < responses.Length; i++)
{
_dataset.Tables["Employers"].Rows.Add(new string[]
{
responses[i].ActiveFirstUse.ToString(),
responses[i].AddressLine1,
responses[i].AddressLine2,
responses[i].BucketSplit.ToString(),
responses[i].CardExpirationMonths.ToString(),
responses[i].CardIssueAddressIndicator.ToString(),
responses[i].CardReissueLeadDays.ToString(),
responses[i].CardOffered.ToString(),
responses[i].CardSecondLine,
responses[i].CheckProcessMethod.ToString(),
responses[i].City,
responses[i].CopayAutoReview.ToString(),
responses[i].Country,
responses[i].DirectDepositMethod.ToString(),
responses[i].EmailAddress,
responses[i].EmployeeUserDefinedFields,
responses[i].EmployerForTesting.ToString(),
responses[i].EmployerId,
responses[i].EmployerName,
responses[i].EmployerPhoneNumber,
responses[i].EmployerTaxId,
responses[i].EmployerStatus.ToString(),
responses[i].EmployerUserDefinedFields,
responses[i].EmployerUserDefinedFieldsData,
responses[i].EmployerFaxNumber,
responses[i].ProjectedEnrollees.ToString(),
responses[i].RecurringExpenseAutoReview.ToString(),
responses[i].SetupEmailAddress,
responses[i].State,
responses[i].TpaId,
responses[i].ZipCode
});
}
}
}
catch(SoapException se)
{
// perform needed operations
}
catch(Exception ex)
{
// perform needed operations
}
This method is used to update an employer’s demographic information.
History
The UpdateEmployer methods are listed below:
Request Messages
UpdateEmployerRequest_2020_01
UpdateEmployerRequest
Response Messages
UpdateEmployerResponse
UpdateEmployer Request/Response Messages
The UpdateEmployer method requires the following request and response messages (input and output data).
The table below includes the following request messages:
UpdateEmployerRequest
Response Message: Empty Message
Example of a UpdateEmployer 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>k53d2c55oiux1s55aonmagis</MBISessionID>
</MBISessionHeader>
</soap:Header>
<soap:Body>
<UpdateEmployer_2006_12 xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/Employer/Request/2006/12/">
<updateEmployerRequest_2006_12>
<ActiveFirstUse>true</ActiveFirstUse>
<AddressLine1>567 Test St</AddressLine1>
<AddressLine2>Apt 2</AddressLine2>
<BucketSplit>true</BucketSplit>
<CardIssueAddressIndicator xmlns="http://www.medibank.com/MBIWebServices/Enums/">Cardholder</CardIssueAddressIndicator>
<CheckProcessMethod xmlns="http://www.medibank.com/MBIWebServices/Enums/">File</CheckProcessMethod>
<City>TestCityUSA</City>
<CopayAutoReview>true</CopayAutoReview>
<Country>US</Country>
<DirectDepositMethod xmlns="http://www.medibank.com/MBIWebServices/Enums/">None</DirectDepositMethod>
<EmailAddress>test@test.com</EmailAddress>
<EmployerId>EASE7</EmployerId>
<EmployerName>EASE7</EmployerName>
<EmployerPhoneNumber>555 555 - 5555</EmployerPhoneNumber>
<EmployerStatus xmlns="http://www.medibank.com/MBIWebServices/Enums/">Active</EmployerStatus>
<EmployerTaxId>12222222</EmployerTaxId>
<EmployerFaxNumber>555 555 - 5555</EmployerFaxNumber>
<ProjectedEnrollees>22</ProjectedEnrollees>
<SetupEmailAddress>test@test.com</SetupEmailAddress>
<State>MA</State>
<TpaId>T00209</TpaId>
<ZipCode>11111</ZipCode>
<ThermalPrintName>TextToInclude</ThermalPrintName>
</updateEmployerRequest_2006_12>
</UpdateEmployer_2006_12>
</soap:Body>
</soap:Envelope>
Example of a UpdateEmployer 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>
<UpdateEmployerResponse xmlns="http://www.medibank.com/MBIWebServices/Employer/Messages/Employer/Response/2004/06/">
<UpdateEmployerResult />
</UpdateEmployerResponse>
</soap:Body>
</soap:Envelope>
Example Client Code
The following is an example of the client code (using a .NET proxy class for the service) used when calling the UpdateEmployer method.
try
{
// Create the session SOAP header in order to pass the Employer Service
// the client’s current session id.
mbiSessionHeader = new EmployerServiceNameSpace.MBISessionHeader();
// Create proxy object for the Employer Service
proxy = new EmployerServiceNameSpace.EmployerService();
// Create request message for method call (input parameters)
request = new EmployerServiceNameSpace.UpdateEmployerRequest_2006_12();
// Set the input parameters
request.ActiveFirstUse = (bool) _activeFirstUse.SelectedItem;
request.AddressLine1 = _addressLine1.Text;
request.AddressLine2 = _addressLine2.Text;
request.BucketSplit = (bool) _bucketSplit.SelectedItem;
request.CardExpirationMonths =
(EmployerServiceNameSpace.CardExpirationMonthOptions)
_cardExpirationMonths.SelectedItem;
request.CardExpirationMonthsSpecified = true;
request.CardIssueAddressIndicator =
(EmployerServiceNameSpace.EmployerIssueAddress)
_cardIssueAddressIndicator.SelectedItem;
request.CardReissueLeadDays =
(EmployerServiceNameSpace.AutoCardReissueLeadDayOptions)
_cardReissueLeadDays.SelectedItem;
request.CardReissueLeadDaysSpecified = true;
request.CardSecondLine = _cardSecondLine.Text;
request.CheckProcessMethod = (EmployerServiceNameSpace.CheckProcessMethodCodes)
_checkProcessMethod.SelectedItem;
request.City = _city.Text;
request.CopayAutoReview = (bool) _copayAutoReview.SelectedItem;
request.Country = _country.Text;
request.DirectDepositMethod = (EmployerServiceNameSpace.DirectDepositMethodCodes)
_directDepositMethod.SelectedItem;
request.EmailAddress = _emailAddress.Text;
request.EmployeeUserDefinedFields = _employeeUserDefinedField.Text;
request.EmployerFaxNumber = _employerFaxNumber.Text;
request.EmployerStatus = (EmployerServiceNameSpace.EmployerStatusCodes)
_employerStatus.SelectedItem;
request.EmployerId = _employerId.Text;
request.EmployerName = _employerName.Text;
request.EmployerPhoneNumber = _employerPhoneNumber.Text;
request.EmployerTaxId = _employerTaxId.Text;
request.EmployerUserDefinedFields = _employerUserDefinedField.Text;
request.EmployerUserDefinedFieldsData = _employerUserDefinedFieldData.Text;
request.ProjectedEnrollees = Convert.ToInt32(_projectedEnrollees.Text);
request.RecurringExpenseAutoReview = (bool)
_recurringExpenseAutoReview.SelectedItem;
request.SetupEmailAddress = _setupEmailAddress.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.UpdateEmployer(request);
MessageBox.Show("Finished.");
}
This method is used to copy an employer’s report schedules to another employer.
History
The CopyReportSchedules methods are listed below:
Request Messages
CopyReportSchedulesRequest
Response Messages
CopyReportSchedulesResponse
CopyReportSchedules Request/Response Messages
The CopyReportSchedules method requires the following request and response messages (input and output data).
The table below includes the following request messages:
CopyReportSchedules
Response Message: Empty Message
Example of a CopyReportSchedulesRequest SOAP request message
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://bensoft.metavante.com/WebServices/Contracts/Employer/2009/10/V1/IEmployerService/CopyReportSchedule</Action>
<mbiSessionHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<MBISessionID xmlns="http://schemas.datacontract.org/2004/07/MBI.WebServices.Wcf.Headers">pgza1bg4eycmfsw0aunmog4h</MBISessionID>
</mbiSessionHeader>
</s:Header>
<s:Body>
<CopyReportSchedule xmlns="http://bensoft.metavante.com/WebServices/Contracts/Employer/2009/10/V1">
<request xmlns:d4p1="http://bensoft.metavante.com/WebServices/Messages/Employer/Request/2016/02/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<d4p1:DeliveryOption>UIDownloadEmail</d4p1:DeliveryOption>
<d4p1:DestinationEmployerId>CCICOOK</d4p1:DestinationEmployerId>
<d4p1:EmailOfRecipient>reports@benefits.com</d4p1:EmailOfRecipient>
<d4p1:EmailOfSender>reports@benefits.com</d4p1:EmailOfSender>
<d4p1:OriginEmployerId>CCI0987</d4p1:OriginEmployerId>
<d4p1:ScheduleName>Weekly EAB</d4p1:ScheduleName>
<d4p1:TpaId>T02340</d4p1:TpaId>
</request>
</CopyReportSchedule>
</s:Body>
</s:Envelope>
Example of a CopyReportSchedulesRequest SOAP response message
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<MBIMessageIdHeader xmlns="http://bensoft.metavante.com/WebServices/SoapHeader/">
<MessageId>urn:uuid:3380413c-b5e9-4dc5-806e-f5d35e35d412</MessageId>
</MBIMessageIdHeader>
</s:Header>
<s:Body>
<CopyReportScheduleResponse xmlns="http://bensoft.metavante.com/WebServices/Contracts/Employer/2009/10/V1">
<CopyReportScheduleResult xmlns:a="http://bensoft.metavante.com/WebServices/Messages/Employer/Response/2016/02/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:ErrorCode>0</a:ErrorCode>
<a:ErrorDescription>Request submitted successfully.</a:ErrorDescription>
</CopyReportScheduleResult>
</CopyReportScheduleResponse>
</s:Body>
</s:Envelope>
Copyright © 2023 Alegeus Technologies, LLC. All rights reserved. Alegeus, Alegeus Technologies, WealthCare, WealthCare Saver are registered trademarks of Alegeus Technologies, LLC