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
(Separate doc web service)
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
(Separate doc web service)
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).

The end user can then fill in the rest of the data to create a claim.  For example, exposure is one item where the requirements vary from trust to trust.  While the industry codes may be complete, the old trust may not have had products defined that the new trust requires.  The products must be filled in prior to attempting to create the new claim.
  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

Data shall include:
-Claimant ID,
-FirstName,
-MI,
-LastName,
-Suffix,
-Gender,
-SSN,
-IntID,
-DOB,
-DOD
-DOD related questions,
-Address,
-Phone,
-Email address,
-List of Representatives
-List of ClaimID and Claim Status
   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
Data shall be in the form of the object used to insert/edit data into eClaims.

Data shall include:
-Claimant ID,
-Claim Status,
-Claim Status Date,
-Alleged disease,
-Attorney,
-Contact,
-Co-counsel information,
-Litigation,
-Smoking,
-Exposure,
-Assigned representative ID,
-Other trust-specific questions and responses for example:
  Relying on Manville claim
  Bankruptcy ballot data,
  Occupational Exposure for Thurston
  GetClaimDetail Return all claim detailed information.
Data shall include claimant and claim  data entered by customer and eClaims data related to history, payment, detail (value), holds, QC, and deficiencies.

Data shall include:
-Data listed in GetClaim and GetClaimant
-Deficiencies
-Claim detail (claim class, soe qualified, exp country, registered date, received date, original received date, eh/hs status, evaluation country, fifo, parent claim)
-History
-Holds
-Qc
-Payment
-Offer
-Settlement
  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. 
Returns a list of claims matching the search criteria with the firstname, lastname, mi, ssn, dob, claimid, alleged disease, disease and claimstatus
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
Returns a list of claims with the provided status
  GetClaimOffer Enter ClaimID
Returns the offer for a claim with valid responses to the offer
  GetReleases Enter startdt and enddt
Returns claims at AWRELEASERESP with the releasedocumentID and claim value data
  GetPayment Enter startdt and enddt
Return list of claims with claimid, issuedt, amount, and payment type
  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
USMServiceClient proxy = new USMServiceClient (); ;
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 Manville Trust
eClaims.API.Occupations [] occArray = null;
eClaims.API.GetMsg msg = eClaims.API.GetMsg;
eClaims.USMWS.WSResults wsResults = new eClaims.USMWS.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 MS VS 2008 project at 
https://ws.claimsres.com/USM%20Web%20Service/USMSample/SampleConsoleUSM.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/WSUSM/USMService.svc 
         <endpoint address="https://ws.claimsres.com/WSUSM/USMService.svc"  
          binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_USMWS" 
          contract="USMService" name="BasicHttpBinding_USMWS" />
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 USM claim for the new 
claimant John Smith  (please note, your user must have permissions to create claims for the USM 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