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

Version 1 Next »

SearchService may be called using the SearchName parameter. This endpoint is used for accessing searches that are available on the config manager. These may be inspected in the Digizuite DAM Center. Note that some of them are hidden because they should not be changed. This section provides documentation on some of the most commenly used searches, but we refer the reader to the config manager area in the Digizuite DAM center for more searches.

LogOnWithAccesKeyOptions is for generating a product specific accesskey for a user. It takes an accesskey and a json object. The json object contains a productGuid which is the guid for the product, a Boolean called UseVersionedMetadata for controlling the versioned metadata and a language id. This endpoint is for generating product and/or language specific access keys. An example usage of this could be setting metadata on a specific language rather than default English. 

URL : /SearchService.js

Method : POST

Auth required : NO

Required parameters

NameExampleDescription
SearchNameGetAssetsFixed parameter that identifies the endpoint search.
accessKeyb77ca504-4335-4343-9109-11166a11ea0fValid access key from Digizuite
sAssetId100

ID of an asset in Digizuite


cUrl data example

--data "method=LogOnAccessKeyOptions&accessKey=caf31b4b-4e43-45f7-a8aa-87cc490b6527&options={"dez.productGuid" : "AC045BF0-C538-4397-BC13-EF6A61DF6A82", "dez.useversionedmetadata" : "0", "dez.setmembersystemlanguage": "3"}"

Success Response

Code : 200 OK

Content example

{
	"success": "true",
	"items": [{
			"accessKey": "2d8319f4-7a57-4ca0-a027-c44c2f259aac",
			"memberId": "23",
			"itemid": "3154",
			"languageId": "3"
		}
	]
}

Error Response

Code : 200 OK

Content  example

{
	  "success": "false",
	  "error": "Access Denied",
	  "items":  [{
		         "accessKey": "",
		         "memberId": "0",
		         "languageId": "0"      
	}   ]
}
  • No labels