Toutes nos excuses, cette page n'a pas encore été traduite. L'équipe Localization d' Emarsys est en train d'y remédier et souhaite vous proposer toute la documentation en Français!
Returns a list of all available fields which can be used to personalize content (including custom fields and vouchers). Click here for a list of all available system fields.
Endpoint
GET https://api.emarsys.net/api/v2/field
Parameters
Optional Parameters
Name | Type | Description | Comments |
---|---|---|---|
<translate_id> | string | Any two letter ISO 639-1 abbreviation, e.g. en, de, ru, etc. | For a full list of supported languages, see here. |
URI Example
https://api.emarsys.net/api/v2/field
https://api.emarsys.net/api/v2/field/translate/en
Result Example
{ "replyCode": 0, "replyText": "OK", "data": [ { "id": "0", "name": "Interests", "application_type": "interests" }, { "id": "1", "name": "First Name", "application_type": "shorttext" }, { "id": "9", "name": "Title", "application_type": "singlechoice" }, { "id": "123", "name": "CustomField18", "application_type": "numeric" }, { "id": "456", "name": "Voucher42", "application_type": "voucher" } ] }
Errors
Standard HTML status and error codes apply.