Add sub-module to a documentAsk AIput https://api.operations1.app/tenants/{tenantId}/documents/{documentId}/documents/{subDocumentId}Path ParamstenantIdstringrequiredlength between 1 and 100Consists of the subdomain. The tenantId for https://company.operations1.app/ is company.documentIdintegerrequired1 to 9007199254740991subDocumentIdintegerrequired1 to 9007199254740991Body Paramspositionintegerrequired≥ 0useLatestDocumentbooleanrequiredtruefalseHeadersaccept-versionString 1String 2String 3requiredDefines the API version. Using a date is recommended for stability. Avoid using latest in production, as it refers to the most up-to-date functionality, which may include breaking changes. For more details, see our article on versioning.Responses 204Success (no content) 401This error ist returned if authentication of the request was not successful. For more information read our article about authentication. 403This error is returned if you do not have the necessary permissions for the endpoint. 409This error is returned if the document which should be attached uses variables but the main document property hasVariables is set to false 422This error is returned when trying to attach archived sub-document with useLatestDocument set to true 429This error is returned if your request was not executed due to rate limit. For more information read our article about rate limiting. defaultGeneral errorsUpdated 7 months ago