{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/it/products/clickwrap/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Application Logs","description":"Integration and usage documentation."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"application-logs","__idx":0},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Application Logs"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Efficiently manage and retrieve application logs with the \"Application Logs\" section."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create-application-log","__idx":1},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Application Log"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To create an application log, utilize the following endpoint: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/AppLog"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"input","__idx":2},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Input"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"//POST /api/AppLog\n{\n  \"applicationGuid\": \"dd1d816d-2e80-478c-93fa-6cf29b168de1\",\n  \"owner\": \"My owner\",\n  \"scope\": \"My scope\",\n  \"source\": \"My source\",\n  \"target\": \"My target\",\n  \"payload\": \"My payload\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ApplicationGuid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The application guid associated with the log"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Owner"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Who sent the event"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Scope"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The reason of the event"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Target"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Where the event is received"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Payload"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The content of the event"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"output","__idx":3},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"guid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"applicationGuid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"owner\": \"string\",\n  \"timeStamp\": \"2023-05-03T12:59:37.110Z\",\n  \"scope\": \"string\",\n  \"source\": \"string\",\n  \"ip\": \"string\",\n  \"target\": \"string\",\n  \"hash\": \"string\",\n  \"payload\": \"string\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Guid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The auto generated guid"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Application Guid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Same as input"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Owner"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Same as input"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TimeStamp"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["When the application log is created"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Scope"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Same as input"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Source"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Same as input"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ip"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The IPv4 or IPv6 from where the application log is created"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Target"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Same as input"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Hash"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The hash of the application log that will be sent on the blockchain"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Payload"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Same as input"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"get-application-logs","__idx":4},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Get application logs"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To retrieve application logs, use the following endpoint: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/AppLog/List"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"input-1","__idx":5},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Input"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"//POST /api/AppLog/List\n{\n  \"applicationGuid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"dateFrom\": \"2020-04-01T00:00:00.0000000\",\n  \"dateTo\": \"2030-04-01T00:00:00.0000000\",\n  \"page\": 1,\n  \"itemsPerPage\": 20\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ApplicationGuid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Filters the application logs by the application guid"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DateFrom"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["If set, retrieves the logs created starting from this date"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DateTo"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["If set, retrieves the logs created up to this date"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Page"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Page number"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ItemsPerPage"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Items per page"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The only input required parameters are ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["itemsPerPage"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"output-1","__idx":6},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"[\n  {\n    \"guid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n    \"applicationGuid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n    \"owner\": \"string\",\n    \"timeStamp\": \"2023-05-03T14:08:33.901Z\",\n    \"scope\": \"string\",\n    \"source\": \"string\",\n    \"ip\": \"string\",\n    \"target\": \"string\",\n    \"payload\": \"string\",\n    \"blockchainStatus\": 0,\n    \"blockchainStatusDate\": \"2023-05-03T14:08:33.901Z\",\n    \"blockchainProcessId\": \"string\",\n    \"blockchainUuid\": \"string\",\n    \"hash\": \"string\",\n    \"blockchainTxHashUrl\": \"string\"\n  }\n]\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Guid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The application log guid"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ApplicationGuid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The application guid related to the log"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Owner"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The owner of the application log"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TimeStamp"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["When the application log is created"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Scope"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The scope of the application log"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Source"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The source of the application log"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ip"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The IPv4 or IPv6 from where the application log is created"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Target"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The target of the application log"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Payload"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The payload of the application log"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BlockchainStatus"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Save status on the blockchain (Registered = 0, Queued = 1, ProcessCreated = 2, Notarized = 3, Error = 4)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BlockchainStatusDate"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["When the status of the save on the blockchain changes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BlockchainProcessId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The id of the process on the blockchain"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BlockchainUuid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UUID generated by the blockchain"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Hash"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The hash of the application log that is sent to the blockchain"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BlockchainTxHashUrl"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The hash produced by the blockchain on success (the blockchain may take a bit of time and it may not be valorized immediately after the creation of a consent)"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The result collection doesn't include application logs related to deleted applications"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"get-audit-trail-pdf","__idx":7},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Get audit trail PDF"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To get the audit trail PDF document use the following endpoint:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /api/AppLog/GetAuditTrail/{applicationLogGuid}"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"output-2","__idx":8},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Audit Trail PDF file"]}]},"headings":[{"value":"Application Logs","id":"application-logs","depth":1},{"value":"Create Application Log","id":"create-application-log","depth":2},{"value":"Input","id":"input","depth":3},{"value":"Output","id":"output","depth":3},{"value":"Get application logs","id":"get-application-logs","depth":2},{"value":"Input","id":"input-1","depth":3},{"value":"Output","id":"output-1","depth":3},{"value":"Get audit trail PDF","id":"get-audit-trail-pdf","depth":2},{"value":"Output","id":"output-2","depth":3}],"frontmatter":{"seo":{"title":"Application Logs"}},"lastModified":"2025-06-11T14:22:17.000Z","isTranslationFallback":true,"pagePropGetterError":{"message":"","name":""}},"slug":"/it/products/clickwrap/api-integration/application-logs","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}