DC 5.8 GetMetadataGroups

This search is used to get metadatagroups, it's metafieldgroupid and it's sub groups.

URL : /SearchService.js

Method : POST

Auth required : Yes

Required parameters

NameExampleDescription
SearchNameDigiZuite_system_metadatav2_listGroupsFixed parameter that identifies the endpoint method.
itemid10585Itemid of a metadatagroup


cUrl data example

--data "SearchName=DigiZuite_system_metadatav2_listGroups&accesskey=eb774621-1c2f-467b-b006-a8efa67094a7&itemid=10585"

Success Response

Code : 200 OK

Content example

{
	"success": true,
	"error": "",
	"total": "0",
	"items": [{
		"itemId": "10585",
		"metafieldgroupid": "10025",
		"metafieldgroupname": "Asset info",
		"metafieldid": {
			"metafieldid": "50354",
			"metafieldSubGroup": "50028",
			"metafieldSortindex": "50354",
			"metafieldDataTypeId": "65",
			"metafieldName": "Options",
			"metafieldIterated": "0",
			"metafieldIsRequired": "0",
			"metafieldIsRequiredUpload": "0",
			"metafieldReadonly": "0",
			"metafieldRestrictToItemtypeid": "0",
			"metafieldAutotranslate": "1",
			"metafieldAutotranslateOverwriteExisting": "1",
			"metafieldLabelId": "51414",
			"metafieldLabellabel": "Options",
			"metafieldLabellanguageid": "3",
			"metafieldref_itemid": "",
			"metafieldref_assetid": ""
		}
	}]
}

Error Response

Code : 200 OK

Content  example

{
	"success": false,
	"total": 0,
	"error": "A critical exception occurred while we executed the search.\r\n",
	"items": null,
	"warnings": [{
		"Severity": 150,
		"Code": 420,
		"Description": "A critical exception occurred while we executed the search."
	}]
}