Collection.AddField
August 10, 2015
Description
Adds a field to the desired Collection. This field is created with the default format of “Text”. This operation can only be performed on Collections that are created by a user.
Required parameters
CollectionID, Name
Optional parameters
Description
Returns
The result of the operation and the FieldID if it was successful.
Example request url
https://api.mozenda.com/rest?WebServiceKey=3FE7221C-9097-4B64-AED6-0950F675F398&Service=Mozenda10&Operation=Collection.AddField&CollectionID=1052&Field=Col7&FieldDescription=My%20col7%20description
Example response
<?xml version="1.0" encoding="utf-8" ?> <CollectionAddField xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Result>Success</Result> <FieldID>2259</FieldID> </CollectionAddField>