Parameters - EnrolmentBatchXML


Type:XML String

This parameter is used to enrol one or more numbers into an existing TextSurvey.

Using this parameter, you can supply a different reference for each number, as well as a reference for the batch. These references will be stored along with your enrolled numbers, and will appear in TextSurvey's reports.

For Surveys that use placeholders, this method also allows you to supply placeholder values for each number.

Example XML

<?xml version="1.0" encoding="utf-8"?>
<EnrolmentBatch xmlns:xsi="" xmlns:xsd="">
        <string>placeholder 1</string>
        <string>placeholder 2</string>
        <string>placeholder 3</string>
      <ClientReference>Customer number 1</ClientReference>
        <string>placeholder one</string>
        <string>placeholder two</string>
        <string>placeholder three</string>
      <ClientReference>Customer number 2</ClientReference>
  <ClientReference>Customer batch 1</ClientReference>

The schema for this XML is available here.