Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Method parameters

...

Sample GetFields response

...

Code Block
languagehtml/xml
linenumberstrue
<GetFields>

       <Fields>

              <Field Name="nome" Id ="X"/>

                     ....

       </Fields>

</ GetFields >


The XML string will have the following features:

  • A root node <GetFields>.
  • A node <Fields>, contained in the root node.
  • A series of nodes <Field> for each configured personal data field, contained in the node <Fields>. Nodes <Field> have the attributes Name and Id. The first contains the name of the personal data field, the second contains the identifier.

In case no personal data field has been configured, the node <Fields> will be empty (without nodes <Field>) in the XML string


In case of errors during the request, the XML string will have the following structure: 

Code Block
languagehtml/xml
linenumberstrue
<GetFields>

<Error>"Messaggio di errore"</Error>

</GetFields>


The XML string will have the following features:

  • A root node <GetFields>.
  • A node <Error>, contained in the root node, returning the error message.

...

  • Values returned: MailUp personal data fields and the corresponding IDs are listed. IDs are requested when importing to MailUp

...

Code Block
languagehtml/xml
linenumberstrue
<GetFields>

       <Fields>

              <Field Name="email" Id ="111"/>

              <Field Name="cognome" Id ="2"/>

              <Field Name="nome" Id ="3"/>

              <Field Name="Data di nascita" Id ="4"/>

              <Field Name="Nazionalita" Id ="5"/>

              <Field Name="Sesso" Id ="6"/>

              <Field Name="Telefono" Id ="7"/>

       </Fields>

</GetFields>
  • Personal data fields have not been configured

...

Code Block
languagehtml/xml
linenumberstrue
<GetFields>

       <Fields>

       </Fields>

</GetFields>
  • Error message

...

Code Block
languagehtml/xml
linenumberstrue
<GetFields>

       <Error>

              "Messaggio di errore"

       </Error>

</GetFields>