Contactlab section

The <contactlab> section is the main container for all the other sections and elements in the XML instructions file.

The <contactlab> section is:

  • Mandatory
  • Positioned as:
    • The first tag (<contactlab ...>) after the XML declaration
    • The last tag (</contactlab>) in the XML instructions file

The <contactlab> section includes the following children:

Child Type Description Use
auth element Container for the required authentication tokens. Mandatory
campaign element Where the generic campaign type (For example, Email, SMS, Fax or Push) is defined. Also the container for all other campaign-
sections and elements.
Mandatory

Example:

    <?xml version="1.0" encoding="utf-8"?>
    <contactlab xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://t.contactlab.it/contactlab/xmld/contactlab.xsd">
        <auth>
            See the Auth section topic.
        </auth>
        <campaign>
            See the Campaign section topic.
            ...
        </campaign>
    </contactlab>

See Building a campaign with XMLDelivery and Working examples for more about the structure of a complete XML instructions file.

Next page:

Auth section