- if there's an sub-element, you need to add an attribute to the structure
- the top-level structure must have the same name as the root element
- structures must be included as "Record"
- repeated elements must be included as "List of Record"

How does this apply here?

create a RespPayload structure

for sub-element "Status" create an attribute Status of type Text.

Next up we have an element (ResultDetails) which simply has a lot of repeated elements inside. This is a Record List. We'll create the structure of the sub-elements here ( named ResultDetails ).

Create the basic type attributes Criteria, Value and Exists for this structure, to hold the results of the corresponding to the similarly-named elements.

Now we have a Matched attribute which we can tell from the last example can be repeated. So we'll have a List of Record here. Create a new structure named "MatchDetails" to hold the data, and create an attribute named "Matched" of type List of Record with MatchDetails as the only component.

Now add the attributes that make up the MatchDetails data: FirstName, LastName, PhoneNumber and SSN .

Since no more structures are needed, we're done with the "Results" element.

Later on I'll explain how I built the structures that support this, so you can do this yourself.

Best regards,Ricardo Silva

In the sample application I had to assign value False to argument BypassRootRecordListNode of action XmlToRecordList in the preparation (see attached screenshot) to get the example working. Most likely this argument has been added in a newer version of the extension.