Product fields

Getting the fields definitions

You can get dynamically all defined fields with a simple api call.

 

Request URL

https://{your hublify url}/api/eos_10/data_getModel

Request parameter

{
    "dataset": "product"
}

Response

{
    "status": true,
    "data": {
        "primary": "pcode",
        "primaryDisplay": "pcode",
        "baseModel": "product",
        "fields": {
            "xc__active": {
                "type": "INT",
                "size": 1
            },
            "xc__insert_time": {
                "type": "DATETIME"
            },
            "xc__valid": {
                "type": "INT",
                "size": 1
            },
            "xc__update_time": {
                "type": "DATETIME"
            },
            "drvd_categories": {
                "type": "DATA",
                "sub_type": "JSON",
                "null": true
            },
            "pcode": {
                "type": "TEXT",
                "null": true,
                "name": "Produkt­code"
            },
            "name": {
                "type": "TEXT",
                "null": true,
                "name": "Name"
            },
            "description": {
                "type": "TEXT",
                "null": true,
                "name": "Beschreibung"
            },
            "master_pcode": {
                "type": "TEXT",
                "null": true,
                "name": "Master-PCode"
            },
            "manufacturer": {
                "type": "TEXT",
                "null": true,
                "name": "Hersteller"
            },

            // ... EXAMPLE SHORTENED
    }
}