Schematron
Task for calling Truugo Schematron API endpoints and returns its response. Truugo API Swagger for reference: https://api.truugo.com/reference/
Task version: 1.0.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
Task Parameters
Endpoint : EndpointPath
Path for the API call
Possible values:
ListItems: List items endpoint lists available Schematron items for a specific group key.ListItemVersions: List item versions endpoint lists all available versions of a specific item key.Validate: Validate endpoint performs Schematron validation on the provided file instance.
Default: -
Example: ListItems
GroupKey : String
Group key needed for Schematron List-Items
Default: -
Example: groupKey
ItemKey : String
Item key needed for Schematron List-Item-Versions
Default: -
Example: itemKey
FileKey : String
File key needed for Schematron Validate
Default: -
Example: fileKey
FileImportType : FileImport
File import type selection: file path or content
Possible values:
FilePath: Import file via file pathFileContent: Import file via content
Default: -
Example: FilePath
FilePath : String
Full path to the file, only needed if file import type is set to file path.
Default: -
Example: C:\files\file.xml
FileName : String
Name of the file, necessary when file content is used as input. Can also override the file name when used with file path.
Default: -
Example: file.xml
Content : String
XML content to be validated.
Default: -
Example: ...
Username : String
API Credentials username
Default: -
Example: APIuser
🗝Password : String
API Credentials password
Default: -
Example: APIPassword
ThrowErrorOnFailure : Boolean
Whether to throw an error on failure.
Default: True
Example: true
ErrorMessageOnFailure : String
Overrides the error message on failure.
Default: -
Example: Custom error message
Task Result
Success : Boolean
Indicates if the task completed successfully.
Example: true
Data : Object
Full response
Example: responseObject { ... }
StatusCode : Int32
HTTP status code returned by the API.
Example: 200
Endpoint : String
Endpoint used in the API call
Example: https://api.truugo.com/schematron/validate
Error : Error
Error that occurred during task execution.
Example: object { string Message, Exception AdditionalInfo }
Error.Message : String
Summary of the error.
Example: Missing mandatory instance file
Error.AdditionalInfo : Exception
Additional information about the error.
Example: object { Exception AdditionalInfo }
Task Changelog
Changelog for Task Netum.Truugo.Schematron.
[1.0.0] - 2026-06-23
Added
Initial implementation
Last updated
Was this helpful?

