Batch Update Document Folder Structure Templates

put

/api/restapi/folderTemplate/batch

Send a request to this endpoint to update one or more document folder structure templates. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityDocumentFolderStructureTemplateInput>
Type: array
Title: List<ApiEntityDocumentFolderStructureTemplateInput>
Show Source
  • ApiEntityDocumentFolderStructureTemplateInput
    Title: ApiEntityDocumentFolderStructureTemplateInput
    This entity represents a DocumentFolderStructureTemplate object, a unique DocumentFolderStructureTemplate object can be identified by the following combinations of the fields.
    • documentFolderStructureTemplateId
    • templateName,workspaceId
    • templateName,workspaceCode
Nested Schema : ApiEntityDocumentFolderStructureTemplateInput
Type: object
Title: ApiEntityDocumentFolderStructureTemplateInput
This entity represents a DocumentFolderStructureTemplate object, a unique DocumentFolderStructureTemplate object can be identified by the following combinations of the fields.
  • documentFolderStructureTemplateId
  • templateName,workspaceId
  • templateName,workspaceCode
Show Source
  • Read Only: true
    Allowed Values: [ "OWNED", "INHERITED" ]
    Deprecated. As of 24.4.
    The type of association in the relationship between the document folder structure and the workspace. Possible values are Owned and Inherited.
  • The system-generated identifier of a document folder structure template. This value should not be provided in create operation request data, however, it is required for update requests.
  • Read Only: true
    Deprecated. As of 24.4.
    The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
  • Read Only: true
    Allowed Values: [ "MANUAL", "AUTOMATIC" ]
    Deprecated. As of 24.4.
    The push down type of the document folder structure.
  • Read Only: true
    Deprecated. As of 24.4.
    Determines whether a template was created by a user or the system.
  • Maximum Length: 255
    The name of the document template.
  • Read Only: true
    Deprecated. As of 24.4.
    Date when the record was last updated.
  • Minimum Length: 0
    Maximum Length: 60
    The user-specified identifier of a workspace.
  • The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
Examples

Back to Top

Response

200 Response

A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}

400 Response

Invalid input for the Document Folder Structure Template service. Verify the request contains valid data, then resubmit the request.
Back to Top