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

FormInstance

  • Dark
    Light

Article Summary


 PUT   /FormInstance/{id}/relateForm


Relate a form instance to another form instance.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.
Query Parameters
ParameterTypeDescription
relateToIdGuidID of the form to relate.
relateToDocIdStringName (DocID) of the form to relate.
Response Codes
CodeDescription
200OK
404Not Found
500Internal Server Error


 GET   /FormInstance/{id}/documents


Get the related documents of the form instance.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.
Query Parameters
ParameterTypeDescription
indexFieldsStringIndex field options.
  • include: Include index fields.
  • only: Return only index fields.
sortStringThe name of a data column to sort by.
sortDirStringSort direction.
  • asc: Ascending order
  • desc: Descending order
qStringA VisualVault REST API Data Query.
Response Codes
CodeDescription
400Bad Request


 GET   /FormInstance/{id}/forms


Get the related forms of the form instance.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.


 PUT   /FormInstance/{id}/relateDocument


Relate a form instance to a document.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.
Query Parameters
ParameterTypeDescription
relateToIdGuidID of the form to relate.
relateToDocIdStringName (DocID) of the form to relate.
Response Codes
CodeDescription
200OK
404Not Found
500Internal Server Error


 PUT   /FormInstance/{id}/relateProject


Relate a form instance to a project.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.
Query Parameters
ParameterTypeDescription
relateToIdGuidID of the form to relate.
relateToProjectNameStringName of the project to relate.
Response Codes
CodeDescription
200OK
404Not Found
500Internal Server Error


 PUT   /FormInstance/{id}/unrelateForm


Unrelate a form instance from another form instance.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.
Query Parameters
ParameterTypeDescription
relateToIdGuidID of the form to relate.
relateToDocIdStringName (DocID) of the form to relate.
Response Codes
CodeDescription
200OK
404Not Found
500Internal Server Error


 PUT   /FormInstance/{id}/unrelateDocument


Unrelate a form instance from a document.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.
Query Parameters
ParameterTypeDescription
relateToIdGuidID of the form to relate.
relateToDocIdStringName (DocID) of the form to relate.
Response Codes
CodeDescription
200OK
404Not Found
500Internal Server Error


 PUT   /FormInstance/{id}/unrelateProject


Unrelate a form instance from a project.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.
Query Parameters
ParameterTypeDescription
relateToIdGuidID of the form to relate.
relateToProjectNameStringName of the project to relate.
Response Codes
CodeDescription
200OK
404Not Found
500Internal Server Error


 DELETE   /FormInstance/{id}


Delete a form instance.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.
Response Codes
CodeDescription
200OK
401Unauthorized
500Internal Server Error


 PUT   api/v1/FormInstance/Upgrade


Upgrades a form instance.

Body Parameters
ParameterTypeDescription
request*{UpgradeControlsRequest}Request body containing form information.
Response Codes
CodeDescription
500Internal Server Error


 POST   /FormInstance/{id}/relatedDocumentToken


Create a token for related document access.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.
Body Parameters
ParameterTypeDescription
documentIdGuidThe ID of the document.
Response Codes
CodeDescription
201Created
409Conflict


 PUT   /FormInstance/{id}/updateOriginator


Change the original creator of a form instance to a new user.

Route Parameters
ParameterTypeDescription
id*GuidThe form instance id.
Query Parameters
ParameterTypeDescription
userIdGuidUsId of the user to remove.
Response Codes
CodeDescription
500Internal Server Error
200OK
403Forbidden
500Internal Server Error

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