Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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 


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