* How do we find the Submitting Party Organization's Name?
As we saw earlier for Borrower there is a general concept of Party. In borrower the party had only one role. a party can have more than one role. Finding the Submitting Party is similar to finding the Borrower
//PARTY[ROLES/ROLE/ROLE_DETAIL/PartyRoleType='SubmittingParty']
There are two kinds of PARTY an individual and an organization. Nearly every implementation of V2 we saw used a different method for putting an organizational name into a name structure designed for a person.
In V3 there is a choice group under PARTY. You MUST select either that the PARTY is an individual or a Legal Entity. Lets assume your submitting party is a legal entity, like then the name is FullName.
<PARTY type="resource">
<LEGAL_ENTITY>
<LEGAL_ENTITY_DETAIL>
<FullName>Rat City Lending</FullName>
</LEGAL_ENTITY_DETAIL>
</LEGAL_ENTITY>
</PARTY>
The XPath would be
//PARTY[ROLES/ROLE/ROLE_DETAIL/PartyRoleType='SubmittingParty']/LEGAL_ENTITY/LEGAL_ENTITY_DETAIL/FullName
Remember XPath expressions require name space identification on each node. It has been left off here.
No comments:
Post a Comment