DC 5.5 GetMetafields

This search is used to get metadatafields in a metadatagroup. To get the metadatagroupid see DC 5.5 GetMetadataGroups

URL : /SearchService.js

Method : POST

Auth required : Yes

Required parameters

NameExampleDescription
SearchNameDigiZuite_system_metadatav2_listGroupsMetafieldsFixed parameter that identifies the endpoint method.
metafieldgroupid10025metafieldgroupid of a metadatagroup
accessKey2d8319f4-7a57-4ca0-a027-c44c2f259aacaccessKey for api

Optional parameters

NameExampleDescription
metafielditemids5537itemid of metafield

cUrl data example

--data "SearchName=DigiZuite_system_metadatav2_listGroupsMetafields&accesskey=eb774621-1c2f-467b-b006-a8efa67094a7&metafieldgroupid=10025&metafielditemids=5537"

Success Response

Code : 200 OK

Content example

{
	"success": true,
	"error": "",
	"total": "0",
	"items": [{
		"itemId": "5540",
		"note": "",
		"item_metafield_valueid": "",
		"metafieldLabelId": "50727",
		"is_checkSpellEN": "0",
		"metafieldLabellabel": "Description",
		"metafieldLabelversionlabel": "",
		"metafieldLabellanguageid": "3",
		"metafieldLabelSortindex": "0",
		"metafieldLabelVisibilityRegex": "",
		"metafieldLabelCulture": "",
		"metafieldLabelDefaultvalue": "",
		"metafieldid": {
			"metafieldid": "50182",
			"metafieldItemGuid": "C8BB4AF3-1598-4EA4-8D7A-98D54EEAD977",
			"metafieldName": "Description",
			"metafieldAutoTranslate": "0",
			"metafieldIsRequired": "0",
			"metafieldRecurisveToRoot": "1",
			"metafieldIsRequiredUpload": "0",
			"metafieldReadonly": "0",
			"metafieldFormfieldsize": "0",
			"metafieldItemId": "5537",
			"metafieldSecWriteaccess": "1",
			"iterated": "0",
			"is_html": "0",
			"is_flashhtml": "0",
			"treeview_is_expanded": "0",
			"treeview_format": "0",
			"show_extra_field": "0",
			"item_datatypeid": "70",
			"metafieldSortindex": "20",
			"metafieldMaxlength": "0",
			"metafieldComboViewType": "0",
			"metafieldVisibilityMetafieldId": "",
			"metafieldVisibilityRegex": "",
			"metafieldCulture": "",
			"metafieldCssClass": "",
			"metafieldCssInline": "",
			"isCaseSensitive": "0",
			"metafieldValidationId": "",
			"metafieldValidationType": "",
			"metafieldValidationContent": "",
			"metafieldValidationMessage": ""
		},
		"metafieldReferenceSelectMode": "",
		"metafieldReferenceMaxItems": ""
	}]
}

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."
	}]
}