|
Web Services |
|||||||
|
Please note, eClaims
maintains Claimant and Claim data separately.
The Claimant data is common to all trusts. |
|||||||
|
Claimant Data |
Name, SSN, IntID, DOB, Gender,
DOD and related questions, address, phone, |
||||||
|
email address,
representatives |
|||||||
|
Claim Data |
Attorney, contact, co-counsel information, alleged
disease, litigation, |
||||||
|
smoking, exposure, assigned representative ID, other
trust-specific |
|||||||
|
questions
and responses (i.e. Relying on Manville claim? Bankruptcy ballot data, …) |
|||||||
|
Operations |
WebService Method for each Trust |
Description |
|||||
|
Law Firm |
|
|
|||||
|
|
GetAttorney |
Returns a list of attorneys with the eClaims attorney ID for adding claims to the system |
|||||
|
Trust Codes |
|
|
|||||
|
|
|
GetCDClaimStatus |
Returns a list of claim status codes with a
description for each trust |
|
|
||
|
|
GetCDOccupation |
Returns a list of occupations including the
occupation ID (for use when adding exposure) and occupation description for
the trust |
|||||
|
|
GetCDDisease |
Returns list of diseases for the trust |
|||||
|
|
GetCDIndustry |
Returns a list of industries including the
industry ID (for use when adding exposure) and industry description for the
trust |
|||||
|
|
GetCDSite |
Returns a valid list of sites including the site
ID (for use when adding exposure) and site description for the trust |
|||||
|
|
GetCDClaimantSite |
Returns a valid list of sites including the
site ID (for use when adding exposure) and site description for the
trust and claimant ID |
|||||
|
|
GetCDProduct |
Returns a valid list of products including the
product ID (for use when adding exposure) and product description for the
specified trust code |
|||||
|
|
GetCDDocType |
Returns the
document form type codes for the trust |
|||||
|
|
GetCDDeficiency |
Returns the deficiency codes and a description
|
|||||
|
Documents |
|
|
|||||
|
|
GetDocRequired |
Returns a list of required documents for the specified
claim based on the disease (alleged for hybrid users). If the document is
already updated to eClaims, then the documentID field has a value other than 0. If there is a file in eClaims
that may possibly be the document needed, the copydocumentID
field is filled in |
|||||
|
|
GetDocOnFile |
Returns a list of documents on file for the
specified claim |
|||||
|
|
GetAvailableDocs |
Returns a list of documents on file for the
specified claimant |
|||||
|
|
AddDoc |
Add (or Upload) a document to eClaims for the specified claim and document form type
with an option to include a note with the document. eClaims
only accepts pdf or tif
documents. |
|||||
|
|
GetDoc |
Retrieve a document from eClaims
for the specified claim ID and either a document ID or document type code |
|||||
|
|
CopyDoc |
Copy specified document ID to specified Claim
ID |
|||||
|
|
CopyAllDoc |
Copy all transferable documents from specified
Claim ID for a Claimant to new specified Claim ID |
|||||
|
Inter-Trust |
|
|
|||||
|
|
InterGetTrusts |
Returns the trusts the user logged in has
access to |
|||||
|
|
InterGetClaimantClaims |
Pass in a claimID. Returns a list of claims with their trust
Code and status for the claimID’s Claimant |
|||||
|
|
|
InterGetClaims |
Pass in a claimant ID. Returns a list of claims with their trust
Code, and status |
|
|
||
|
|
InterCopyClaim |
Pass in ClaimID for
copying from. This method will create
a claim in eClaims for the trust based off of the
claim passed in. Only those items that
can be converted in full are copied (please note this almost always excludes
exposure). Optionally, all claimant documents pertaining
to the new claim are copied (defaults to copy) |
|||||
|
|
InterGetClaimForCopy |
Pass in ClaimID for
copying from. This method will return
a claim object with all of the copyable data from
the trust for the
new claim (the user must fill in the rest of the data to add the exposure to
the claim for the new trust). |
|||||
|
|
InterCopyAllDocs |
Copy all copyable
documents from one claim to another claim |
|||||
|
Claimant |
|
|
|||||
|
|
GetClaimant |
Get all claimant data for the claimant ID
specified. Returns all claimant data
for the claimant ID specified |
|||||
|
|
FindClaimant |
Pass in data to lookup a claimant including firstname, lastname, middle
initial, social security and date of birth.
Returns a list of claimants matching the search criteria |
|||||
|
|
AddClaimant |
Add Claimant to eClaims |
|||||
|
|
AddClaimantandClaim |
Add a claimant and claim for the trust. |
|||||
|
|
GetRep |
Pass in a claimant ID. Returns a list of representative information
including the Representative ID for use when adding claims to the system |
|||||
|
|
UpdateClaimant |
This method updates information passed in for
the claimant, which may include representative, gender, dod,
and address information. |
|||||
|
|
UpdateClaimantandClaim |
Update a claimant and claim. Note updates to claimant apply to all
trusts for the claimant. |
|||||
|
Claim |
|
|
|||||
|
|
AddClaim |
Add a claim to an existing claimant ID for the
trust and optionally copy all copyable documents
for the claimant (defaults to copy) |
|||||
|
|
GetClaim |
Returns data for the claim entered |
|||||
|
|
GetClaimDetail |
Return all claim detailed information. |
|||||
|
|
UpdateClaim |
Update claim information, this will take a
claim object and update any altered information for the claim. This includes: assigned attorney, contact,
alleged disease, representative, litigation, smoking, exposure, occupational
exposure question, relying on Manville question… |
|||||
|
|
DeferClaim |
Defer a claim.
Please note the claim must be in a state beyond the initial CDT
submission. |
|||||
|
|
UndeferClaim |
Undefer a deferred claim |
|||||
|
|
FindClaim |
Pass in data to lookup a claim optionally
including firstname, lastname,
middle initial, social security and date of birth and whether to include
DELETED claims. |
|||||
|
Process |
|
|
|||||
|
|
AcceptOffer |
Accept an offer for a claim at the
‘AWOFFERRESP’ status. Pass in the
Claim ID. |
|||||
|
Returns
the current claim ID, Status, and next
processing steps in eClaims for the claim |
|||||||
|
|
SubmitToCDT |
For Hybrid customers allows them to push the
claim forward to document or CDT processing.
Pass in the Claim ID. |
|||||
|
|
Submit |
Submits the CDT for the ClaimID
specified |
|||||
|
|
OfferRespond |
Enters a response for the claim ID specified (for
IE response it will have to include answers to additional required questions
) |
|||||
|
|
Reactivate |
Reactivates specified claimID
with option specified (Re-categorize or Accept last offer) |
|||||
|
|
Withdraw |
Enters a withdraw for the claim ID specified |
|||||
|
|
Delete |
Deletes a claim filing |
|||||
|
|
FindClaimAtStatus |
Arguments include claim status, and optionally
a begin date, end date, officeid, attorneyid and a disease cd and alleged disease code |
|||||
|
|
GetClaimOffer |
Enter ClaimID |
|||||
|
|
GetReleases |
Enter startdt and enddt |
|||||
|
|
GetPayment |
Enter startdt and enddt |
|||||
|
|
FindPendingExpiration |
Get list of claims pending expiration based
on type (offers or denials or both),
Start Date, End Date |
|||||
|
Requirements |
|||||||
|
The WSDL is provided to allow you to be able to construct
SOAP messages that conform to it. |
|||||||
|
It is recommended you use Microsoft Visual Studio .NET
2008 or later. |
|||||||
|
Each customer must be granted permission to use the eClaims web service.
To get started, |
|||||||
|
a sample program showing how to access the web site using
Microsoft Visual Studio 2008 and C# is provided. |
|||||||
|
Sample |
|||||||
|
Code Snippet |
|||||||
|
Here is a sample of how to connect to the web service to
obtain a list of occupations for a trust |
|||||||
|
CETServiceClient proxy = new CETServiceClient (); ; |
|||||||
|
string username = "ValidEClaimsUserName"; |
|||||||
|
string password = "ValidPassword"; |
|||||||
|
// Set the username and password to a valid eClaims username and
password using an existing account |
|||||||
|
proxy.ClientCredentials.UserName.UserName
= username; |
|||||||
|
proxy.ClientCredentials.UserName.Password
= password; |
|||||||
|
// Get list of valid occupations for the Thurston Trust |
|||||||
|
eClaims.API.Occupations [] occArray = null; |
|||||||
|
eClaims.API.GetMsg msg = eClaims.API.GetMsg; |
|||||||
|
eClaims.MVWS.WSResults wsResults = new
eClaims.MVWS.WSResults() |
|||||||
|
msg.firmValue
= “string returned in result”; |
|||||||
|
try |
|||||||
|
{ |
|||||||
|
wsResults
= proxy.GetCDOccupation (msg); |
|||||||
|
occArray
= wsResults.GetCDOccupationResult; |
|||||||
|
int myCount =
occArray.Count(); |
|||||||
|
// Display all attorneys to the console |
|||||||
|
for (int ind = 0; ind < occArray.Length; ind++) |
|||||||
|
{ |
|||||||
|
Console.WriteLine(occArray [ind].name.ToString() + "
- " + occArray [ind].occID.ToString()); |
|||||||
|
} |
|||||||
|
// Close the Session |
|||||||
|
proxy.Close(); |
|||||||
|
} |
|||||||
|
catch
(System.ServiceModel.FaultException<eClaims.API.eclaimsAppFault> ee) |
|||||||
|
{ |
|||||||
|
Console.WriteLine(" Fault Exception Occcured:
" + ee.Detail.Reason); |
|||||||
|
proxy.Close(); |
|||||||
|
return; |
|||||||
|
} |
|||||||
|
Extensive Sample Program |
|||||||
|
A more extensive sample is provided by downloading the CET VS 2008 project
at |
|||||||
|
https://ws.claimsres.com/CET%20Web%20Service/CETSample/SampleConsoleCET.zip |
|||||||
|
This sample shows
how to add a claimant and claim to the eClaims
system. There are several areas |
|||||||
|
of code that you must modify to get this to work
for you. First, please verify the app.config file |
|||||||
|
endpoint address is set to: |
|||||||
|
https://ws.claimsres.com/WSCET/CETService.svc |
|||||||
|
<endpoint address="https://ws.claimsres.com/WSCET/CETService.svc" |
|||||||
|
binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_CETWS" |
|||||||
|
contract="CETService"
name="BasicHttpBinding_CETWS" /> |
|||||||
|
Next, open the program.cs file
and find the Main. Set the username
and password to an authorized eClaims |
|||||||
|
user. At this point,
you should be able to build the program and execute it from a console window
to see |
|||||||
|
if you can get a list of attorneys for your firm and if
you are able to add a new MV claim for the new |
|||||||
|
claimant John Smith (please
note, your user must have permissions to create claims for the MV trust). |
|||||||
|
Steps to Creating a VS 2008 application |
|||||||
|
To create a Windows Application project from scratch using
VS 2008: |
|||||||
|
1. Select File->New->Project |
|||||||
|
2. Select Windows and then Console
Application (note, this could be any Windows or Web project type) |
|||||||
|
3. Specify the location and name
of the project (i.e. “SampleConsole”) |
|||||||
|
4. Open a “Visual Studio 2008
Command Prompt” window |
|||||||
|
5. Create the proxy against the wsdl files supplied by entering the following command: |
|||||||
|
svcutil /d:. /o:serviceproxy.cs
/config:app.config .\*.wsdl
.\*.xsd |
|||||||
|
6. Copy the serviceproxy.cs
and app.config file to your new project and include
both files in the project |
|||||||
|
7. Add in a reference to System.Runtime.Serialization and System.ServiceModel
.Net dlls into your project. |
|||||||
|
8. Add in code similar to the
sample above including your eClaims user name and
password for each web service call. |
|||||||
|
9. Write your program to make eClaims Web service calls and test |
|||||||