Versions Compared

Key

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

...

* = Indien je een resource model nodig hebt die niet in de whitelist staat kan dit aangevraagd worden bij de lead developer.

Voorbeelden van JSON opmaak:

Fieldtype 1: Tekst veld

Code Block
    {
        "sourcefield": "E-mailadres",
        "field": "email",
        "unique": false,
        "mask": "",
        "overwrite": true,
        "relation": "",
        "fieldtype": 1,
        "relationfield": "",
        "relationfilter": "",
        "filter": "",
        "defaultvalue": "",
        "optional": false
    },

Fieldtype 2: Nummer veld

Code Block
        {
            "defaultvalue": "",
            "field": "surface_area",
            "fieldtype": 2,
            "filter": "",
            "mask": ",",
            "optional": true,
            "overwrite": true,
            "relation": "",
            "relationfield": "",
            "relationfilter": "",
            "sourcefield": "Oppervlakte",
            "unique": true
        },

Fieldtype 3: datum/tijd veld

Code Block
	{
		"defaultvalue": "",
		"field": "lastmaintenance_date",
		"fieldtype": 3,
		"filter": "",
		"mask": "d-m-Y",
		"optional": true,
		"overwrite": true,
		"relation": "",
		"relationfield": "",
		"relationfilter": "",
		"sourcefield": "LaatsteOnderhoud",
		"unique": false
	},

Fieldtype 5: Relatie veld

Code Block
    {
        "defaultvalue": "",
        "field": "test_met_lijst",
        "fieldtype": 5,
        "filter": "",
        "mask": "",
        "optional": true,
        "overwrite": true,
        "relation": "sys_content_items",
        "relationfield": "label_nl_NL",
        "relationfilter": "contenttype_id = '62'",
        "sourcefield": "Testmetlijst",
        "unique": false
    },


Definitie:

Om de data goed te importeren is het noodzakelijk om aan te geven hoe de informatie verwerkt moet worden, dit wordt gedaan in een JSON format.

...