/
DC 5.6 GetMetafieldComboNodes

DC 5.6 GetMetafieldComboNodes

This search is used for getting the tree nodes of a metafield of any of the combo types.

URL : /SearchService.js

Method : POST

Auth required : Yes

Required parameters

NameExampleDescription
SearchNameDigizuite_system_metadatav2_comboboxFixed parameter that identifies the endpoint method.
sfMetafieldLabelId51406id of the metafieldlabel
querysitecorefree text search in combos 
accessKey2d8319f4-7a57-4ca0-a027-c44c2f259aacaccessKey for api

Note: You can use either sfMetafieldLabelId or query or a conjunction of them.


cUrl data example

--data "SearchName=Digizuite_system_metadatav2_combobox&accesskey=eb774621-1c2f-467b-b006-a8efa67094a7&sfMetafieldLabelId=51406"

Success Response

Code : 200 OK

Content example

{
	"success": true,
	"error": "",
	"total": "2",
	"items": [{
		"itemId": "8455",
		"totalCases": "2",
		"item_combo_valueid": "51081",
		"combovalue": "Office Connector",
		"optionvalue": "Office Connector",
		"sortIndex": "0",
		"isPublic": "1",
		"visible": "1",
		"language_join_guid": "11687388-DA2B-4509-915E-F08A6E486C19"
	},
	{
		"itemId": "9110",
		"totalCases": "2",
		"item_combo_valueid": "51165",
		"combovalue": "Sitecore",
		"optionvalue": "Sitecore",
		"sortIndex": "0",
		"isPublic": "1",
		"visible": "1",
		"language_join_guid": "0EC340F1-8CDD-492B-904C-1FF96A21919B"
	}]
}

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

Related content

DC 5.6 GetMetafieldTreeNodes
DC 5.6 GetMetafieldTreeNodes
Read with this
DC 5.4 GetMetafieldComboNodes
DC 5.4 GetMetafieldComboNodes
More like this
DC 5.6 API Documentation
DC 5.6 API Documentation
Read with this
DC 5.7 GetMetafieldComboNodes
DC 5.7 GetMetafieldComboNodes
More like this
DC 5.6 Creating combo values
DC 5.6 Creating combo values
Read with this
DC 5.5 GetMetafieldComboNodes
DC 5.5 GetMetafieldComboNodes
More like this