Retrieve Meta Data from MKG Fields with the API


It is now possible to retrieve metadata from the fields from MKG with the API.


 

GET {{restUrl}}/meta/vorr/vorr_oms_1

Response:

{
    "response": {
        "ResultData": [
            {
                "t_field": [
                    {
                        "t_name": "vorr_oms_1",
                        "t_label": "Description",
                        "t_type": "description",
                        "t_datatype": "character",
                        "t_format": "X(40)",
                        "t_list": "",
                        "t_multiselect": false,
                        "t_source_document": 0
                    }
                ]
            }
        ]
    }
}

 

GET {{restUrl}}/meta/vorr?Fieldlist=vorr_oms_1,vorr_oms_2,vorr_oms_3

Response:

{
    "response": {
        "ResultData": [
            {
                "t_field": [
                    {
                        "t_name": "vorr_oms_1",
                        "t_label": "Description",
                        "t_type": "description",
                        "t_datatype": "character",
                        "t_format": "X(40)",
                        "t_list": "",
                        "t_multiselect": false,
                        "t_source_document": 0
                    },
                    {
                        "t_name": "vorr_oms_2",
                        "t_label": "Description 2",
                        "t_type": "description",
                        "t_datatype": "character",
                        "t_format": "X(40)",
                        "t_list": "",
                        "t_multiselect": false,
                        "t_source_document": 0
                    },
                    {
                        "t_name": "vorr_oms_3",
                        "t_label": "Description 3",
                        "t_type": "description",
                        "t_datatype": "character",
                        "t_format": "X(40)",
                        "t_list": "",
                        "t_multiselect": false,
                        "t_source_document": 0
                    }
                ]
            }
        ]
    }
}