Renders a detailed API documentation timeline for all documents associated with a product, including metadata, inbound creation parameters, webhook integration, and field specifications.
DOCUMENT — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
The query must return a single row with the product code in col 0. For each document linked to the product via def_document_product, the report renders a Bootstrap timeline entry containing: document type and metadata, inbound parameter mappings, outbound webhook definition (including parameter table), and a placeholder testing section.
PatchDocument(Notes)Applies patch_param and substitutes $product$ with the current product code.
PatchNotes(Value)Wraps a value in <p> tags after applying patch_param.
RenderDocumentHook(Product, DocName)Renders the webhook that generates a specific document type, including parameter and return-code tables. Also inserts field records into Def_product_Field.
RenderDocumentCreation(Product, DocName)Renders the inbound parameter mapping for document creation from def_document_parameters.
RenderDocument(DocName)Renders the field specification encoded in the document from def_product_field.
Requires jquery.timeago.js. VOX document types receive a format description note automatically.