|
strXML - XML String, representing the Survey record to be added,
updated or deleted. To view the validating XSD Schema, please
click here (opens in a new window). An example is provided
here (opens in a new window) or below:
<Survey Survey_ID="7" Date_Created="2005-09-12T15:29:00">
<Name>Demo Survey</Name>
<Description>Our demo survey's Description
would go here.</Description>
<Options>
<Option Option_Sequence="1">
<Name>First Option</Name>
<Votes>0</Votes>
</Option>
<Option Option_Sequence="2">
<Name>Second Option</Name>
<Votes>0</Votes>
</Option>
</Options>
</Survey>
To create a new Survey record, please provide a unique identifier
as the value of the Survey_ID attribute. The
easiest way of obtaining a unique identifier is by calling the
GetNewSurveyID SOAP method.
If an existing Survey record's identifier is provided as the value of the
Survey_ID attribute, an update of that record will be performed by
the system, as long as any of the child elements are also included in
the XML string.
To delete a Survey record from the system, the XML string must consist of
only the root element and the Survey_ID attribute,
with the identifier of the record to be deleted as the attribute's value. Do
not provide any of the root node's child elements. An example is
provided below:
<Survey Survey_ID="7"
/>
|