{"swagger":"2.0","info":{"version":"1","description":"AIA Member Details API Reference Implementation. This reference implementation can be used for testing internally at AIA or provided other funds that require Member Initiated Claims for custimizing","title":"AIA Member Details API","contact":{"name":"Axe Group","url":"https://www.axegroup.com/","email":"john.murphy@axegroup.com"}},"tags":[{"name":"Member Information","description":"Controller for Member Information."},{"name":"Member Insurance Details","description":"Controller for Insurance History related information."}],"paths":{"/v1/eclaims/memberInformation/membernumber/{membernumber}":{"get":{"tags":["Member Information"],"summary":"Get Member Information based on Member Number","operationId":"getMemberInformationFromMemberNumberUsingGET","produces":["application/hal+json"],"parameters":[{"name":"membernumber","in":"path","description":"membernumber","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MemberInformationResource"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/v1/eclaims/memberInsurance/membernumber/{membernumber}":{"get":{"tags":["Member Insurance Details"],"summary":"Get Member Insurance History and Details based on Member Number","operationId":"getUsingGET","produces":["application/hal+json"],"parameters":[{"name":"membernumber","in":"path","description":"member number","required":true,"type":"string"},{"name":"includeHistory","in":"query","description":"If true, all historical insurance policy data for the account will be returned.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MemberInsuranceResource"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}}},"definitions":{"InsuranceCover":{"type":"object","required":["coverStartDate","coverEndDate","coverStatus","coverType","sumInsuredInDollars","sumInsuredUnit"],"properties":{"category":{"type":"string","description":"Not in use."},"coverBenefitPeriodAmount":{"type":"number","format":"double","description":"Cover Benifit Period Amount"},"coverBenefitPeriodUnit":{"type":"string","description":"Unit corresponding to Cover Benefit Period Amount","enum":["DAYS","MONTHS","YEARS","LIFE TIME"]},"coverEndDate":{"type":"string","format":"date","description":"Date when the cover ended (inclusive)."},"coverStartDate":{"type":"string","format":"date","description":"Date when the cover started (inclusive)."},"coverStatus":{"type":"string","enum":["INFORCE","LAPSED","CANCELLED"]},"coverType":{"type":"string","description":"Type of Cover. VOLUNTARY is a top up cover.","enum":["DEFAULT","VOLUNTARY"]},"coverWaitingPeriodAmount":{"type":"number","format":"double","description":"Cover Waiting Period Amount (Applies to IP only)"},"coverWaitingPeriodUnit":{"type":"string","enum":["DAYS","MONTHS","YEARS"],"description":"Applies to IP only"},"IPSGContribution":{"type":"number","format":"double","description":"Applies to IP only. This it to check whether or not the IP benefit has SG applied."},"sumInsuredAmount":{"type":"number","format":"double","description":"Unitised or Dollar Amount for which the member is insured."},"sumInsuredInDollars":{"type":"number","format":"double","description":"Amount in dolloars for which the member is insured."},"sumInsuredUnit":{"type":"string","enum":["UNITISED","FIXED","OTHER"]}},"title":"InsuranceCover"},"Link":{"type":"object","properties":{"deprecation":{"type":"string","xml":{"name":"deprecation","attribute":true,"wrapped":false}},"href":{"type":"string","xml":{"name":"href","attribute":true,"wrapped":false}},"hreflang":{"type":"string","xml":{"name":"hreflang","attribute":true,"wrapped":false}},"media":{"type":"string","xml":{"name":"media","attribute":true,"wrapped":false}},"rel":{"type":"string","xml":{"name":"rel","attribute":true,"wrapped":false}},"templated":{"type":"boolean"},"title":{"type":"string","xml":{"name":"title","attribute":true,"wrapped":false}},"type":{"type":"string","xml":{"name":"type","attribute":true,"wrapped":false}}},"title":"Link"},"MemberAddress":{"type":"object","required":["addressLine1","countryCode","memberAddressType","membersAddressStatus","postCode","state","suburb"],"properties":{"addressLine1":{"type":"string"},"addressLine2":{"type":"string"},"countryCode":{"type":"string","description":"Country Code based on ISO 3166-1 alpha-2. To be confirmed.","enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"memberAddressType":{"type":"string","description":"Define Address as Residential or Postal.","enum":["Residential","Postal"]},"membersAddressStatus":{"type":"string","enum":["Active","Outdated"]},"postCode":{"type":"string"},"state":{"type":"string"},"suburb":{"type":"string"}},"title":"MemberAddress","description":"Model to create Member Address."},"MemberInformation":{"type":"object","required":["memberNumber","birthdate","dateJoinedFund","email","familyName","givenName","memberGenderType","title","memberAddress"],"properties":{"birthdate":{"type":"string","format":"date"},"dateJoinedFund":{"type":"string","format":"date"},"dateLeftFund":{"type":"string","format":"date"},"deathDate":{"type":"string","format":"date"},"email":{"type":"string","format":"email"},"familyName":{"type":"string"},"faxNumber":{"type":"string"},"givenName":{"type":"string"},"memberAddress":{"type":"array","items":{"$ref":"#/definitions/MemberAddress"}},"memberGenderType":{"type":"string","enum":["Male","Female","Indeterminate","Intersex","Unspecified"]},"memberMobileNumber":{"type":"string","description":"Either member phone number or mobile number should be provided."},"memberNumber":{"type":"string","example":"A1234566","description":"Unique Member Number as per Group System."},"memberPhoneNumber":{"type":"string","description":"Either member phone number or mobile number should be provided."},"systemMemberId":{"type":"string","example":"MK1345","description":"It is no more used, but still here for the backwoard compatibility."},"title":{"type":"string","description":"Case insensitive.","enum":["2LT","AB","ABBOT","AC","ACM","ADM","AIR CDRE","ALDERMAN","AM","ARCHBISHOP","ARCHDEACON","ASSOC PROF","AVM","BARON","BARONESS","BISHOP","BR","BRIG","CANON","CAPT","CARDINAL","CDRE","CDT","CHAP","CMDR","CMM","COL","CONST","COUNT","COUNTESS","CPL","CPO","DAME","DEACON","DEACONESS","DEAN","DEPUTY SUP","DR","DUCHESS","DUKE","EARL","EF","FLGOFF","FLT LT","FR","FSGT","GEN","GNR","GP CAPT","HON","HON JUDGE","HON JUST","HRH","INSP","JUDGE","JUST","LAC","LACW","LADY","LBDR","LCPL","LORD","LS","LT","LT CMDR","LT COL","LT GEN","MADAM","MAJ","MAJ GEN","MASTER","MATRON","MAYOR","MAYORESS","MIDN","MISS","MON","MOST REV","MR","MRS","MS","NONE","PASTOR","PATRIARCH","PLT OFF","PO","PRIOR","PROF","PTE","RABBI","RADM","RECTOR","REV","RF","RREVBISHOP","RT HON","RT REV","RT REV MON","SBLT","SEN","SGT","SIR","SNR","SNR CONST","SQN LDR","SR","SSGT","SWAMI","TF","VADM","VERY REV","VICAR","VISCOUNT","WG CDR","WO","WO1","WO2"]}},"title":"MemberInformation","description":"Model to create Member Information."},"MemberInformationResource":{"type":"object","properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"memberInformation":{"$ref":"#/definitions/MemberInformation"}},"title":"MemberInformationResource"},"MemberInsurance":{"type":"object","properties":{"memberPlans":{"type":"array","description":"Details of the Plans applicable to the Member.","items":{"$ref":"#/definitions/MemberPlan"}},"systemMemberId":{"type":"string","example":"MK1345","description":"It is no more used, but still here for the backwoard compatibility."}},"title":"MemberInsurance"},"MemberInsuranceResource":{"type":"object","properties":{"_links":{"type":"array","xml":{"name":"link","attribute":false,"wrapped":false},"items":{"$ref":"#/definitions/Link"}},"memberInsurances":{"$ref":"#/definitions/MemberInsurance"}},"title":"MemberInsuranceResource"},"MemberPlan":{"type":"object","required":["effectiveDate","planNumber","productNumber"],"properties":{"effectiveDate":{"type":"string","format":"date-time","description":"Date the plan became effective after periodical review or initial creation."},"deathCovers":{"type":"array","description":"Death Cover Details for the member within the given plan.","items":{"$ref":"#/definitions/InsuranceCover"}},"tiCovers":{"type":"array","description":"TI Cover Details for the member within the given plan.","items":{"$ref":"#/definitions/InsuranceCover"}},"ipCovers":{"type":"array","description":"IP Cover Details for the member within the given plan.","items":{"$ref":"#/definitions/InsuranceCover"}},"tpdCovers":{"type":"array","description":"TPD Cover Details for the member within the given plan.","items":{"$ref":"#/definitions/InsuranceCover"}},"planNumber":{"type":"string","example":"MP3206","description":"Plan Number, also known as MP Number is configured within COMPASS for each group. One group can have multiple plan numbers. One plan can only have one Plan Number"},"productNumber":{"type":"string","example":"SRP, SFL","description":"Product Number(Name). One group can have multiple product numbers. This field is mandatory for a fund where multiple policies exists"},"policyPaymentStatus":{"type":"string","description":"Not in use.","enum":["Paid","Lapsing","Lapsed"]},"policyStatus":{"type":"string","description":"Not in use.","enum":["Inforce","Lapsed","Cancelled","Terminated"]},"policyStartDate":{"type":"string","description":"Not in use.","format":"date"},"policyLastPaymentDate":{"type":"string","description":"Not in use.","format":"date"}},"title":"MemberPlan"}},"host":"virtserver.swaggerhub.com","basePath":"/Grow-Super4/aaa/1","schemes":["https"]}