MENU
    Sample Payload
    • 1 Minute to read
    • Dark
    • PDF

    Sample Payload

    • Dark
    • PDF

    Article summary

    The following example exports data from the external source model salestxn and uses a comma delimiter between fields in the exported XML file. Only records with the value "Kitchen" or "Apparel" in the "cat" (category) field are exported. The exported XML file contains four fields from the external source model.

    <export-data-payload>
    <model-name>salestxn</model-name>
    <delimiter>,</delimiter>
    <filters>
    <filter>
    <field>cat</field>
    <field-value>Kitchen</field-value>
    <field-value>Apparel</field-value>
    </filter>
    </filters>
    <fields>
    <field>txndate</field>
    <field>item</field>
    <field>price</field>
    <field>total</field>
    </fields>
    </export-data-payload>
    Shell

    Was this article helpful?