Here is an example of the XML Code structure.

<?xml version="1.0" encoding="UTF-8"?>
<TELEMESSAGE>
  <TELEMESSAGE_CONTENT>
    <MESSAGE>
      <MESSAGE_INFORMATION>
        <LOCALE>
          <LOCALE_LANGUAGE_ID>en</LOCALE_LANGUAGE_ID>
          <LOCALE_COUNTRY_ID>US</LOCALE_COUNTRY_ID>
        </LOCALE>
        <TIME_STAMP>20160627 10:59:49</TIME_STAMP>
        <SCHEDULE_TO>20160627 10:59:49</SCHEDULE_TO>
      </MESSAGE_INFORMATION>
      <USER_FROM>
        <CIML>
          <NAML>
            <LOGIN_DETAILS>
              <USER_NAME>
              </USER_NAME>
              <PASSWORD>
              </PASSWORD>
            </LOGIN_DETAILS>
            <PERSON_DETAILS>
              <FIRST_NAME>John</FIRST_NAME>
              <LAST_NAME>Doe</LAST_NAME>
              <TIME_ZONE>GMT</TIME_ZONE>
              <STATE />
              <COUNTRY_ID />
              <GENDER>0</GENDER>
              <SERVICE_LEVEL>912</SERVICE_LEVEL>
            </PERSON_DETAILS>
          </NAML>
        </CIML>
      </USER_FROM>
      <MESSAGE_CONTENT>
        <TEXT_MESSAGE>
          <MESSAGE_INDEX>0</MESSAGE_INDEX>
          <TEXT>attachment 3</TEXT>
        </TEXT_MESSAGE>
        <FILE_MESSAGE>
          <MESSAGE_INDEX>1</MESSAGE_INDEX>
          <FILE_NAME>Telemessage-Logo.gif</FILE_NAME>
          <MIME_TYPE>image/gif</MIME_TYPE>
          <FILE_DATA>
            <FILE_DATA_BASE64>R0lGODlhGAFCAOcAAGZhYmtmaG1qbG1uc29wdHRtbnFxdXR1eXd4fH12d3l6fXx9gQCV1gCX2AGY
1wGY2AWa2Aec2Qia2Qqc2Q2d2hGe2hKf3BSf2hKg2hOg3BWg2hWg3Bih2xmi3Byj3B2k3BWx6Bu0
6iGl3SWm3Sao3imo3i2q3jGr3y6q4CS26iS46yu56yK68Ci98TCr4DKs4DWt4Dmu4DK87Dyw4Tq+
7T3B7jXC8jrC8n6Ag0G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lnwRrmAbI3AwCZEF06NolxzKF8EN6TEBQ7Cn7oWCEGC/otzKFNEFELABBSsL
8/A1/lAPuzAFglZ/nOzKvvwQ/iAF7RNCJZADPZADJqBi9fMCU/XLzvwQqQAD7zu9glMCXcDDz5zN
CKEPspAFQ7AD1jMEWHCw2lzODGzO6JzO6rzO7NzO7vzO8BzP8jzP9KwVAQEAOw==</FILE_DATA_BASE64>
          </FILE_DATA>
        </FILE_MESSAGE>
      </MESSAGE_CONTENT>
      <USER_TO>
        <CIML>
          <NAML>
            <LOGIN_DETAILS>
              <USER_NAME>
              </USER_NAME>
              <PASSWORD>
              </PASSWORD>
            </LOGIN_DETAILS>
            <PERSON_DETAILS>
              <FIRST_NAME>John</FIRST_NAME>
              <LAST_NAME>Smith</LAST_NAME>
              <TIME_ZONE>EST</TIME_ZONE>
              <STATE />
              <COUNTRY_ID />
              <GENDER>0</GENDER>
              <SERVICE_LEVEL>912</SERVICE_LEVEL>
            </PERSON_DETAILS>
          </NAML>
          <DEVICE_INFORMATION>
            <DEVICE_TYPE DEVICE_TYPE="IP" />
            <DEVICE_VALUE>5F319DC0527423665FDE1722CC71155272B5E90DDAD52C0EDAA426B7319844F3</DEVICE_VALUE>
            <DEVICE_DESCRIPTION>1-781-4141929</DEVICE_DESCRIPTION>
          </DEVICE_INFORMATION>
        </CIML>
      </USER_TO>
    </MESSAGE>
  </TELEMESSAGE_CONTENT>
  <VERSION>1</VERSION>
</TELEMESSAGE>