Metex Asbestos PI Trust - Claims Web Service

Transcription

3-2-2015 Rev. 1Metex Asbestos PI Trust - Claims Web ServiceService URL: Service.asmxWeb Methods AddClaim - Use to submit a new Claim.o Parameters: EncryptedUsername (String) Use the EncryptValue WebMethod to encrypt your username. EncryptedPassword (String) Use the EncryptValue WebMethod to encrypt your password. Claim (Complex Type (MetexClaim). See Object Reference.) Represents an electronic copy of the Metex Claim Form.o Returns: MetexClaim (Complex Type. See Object Reference.) The Claim operated on. Information about the success or failure of an operation. (See OperationInfoproperty)AddDocument - Use to attach a Document to an existing Claim.o Parameters: EncryptedUsername (String) Use the EncryptValue WebMethod to encrypt your username. EncryptedPassword (String) Use the EncryptValue WebMethod to encrypt your password. CLAIM ID (Integer) DOC TYPE (Enumeration) Notes (String) FileName (String) FileBytes (Byte())o Returns: MetexClaim (Complex Type. See Object Reference.) Contains the Claim, including document, operated on and information about thesuccess or failure of an operation. (See OperationInfo property)EncryptValue - Encrypts a string. Once encrypted the string can only be decrypted by MFR.o Parameters: Value (String)o Returns: String The return string is the encrypted representation of the value passed.GetClaim - Use to retrieve a single existing claim.o Parameters: EncryptedUsername (String) Use the EncryptValue WebMethod to encrypt your username. EncryptedPassword (String)

3-2-2015 Rev. 1 Use the EncryptValue WebMethod to encrypt your password. CLAIM ID (Integer)o Returns: MetexClaim (Complex Type. See Object Reference.) Contains the Claim operated on and information about the success or failure ofan operation. (See OperationInfo property)GetDocument - Use to retrieve an existing document.o Parameters: EncryptedUsername (String) Use the EncryptValue WebMethod to encrypt your username. EncryptedPassword (String) Use the EncryptValue WebMethod to encrypt your password. IMAGE ID (Integer)o Returns: Byte() The byte array representation of the requested PDF file. If authentication error occurs HTTP Code is set to 400. Response is “text/plain”: Bad Login.UpdateClaim - Use to update an existing Claim.o Parameters: EncryptedUsername (String) Use the EncryptValue WebMethod to encrypt your username. EncryptedPassword (String) Use the EncryptValue WebMethod to encrypt your password. Claim (Complex Type. See Object Reference.) Represents an electronic copy of Claim Form.o Returns: MetexClaim (Complex Type. See Object Reference.) The Claim operated on. Information about the success or failure of an operation. (See eferClaim - Use to withdraw/defer/undefer an existing Claim.o Parameters: EncryptedUsername (String) Use the EncryptValue WebMethod to encrypt your username. EncryptedPassword (String) Use the EncryptValue WebMethod to encrypt your password. CLAIM ID (Integer)o Returns: ClaimOperationResult (Complex Type. See Object Reference.)o Returns: MetexClaim (Complex Type. See Object Reference.) The Claim operated on. Information about the success or failure of an operation. (See OperationInfoproperty)

3-2-2015 Rev. 1Code SamplesAdd ClaimDim SvcClient As New MetexWS.MetexWebServiceSoapClient()Dim EncUn As String SvcClient.EncryptValue("TEst")Dim EncPw As String SvcClient.EncryptValue("TEst1@")Dim C As New MetexWS.MetexClaimC.ReadOnlyFields New MetexWS.sReadOnlyFieldsC.ReadOnlyFields.LC ID 64Dim ReviewInfo As New MetexWS.sReviewReviewInfo.CLAIM TYPE ID MetexWS.IClaimType.INDIVIDUAL REVIEWReviewInfo.EXIGENT HEALTH CLAIM TrueReviewInfo.EXTRAORDINARY CLAIM TrueReviewInfo.FOREIGN CLAIM TrueReviewInfo.SECONDARY EXPOSURE CLAIM TrueReviewInfo.FC CITY "F city"ReviewInfo.FC DESCRIPTION "f desc"ReviewInfo.FC LOCATION "f loc"ReviewInfo.EXTRAORDINARY DESCRIPTION "ext desc"ReviewInfo.METEX EXP END DATE TrueC.Review ReviewInfoDim Pr As New MetexWS.sPersonalRepresentativePr.IP DATE OF DEATH "1/1/1980"Pr.IP DEATH ABS REL TruePr.IP STATUS MetexWS.IInjuredPartyStatus.DeceasedPr.PR ADR CITY "pr adr city"Pr.PR ADR STATE MetexWS.IState.ALPr.PR ADR STREET "pr adr street"Pr.PR CAPACITY ID MetexWS.IPRCapacityID.OTHERPr.PR ADR ZIP "19031"Pr.PR CAPACITY OTHER "pr cap other"Pr.PR EMAIL "preml@nowhere.com"Pr.PR FIRSTNAME "PR f"Pr.PR LASTNAME "prl"Pr.PR MIDDLE NAME "prm"Pr.PR PHONE "1234567890"Pr.PR SS NBR "123456789"C.PersonalRepresentative PrDim Ip As New MetexWS.sInjuredPartyIp.IP DATE OF BIRTH "07/20/1960"Ip.IP FIRST NAME "test"Ip.IP MIDDLE NAME "ipm"

3-2-2015 Rev. 1Ip.IP LAST NAME "Testln"Ip.IP FOREIGN ID "123456789"Ip.IP GENDER MetexWS.IGender.FC.InjuredParty IpDim d As New MetexWS.sDiseased.DATE DIAGNOSIS "1/20/1980"d.DISEASE ID MetexWS.IDisease.MESOTHELIOMAC.Disease dDim sl As New MetexWS.sStatuteOfLimitationssl.TF SUIT FILED Truesl.TF COURT "court"sl.TF CITY "city"sl.TF STATE MetexWS.IState.ALsl.TF DATE FILED "1/1/1980"sl.TF DOCKET NUMBER "case #"sl.TF METEX NAMED Truesl.TF METEX MONEY Truesl.TF METEX AMT 10000sl.TF SIGNED RELEASE Truesl.TF JURISDICTION ELECTED MetexWS.IJursdictionElected.STATE RESIDEsl.TF JURISDICTION STATE MetexWS.IState.PAsl.TF ADMIN SETT Truesl.TF ADMIN SETT DATE "1/1/2000"sl.TF TOLLING AGREEMENT Truesl.TF TOLLING BEGAN "1/1/1980"sl.TF TOLLING END "1/2/1980"C.StatuteOfLimitations slDim se As New MetexWS.sSecondaryExposurese.SOE FIRST NAME "soefn"se.SOE LAST NAME "soeln"se.SOE MIDDLE NAME "soemn"se.SOE OEP DESCRIPTION "oep desc"se.SOE RELATIONSHIP "OEP REL"se.SOE DATE OEP FROM "1/1/1980"se.SOE DATE OEP TO "1/2/1980"C.SecondaryExposure seDim ir As New MetexWS.sIndividualReviewir.EMP DECEASED Trueir.EMP DISABLED Trueir.EMP DISABLED FULL Trueir.EMP FULL Trueir.EMP LAST EMP DATE "1/1/1979"ir.EMP LAST WAGE 10000

3-2-2015 Rev. 1ir.EMP PART Trueir.EMP RETIRED Trueir.EXP FE Trueir.EXP HHS Trueir.EXP ME Trueir.EXP OTHER Trueir.HEIR BIRTH DATE1 "1/1/1990"ir.HEIR FIN DEP1 Trueir.HEIR FIRST NAME1 "hn1"ir.HEIR LAST NAME1 "hn2"ir.HEIR MIDDLE NAME1 "hn3"ir.HEIR RELATIONSHIP1 "h1r"ir.HEIR SUFFIX1 "hsufx1"ir.HEIR BIRTH DATE2 "1/1/1990"ir.HEIR FIN DEP2 Trueir.HEIR FIRST NAME2 "hn1"ir.HEIR LAST NAME2 "hn2"ir.HEIR MIDDLE NAME2 "hn3"ir.HEIR RELATIONSHIP2 "h1r"ir.HEIR SUFFIX2 "hsufx1"ir.HEIR BIRTH DATE3 "1/1/1990"ir.HEIR FIN DEP3 Trueir.HEIR FIRST NAME3 "hn1"ir.HEIR LAST NAME3 "hn3"ir.HEIR MIDDLE NAME3 "hn3"ir.HEIR RELATIONSHIP3 "h1r"ir.HEIR SUFFIX3 "hsufx1"ir.HEIR BIRTH DATE4 "1/1/1990"ir.HEIR FIN DEP4 Trueir.HEIR FIRST NAME4 "hn1"ir.HEIR LAST NAME4 "hn4"ir.HEIR MIDDLE NAME4 "hn3"ir.HEIR RELATIONSHIP4 "h1r"ir.HEIR SUFFIX4 "hsufx1"ir.INC OTHER Trueir.INC P Trueir.INC SS Trueir.SH CIG1 Trueir.SH CIGAR1 Trueir.SH END DATE1 "1/1/1970"ir.SH OTHER1 "oth"ir.SH PER DAY1 1.3ir.SH PIPE1 Trueir.SH START DATE1 "1/1/1969"ir.SH CIG2 Trueir.SH CIGAR2 Trueir.SH END DATE2 "2/2/1970"ir.SH OTHER2 "oth"ir.SH PER DAY2 2.3ir.SH PIPE2 Trueir.SH START DATE2 "4/2/1969"

3-2-2015 Rev. 1ir.SH CIG3 Trueir.SH CIGAR3 Trueir.SH END DATE3 "3/3/1970"ir.SH OTHER3 "oth"ir.SH PER DAY3 3.3ir.SH PIPE3 Trueir.SH START DATE3 "3/3/1969"C.IndividualReview irDim cert As New MetexWS.sCertificationcert.CERTIFIED SIG "c sig"cert.CERTIFIED SIG ID "c sig rel"C.Certification certDim RC As MetexWS.MetexClaim SvcClient.AddClaim(EncUn, EncPw, C)

3-2-2015 Rev. 1Update ClaimDim SvcClient As New MetexWS.MetexWebServiceSoapClient()Dim EncUn As String SvcClient.EncryptValue("TEst")Dim EncPw As String SvcClient.EncryptValue("TEst1@")Dim C As MetexWS.MetexClaim SvcClient.GetClaim(EncUn, EncPw, 191892)C.Review.CLAIM TYPE ID MetexWS.IClaimType.INDIVIDUAL REVIEWC.Disease.DISEASE ID MetexWS.IDisease.ESOPHAGEAL CANCERDim exp1 As New MetexWS.sExposureexp1.CITY "cty"exp1.COUNTRY ID MetexWS.ICountry.USexp1.DATE FROM "1/1/1981"exp1.DATE TO "1/2/1981"exp1.EXP TYPE ID MetexWS.IExpRecordType.METEXexp1.EXPOSURE DESCRIPTION "expdesc"exp1.INDUSTRY ID MetexWS.IIndustry.Asbestos Abatementexp1.JOBSITE "js"exp1.OCC ID 123exp1.PRODUCT ID "prod"exp1.SOE1 Trueexp1.STATE ID MetexWS.IState.PAC.Exposure.Add(exp1)Dim rc As MetexWS.MetexClaim SvcClient.UpdateClaim(EncUn, EncPw, C)

3-2-2015 Rev. 1Add DocumentDim SvcClient As New MetexWS.MetexWebServiceSoapClient()Dim EncUn As String SvcClient.EncryptValue("TEst")Dim EncPw As String SvcClient.EncryptValue("TEst1@")Dim rc As MetexWS.MetexClaim SvcClient.AddDocument(EncUn, EncPw, 191892,MetexWS.IDocumentType.Affidavit, "test Notes", tex Claim Form.pdf"))Get ClaimDim SvcClient As New MetexWS.MetexWebServiceSoapClient()Dim EncUn As String SvcClient.EncryptValue("TEst")Dim EncPw As String SvcClient.EncryptValue("TEst1@")Dim c As MetexWS.MetexClaim SvcClient.GetClaim(EncUn, EncPw, 191892)

Once encrypted the string can only be decrypted by MFR. o Parameters: Value (String) o Returns: String The return string is the encrypted representation of the value passed. GetClaim - Use to retrieve a single exist