Validator
Task for calling specified Truugo API Validator endpoint 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:
GetStatus: Get status endpoint validates given file against the selected test profile.StoreStatus30d: Store status for 30 days endpoint validates given file against the selected test profile and stores the result for 30 days.StoreStatus60d: Store status for 60 days endpoint validates given file against the selected test profile and stores the result for 60 days.GetFeedback: Get feedback endpoint validates given file against the selected test profile and returns a test report in JSON.GetReport: Get report endpoint validates given file against the selected test profile and returns result as a code and URL pointing to the report.StoreReport7d: Store report for 7 days endpoint validates given file against the selected test profile and returns result as a code and URL pointing to the report. The report is stored for 7 days.StoreReport14d: Store report for 14 days endpoint validates given file against the selected test profile and returns result as a code and URL pointing to the report. The report is stored for 14 days.StoreReport30d: Store report for 30 days endpoint validates given file against the selected test profile and returns result as a code and URL pointing to the report. The report is stored for 30 days.
Default: -
Example: EndpointPath.GetStatus
FileImportType : FileImport
File import type selection: file path or content
Possible values:
FilePath: Import file via file pathFileContent: Import file via content
Default: -
Example: FileImport.FilePath
FilePath : String
Full path to the file to be validated
Default: -
Example: C:\files\report.xml
FileName : String
Name of the file, necessary when file content is used as input.
Default: -
Example: report.xml
StorageTimeInHours : Int32
get-report API call can store the report for 1-24 hrs
Default: 24
Example: 24
InstanceName : String
Optional instance name, can be used to override the file name in statistics.
Default: -
Example: CustomInstanceName
Tag : String
Optional tag
Default: -
Example: CustomTag
ErrorsOnly : Boolean
Can be used to limit the feedback to invalid test phases only.
Default: False
Example: false
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
ProfileKey : String
Profile key for API
Default: -
Example: FI-EN123456
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/validator/get-status
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.Validator.
[1.0.0] - 2026-06-23
Added
Initial implementation
Last updated
Was this helpful?

