LogOnWithAccesKeyOptions is for generating a product specific accesskey for a user or for when a user changes language selection. 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. with options.
URL : /ConnectService.js
Method : POST
Auth required : Yes
Required parameters
Name | Example | Description |
---|---|---|
method | LogOnAccessKeyOptions | Fixed parameter that identifies the endpoint method. |
accessKey | b77ca504-4335-4343-9109-11166a11ea0f | Valid access key from Digizuite |
options | { |
configversionid" : "/0/0/0/", |
A JSON object |
with options for generating an accesskey. dez.configversionid (mandatory): This refers to the version ID of the channel which is logged on to. dez.dataversionid (mandatory): This refers to the version ID of the channel which data must be saved to and is used only for editing config data. It must be equal to the config version ID in all other contexts. dez.useversionedmetadata (optional): This is a boolean referring to the use of versioned metadata. This is used for setting and retrieving config data so must be 1 in this context but 0 in all others. The parameter is optional when using this API method and defaults to 0. dez.setmembersystemlanguage (optional): This parameter changes the members language and gets an accesskey for this language in one go. It is used when a user changes language. |
cUrl data example
Info | ||
---|---|---|
| ||
curl -X POST \ |
Success Response
Code : 200 OK
Content example
Code Block | ||
---|---|---|
| ||
{ "success": "true", "items": [{ "accessKey": "2d8319f4-7a57-4ca0-a027-c44c2f259aac", "memberId": "23", "itemid": "3154", "languageId": "3" } ] } |
Error Response
Code : 200 OK
Content example
...