Versions Compared

Key

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

Method parameters

...

The method returns a string in XML format containing the names and IDs of the personal data fields.

 

Note

The response of GetFields method is different from many other MailUpSend methods because it includes "errorCode" only when call is not successful. If this inconsistency is critical for your client application you can use GetFields_st method instead. GetFields_st is the recommended choice if you are starting a new integration with MailUp.

 

Sample GetFields response

...


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:

...


The XML string will have the following features:

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

...