|
Description
The als_insert_content_product.cgi interface is used to create new product content. Refer to the technical discussion on product content for data information. A successful call to this method will retrieve the update row in the same format as als_get_content_versions.cgi.
As is normal for all Put calls a valid webusercode is required as well as the following fields
Example Usage
http://www.alstracker.dnsalias.com/aldesk/als_insert_content_product.cgi?webusercode=1&data=hello world&content=3&product=2
Inputs
Parameter
|
Description
|
Required
|
Example
|
Data Type
|
content
|
Unique code for content
|
Required
|
content=23
|
Integer
|
product
|
Product Unique code
stored in the code field
|
Required
|
product=1
|
Integer
|
webUserCode
|
WebUsercode required for all puts
|
Required
|
webusercode=3
|
Integer
|
data
|
The content value.
Inserts must contain data or URL
|
Optional
|
data=maui is cool
|
String
|
url
|
URL Value
Inserts must contain data or URL
|
Optional
|
url=www.myhost.com
|
String
|
sortorder
|
Used if the content entry is a Namespace to allow for customized ordering
|
Optional
|
sortorder=4
|
Integer
|
Description
|
Description field
|
Optional
|
Description=some text
|
String
|
VersionName
|
Name of the content. The default name will be used by default
|
Optional
|
name=cancellation policy
|
String
|
|