Move registration questions up or down in their listing on an Event page using asset-interactions-order-update API.

Availability

Adobe Connect 9.5.4

Description

Using this API you can move up or move down the registration question to re-arrange the sequencing or placement of the question on an Event page.

Request URL

http://example.com/api/xml?action=asset-interactions-order-update
&up=boolean
&type=string
&sco-id=integer
&asset-id=integer
&interaction-id=integer

Parameters

Name

Type

Required

Description

type String Yes Type of the Sco type. Currently, it only accepts the type event.

asset-id

Integer

Yes

The ID of an asset associated with the event. Also, see asset-interaction-info API.

interaction-id

Integer

Yes

The ID of registration question.

is-selected

Boolean

Yes

A flag indicating whether to select or deselect a registration field in the registration form.

up

Boolean

Yes

A flag indicating whether to move a field up or down.

Filters

Results cannot be filtered or sorted.

Response or return structure

<results>
    <status code="ok"/>
</results>

Sample request

The following API example moves a question up.

http://www.example.com/api/xml?action=asset-interactions-order-update&interaction-id=14001&is-selected=false&sco-id=13902&interaction-id=14002&is-selected=true&up=true

The following API example moves the question up.

http://www.example.com/api/xml?action=asset-interactions-order-update&interaction-id=14001&is-selected=true&sco-id=13902&interaction-id=14002&is-selected=false&up=false

Response or return values

Element

Attribute

Type

Description

results

 

Container

All the results returned by the call.

status

 

Empty, with attributes

The status of the response.

 

code

Allowed value

A code indicating the response status (see status).

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy