Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GetAssets GetVisibleSearchFields is used for fetching information about assetsthe filters that can be used for different searches. This is a search on the Digizuite product.

...

Required parameters

NameExampleDescription
SearchNamemethodGetAssetsGetVisibleSearchFieldsFixed parameter that identifies the endpoint method.
SearchNameDigiZuite_System_Framework_SearchThe search name for which filters should be returned.
accessKey2d8319f4-7a57-4ca0-a027-c44c2f259aacAccessKey for API

Optional parameters

...

ID of a channel in Digizuite. Use this for getting assets that are published to a specific channel

...

sDateBetween
AND
sDateBetween_end

...

Defines what the result should be sorted on. Can be one value or a comma seperated list of values. The list of possible values are:

  • sortDateAsc
  • sortDateDesc
  • sortAlphabeticAsc
  • sortAlphabeticDesc
  • sortAssetTypeAsc
  • sortAssetTypeDesc

N/A

cUrl data example

Info
iconfalse

--data "SearchName=GetAssets&accesskey=faa9987b-7b2d-47de-ab3a-92993146a802&sAssetId=3119method=GetVisibleSearchFields&searchName=DigiZuite_System_Framework_Search&accessKey=d8eb5e9a-cf83-4cf0-a1f9-16d7a8e51cfb"

Success Response

Code : 200 OK

Content example

Code Block
languagejs
{
	"successsearchFields": true[
{
"itemId":0,
	"errormetafieldItemId":0,
"dataTypeId":0,
	"totalparameterName":"sAssetType",
"renderType":"1assettype",
	"itemsvalueHandler":"InList",
"hardcodedValues":[

]
},
{
		"itemId":12996,
"23624metafieldItemId":12994,
		"totalCasesdataTypeId":61,
"parameterName"1:"sBitInput",
		"assetIdrenderType":"bool",
"3119",
		valueHandler":"Equals",
"hardcodedValues":[

]
},
{
"itemId":13000,
"23624metafieldItemId":12998,
		"assetTypedataTypeId":68,
"4parameterName":"sComboValueInput",
		"fileSizerenderType":"combo",
"valueHandler":"4318504Equals",
		"namehardcodedValues":[

]
},
{
"itemId":0,
		"thumbmetafieldItemId":0,
"https://mm-dam.dev.digizuite.com/dmm3bwsv3/3119_3_11_4_11_0_faa9987b-7b2d-47de-ab3a-92993146a802_False.jpg?mptdid=96310",
		"downloadSource": "https://mm-dam.dev.digizuite.com/dmm3bwsv3/3119_0_11_4_44_0_faa9987b-7b2d-47de-ab3a-92993146a802_True_.jpg",
		"imagePreview": "https://mm-dam.dev.digizuite.com/dmm3bwsv3/3119_2_11_4_11_0_faa9987b-7b2d-47de-ab3a-92993146a802_False.jpg?mptdid=96309",
		"videoPreview": "https://mm-dam.dev.digizuite.com/dmm3bwsv3/3119_10079_11_4_11_0_faa9987b-7b2d-47de-ab3a-92993146a802_False.mp4?mptdid=0",
		"videoPoster": "https://mm-dam.dev.digizuite.com/dmm3bwsv3/3119_2_11_4_11_0_faa9987b-7b2d-47de-ab3a-92993146a802_False.jpg?mptdid=96309",
		"sourceLocationPath": "\\\\DZ-DEV-APP01\\mmdev\\dmm\\Assets\\1-10000\\3101-3200\\3119\\3119_.jpg",
		"importDate": "2017-12-19T15:54:23.990+01:00",
		"importedBy": "SuperAdministrator",
		"assetVersionId": "",
		"isPublic": "1",
		"neverExpire": "1",
		"endDate": "2017-12-19T15:54:24.060+01:00",
		"published": "1",
		"writeAccess": "1",
		"readAccess": "1",
		"displayAssetId": 3119,
		"displayitemId": 23624,
		"displayName": "",
		"displayAssetType": "4",
		"displayFileSize": "4318504",
		"displayImportedBy": "SuperAdministrator",
		"displayImportDate": "2017-12-19T15:54:23.990+01:00"
	}]
}dataTypeId":0,
"parameterName":"sDateBetween",
"renderType":"datebetween",
"valueHandler":"Between",
"hardcodedValues":[

]
},
{
"itemId":9310,
"metafieldItemId":9309,
"dataTypeId":61,
"parameterName":"sIsPublic",
"renderType":"bool",
"valueHandler":"Equals",
"hardcodedValues":[

]
},
{
"itemId":2481,
"metafieldItemId":2380,
"dataTypeId":169,
"parameterName":"sKeywords",
"renderType":"multicombo",
"valueHandler":"AllInList",
"hardcodedValues":[

]
},
{
"itemId":5722,
"metafieldItemId":5719,
"dataTypeId":300,
"parameterName":"sMenu",
"renderType":"tree",
"valueHandler":"InList",
"hardcodedValues":[

]
},
{
"itemId":13040,
"metafieldItemId":13038,
"dataTypeId":60,
"parameterName":"sStringInput",
"renderType":"string",
"valueHandler":"Equals",
"hardcodedValues":[

]
},
{
"itemId":22406,
"metafieldItemId":22402,
"dataTypeId":68,
"parameterName":"sWorkflowStatus",
"renderType":"multicombo",
"valueHandler":"InList",
"hardcodedValues":[

]
}
],
"success":true,
"errors":[

]
}

Error Response

Code : 200 OK

Content  example

...