Aller au contenu principal

AddSimplePredefinedAnswerItems()

Modified: 10 mai 2026 Viewpoint Field View Developer / API Help

The AddSimplePredefinedAnswerItems() command adds two or more items to the list specified.

  • Quota: 1
Table 1. Parameters
ParameterTypeMax LengthRequiredDescription
apiTokenstring20YYour API security token configured in Field View.
predefinedAnswerGroupIdintYThe unique ID of the group.
Answer ListDescriptionstringYThe description text of the item.
ProjectIdintNIf not specified will appear against all projects.
WeightdecimalNWeight value optional but if not specified will default to 0.
ScoredecimalNOptional score value.
ColourstringNMust be in hexadecimal format eg: "#ffffff".
ParentDescriptionstringN
Example Header
   <FormResponse>
       <Status>
           SUCCESS
           <Message>Success.</Message>
       </Status>
   </FormResponse>
Soumettre

Table of Contents