Sample Account Balance Read Request and Response in XML Format
Using the below example, you can do the following:
-
View the account balance for the membership.
Entity Name | Membership Id | Policy Number | Plan Number | Main Subscriber |
---|---|---|---|---|
REPRC1000, MAIN_SUB |
229160661076798 |
REPRC1000_ Policy |
REPRC1000_ DENTAL_PLAN |
Yes |
<schema>
<responseDetails>
<membershipId>229160661076798</membershipId>
<responseStatus>SUCCESS</responseStatus>
<message></message>
</responseDetails>
<simulationSw>Y</simulationSw>
<action></action>
<readFilters>
<dateFilter>
<startDate>2019-01-01</startDate>
<endDate>2019-12-31</endDate>
</dateFilter>
<priceItemFilter>
<priceItemList>
<priceItemCode></priceItemCode>
</priceItemList>
</priceItemFilter>
<responseType></responseType>
</readFilters>
<person>
<personData>
<sequence>1</sequence>
<personType>P</personType>
<personName>
<sequence>1</sequence>
<entityName>REPRC1000,MAIN_SUB</entityName>
<nameType>PRIM</nameType>
</personName>
<identifiers>
<idType>WEB</idType>
<idValue>REPRC1000_MAIN_SUB</idValue>
<isPrimary>Y</isPrimary>
</identifiers>
<division>HC</division>
<birthDate>1982-07-07</birthDate>
<sinceDate>2019-01-01</sinceDate>
<collectionClass></collectionClass>
<postponeCreditReviewUntil></postponeCreditReviewUntil>
<lastCreditReviewDate></lastCreditReviewDate>
<dragDays></dragDays>
<advanceDepositAmount></advanceDepositAmount>
<advanceDepositGraceDays></advanceDepositGraceDays>
<advanceDepositLevel></advanceDepositLevel>
<address>
<addressEffDate>2019-01-01</addressEffDate>
<addressType>MAIN</addressType>
<mailingName>MR.ROGER HARVEY</mailingName>
<address1>ONL SOFTWARE INC.</address1>
<address2>401 BLACKWOOD ISLAND PARKWAY</address2>
<address3>NEXT TO HUB SHOPPING ARENA</address3>
<address4>CENTRAL ROAD</address4>
<city>FLORIDA</city>
<state>MIAMI</state>
<zip>94065</zip>
<country>USA</country>
<houseType>COLONIAL</houseType>
<streetNumber1></streetNumber1>
<streetNumber2></streetNumber2>
<inCityLimit>Y</inCityLimit>
<taxVendorGeographicalCode>22310</taxVendorGeographicalCode>
<county>MIAMI-DADE</county>
<addressStatus></addressStatus>
</address>
<email>reprc_sd001_001_p1@onlsinc.com</email>
<overrideMailingName1>
reprc_sd001_001_p1@onlsinc.com
</overrideMailingName1>
<overrideMailingName2>
reprc_sd001_001_p1@onlsinc.com
</overrideMailingName2>
<overrideMailingName3>
reprc_sd001_001_p1@onlsinc.com
</overrideMailingName3>
<phones>
<phoneType>BUSN</phoneType>
<phoneValue>+1.603.555.0100</phoneValue>
<extension>713</extension>
</phones>
<relatedPersons>
<idType></idType>
<idValue></idValue>
<personRelationshipType></personRelationshipType>
<startDate></startDate>
<endDate></endDate>
<financialRelationshipSw></financialRelationshipSw>
<parentOrChild></parentOrChild>
<relatedPersonsCharacteristicsList>
<characteristic>
<characteristicType></characteristicType>
<characteristicValue></characteristicValue>
<effectiveDate></effectiveDate>
</characteristic>
</relatedPersonsCharacteristicsList>
</relatedPersons>
<personCharacteristicList>
<characteristic>
<characteristicType></characteristicType>
<characteristicValue></characteristicValue>
<effectiveDate></effectiveDate>
</characteristic>
</personCharacteristicList>
<accountData>
<accountType></accountType>
<customerClass></customerClass>
<billCycle></billCycle>
<billLeadDays></billLeadDays>
<division></division>
<currency></currency>
<setUpDate></setUpDate>
<acctUsageFlg></acctUsageFlg>
<comments></comments>
<deferAutoPayDt></deferAutoPayDt>
<collectionClass></collectionClass>
<billRouteType></billRouteType>
<billAddressSource></billAddressSource>
<accountIdentifiers>
<idType></idType>
<idValue></idValue>
<isPrimary></isPrimary>
</accountIdentifiers>
<characteristics>
<characteristicsList>
<characteristicType></characteristicType>
<characteristicValue></characteristicValue>
<effectiveDate></effectiveDate>
</characteristicsList>
</characteristics>
</accountData>
</personData>
</person>
<membership>
<sourceSystem>ZZ_PRIME</sourceSystem>
<policyNumber>REPRC1000_POLICY</policyNumber>
<planNumber>REPRC1000_DENTAL_PLAN</planNumber>
<healthPlanCode></healthPlanCode>
<startDate>2019-01-01</startDate>
<endDate>2019-12-31</endDate>
<boStatusCd></boStatusCd>
<paidThroughDate>2019-01-01</paidThroughDate>
<membershipType></membershipType>
<mainSubscriber>
<mainSubsIdType>WEB</mainSubsIdType>
<mainSubsIdValue>Reprc1011_MAINSUB</mainSubsIdValue>
<membershipType></membershipType>
</mainSubscriber>
<autoRenew>N</autoRenew>
<associatedMemberIdentifierType>
AADHR
</associatedMemberIdentifierType>
<associatedMemberIdentifier>
HLPN022
</associatedMemberIdentifier>
<exchangeFlag>ON</exchangeFlag>
<exchangeId>HLPNFSTEST145</exchangeId>
<binderLiabilityAmount></binderLiabilityAmount>
<binderPayApplicability></binderPayApplicability>
<binderPayGraceDays></binderPayGraceDays>
<binderPayThreshold></binderPayThreshold>
<holdBilling></holdBilling>
<membershipRenewalDate></membershipRenewalDate>
<contractPeriod></contractPeriod>
<repriceAfterDate></repriceAfterDate>
<membershipIdentifierList>
<membershipIdentifier>
<membershipIdentifierType></membershipIdentifierType>
<membershipIdentifierValue></membershipIdentifierValue>
</membershipIdentifier>
</membershipIdentifierList>
<membershipCharacteristicList>
<characteristic>
<characteristicType>BL 1</characteristicType>
<characteristicValue>REPRC1000</characteristicValue>
<effectiveDate>2019-01-01</effectiveDate>
</characteristic>
</membershipCharacteristicList>
<membershipRateGuarantee>
<membershipRateGuaranteeList>
<rateGuaranteeStartDate></rateGuaranteeStartDate>
<rateGuaranteeEndDate></rateGuaranteeEndDate>
<rateGuaranteeStatus></rateGuaranteeStatus>
</membershipRateGuaranteeList>
</membershipRateGuarantee>
<memberDataList>
<memberData>
<memberIdType>WEB</memberIdType>
<memberIdValue>REPRC1011_SPOUSE</memberIdValue>
<enrollmentStartDate>2019-01-01</enrollmentStartDate>
<enrollmentEndDate>2019-12-31</enrollmentEndDate>
<memberRelationship>SPO</memberRelationship>
<membershipPersonStatus>ACTV</membershipPersonStatus>
<membershipPersonstatusReason>
</membershipPersonstatusReason>
<memberId>REPRC1000</memberId>
<financeRespFlag>N</financeRespFlag>
<isMemberSw>Y</isMemberSw>
<externalMedicareBeneficiaryId>
</externalMedicareBeneficiaryId>
<memberCharacteristicList>
<characteristic>
<characteristicType>C1SMOKER</characteristicType>
<characteristicValue>Y</characteristicValue>
<effectiveDate>2019-01-01</effectiveDate>
</characteristic>
</memberCharacteristicList>
<benefitData>
<benefitDataList>
<sequence>1</sequence>
<startDate>2019-02-01</startDate>
<endDate>2019-10-31</endDate>
<benefitStatus>ACTIVE</benefitStatus>
<benefitSourceFlag>CMS</benefitSourceFlag>
<benefitSubTypeFlag>D</benefitSubTypeFlag>
<planBenefitPackageId>801</planBenefitPackageId>
<benefitAmount>200.25</benefitAmount>
<benefitCharacteristicsList>
<characteristic>
<characteristicType>C1-GENDR</characteristicType>
<characteristicValue>MALE</characteristicValue>
<effectiveDate>2019-01-01</effectiveDate>
</characteristic>
</benefitCharacteristicsList>
<benefitDataList>
</benefitData>
</memberData>
</memberDataList>
<premiumCalculationDetails>
<premiumCalculation>
<priceItemCd></priceItemCd>
<startDt></startDt>
<endDt></endDt>
<calcAmt></calcAmt>
<distAmt></distAmt>
<currencyCd></currencyCd>
<acctIdType></acctIdType>
<acctIdVal></acctIdVal>
<accountId></accountId>
<billableChgId></billableChgId>
<pricingRuleId></pricingRuleId>
<priceAsgnId></priceAsgnId>
<premiumCalcLineDetails>
<premiumCalcLines>
<proFactor></proFactor>
<calcAmt></calcAmt>
<distAmt></distAmt>
<month></month>
<totalCalcAmt></totalCalcAmt>
<currencyCd></currencyCd>
<entityTypeFlg></entityTypeFlg>
<entityId></entityId>
<referenceIdType></referenceIdType>
<referenceIdValue></referenceIdValue>
<pricingParameters></pricingParameters>
<description></description>
</premiumCalcLines>
</premiumCalcLineDetails>
</premiumCalculation>
</premiumCalculationDetails>
</membership>
<accountBalance>
<accountBalanceData>
<accountIdentifierType>ACCT_NM</accountIdentifierType>
<accountNumber>REPRC1011BG10519S1</accountNumber>
<accountId>6573747915</accountId>
<division>HC</division>
<sourceSystem></sourceSystem>
<c1ExternalTransactionId></c1ExternalTransactionId>
<externalSourceId></externalSourceId>
<accountInfoDtls>
<currentBalance>6600.00</currentBalance>
<lastBillAmount>1000.00</lastBillAmount>
<statusCd>SUCCESS</statusCd>
<messageText></messageText>
</accountInfoDtls>
</accountBalanceData>
</accountBalance>
</schema>
Note: We have given the above sample
to illustrate how the tags should be nested while sending an account
balance read request from the external system. However, you should
not seamlessly use this sample in your environment because the required
pre-requisite data may not be available in your environment. In such
case, the system will give erroneous results.