IndexFields
  • 23 May 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

IndexFields

  • Dark
    Light

Article Summary


 GET   /indexfields


Returns a list of index fields.

Query Parameters
ParameterTypeDescription
qStringA VisualVault REST API Data Query.
Response Codes
CodeDescription
400Bad Request


 POST   /indexfields


Create a new index field.

Body Parameters
ParameterTypeDescription
label*StringLabel for the index field.
descriptionStringDocument description.
fieldTypeStringIndex field type.
  • MultiLineTextBox
  • SingleLineTextBox
  • DatasourceDropDown
  • Calendar
  • Numeric
  • DropDownList
  • UsersDropDownList
  • ModifiableDropDownList
  • ModifiableDatasourceDropDown
dropDownListIdGuidThe drop down list ID.
queryIdGuidThe query ID.
queryDisplayFieldStringThe value to display.
queryValueFieldStringThe value to assign.
requiredBoolSets the index field 'Required' status.
defaultValueStringSets the default value of the index field.
Response Codes
CodeDescription
400Bad Request


 PUT   /indexfields/{id}


Update an existing index field.

Route Parameters
ParameterTypeDescription
id*GuidThe index field id.
Body Parameters
ParameterTypeDescription
labelStringLabel for the index field.
descriptionStringDocument description.
dropDownListIdGuidThe drop down list ID.
queryIdGuidThe query ID.
queryValueFieldStringThe value to assign.
queryDisplayFieldStringThe value to display.
requiredBoolSets the index field 'Required' status.
defaultValueStringSets the default value of the index field.
Response Codes
CodeDescription
400Bad Request


 PUT   /indexfields/{id}/folders/{childId}


Relate an index field to a document library folder.

Route Parameters
ParameterTypeDescription
id*GuidThe index field id.
childId*GuidThe folder id.

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses