als_get_content_versions

Top  Previous  Next

Description

The als_get_content_versions.cgi interface will retrieve low level content version information and include

 

Name Space items of Company Information
Product Specific Content related

 

Technical Details on how Product Content is Stored

 

Example Usage              http://www.alstracker.dnsalias.com/aldesk/als_get_content_versions.cgi

 

 

Inputs

Parameter

Description

Required

Example

Data Type

seq

Unique code for content

 

Optional

seq=23

Integer

content

Returns the name space items from als_get_content.cgi

 

Optional

content=23

Integer

name

Master Content Name from als_get_content.cgi

 

Optional

name=directions

Boolean

active

Active Items only

 

Optional

active=true

Boolean

product

Brings over only content version for a specific product

Optioanl

product=1

Integer






 

Returned Fields

#

Field Name

Description

Data Type

1

seq

Unique Identifer

Integer

2

Content

AL-Desk Associated Code for master record from als_get_content.cgi

 

Integer

3

VersionName

Version Identifier . may not be unique.

 

String

4

ContentName

 

Name of the Master content from als_get_content.cgi

 

String

 

5

Lastupdated

Timestamp of Last change

Date

6

URL

URL Data Field

String

7

Data

Content Data Field

Integer

8

Code

Used for Product specific content depending on master content category.

 

Integer

9

SortOrder

Sort Entry to order result set

Integer

10

Active

Active

Boolean

 

XML Returned

 

<?xml version="1.0" encoding="utf-8" ?>

- <root>

- <contentversion>

<row contentname="Directions" seq="63" content="3" versioname="Directions" lastupdated="11/23/2005 10:45:59 AM" url="http://www.url.com/somegif.gif" description="0" code="1526" version="" sortorder="0" active="True" data="url example" />

<row contentname="Directions" seq="62" content="3" versioname="Directions" lastupdated="11/23/2005 10:45:59 AM" url="http://www.dukagator.com/binky" description="0" code="1526" version="" sortorder="1" active="True" data="goes from top to the bottom of the hill" />

<row contentname="Cancellation Policy" seq="60" content="5" versioname="Cancellation Policy" lastupdated="11/23/2005 10:45:59 AM" url="" description="0" code="1526" version="" sortorder="0" active="True" data="added by steve" />

<row contentname="highlights" seq="65" content="6" versioname="highlights" lastupdated="11/23/2005 10:45:59 AM" url="http://www.alstracker.dnsalias.com/aldesk/images/test.jpg" description="0" code="1526" version="" sortorder="0" active="True" data="this is the second highlite of this product and the image is also there" />

<row contentname="highlights" seq="64" content="6" versioname="highlights" lastupdated="11/23/2005 10:45:59 AM" url="images/test.gif" description="0" code="1526" version="" sortorder="1" active="True" data="this is a test description for the highlites for the product id =1526" />

<row contentname="Check_ins" seq="61" content="25" versioname="Check_ins" lastupdated="11/23/2005 10:45:59 AM" url="" description="0" code="1526" version="" sortorder="0" active="True" data="check info for 1526" />

</contentversion>

</root>