Validate MTPs
The MTP validation API allows you to integrate MTP validation directly into your applications. You can either upload *.aml
or *.mtp
files.
The response contains a complete result set, including file information, AML information and the violated rules. A full API schema can be found here.
Please make sure that you use the correct mime types when uploading your MTP file to the api.
File Extension | Supported MIME Types |
---|---|
*.aml | application/xml , model/vnd.automationml.main+XML |
*.mtp | application/zip , application/mtp |
File Report
If you are not interested in creating your own file report, you can use the file report API, to download a PDF report, just like on the MTPlatform.
Before a report can be generated, the validation has to be triggered via the validation API. After a successful validation, the reportId
can be used, to retrieve the PDF report. The ID is valid for around 15–30 minutes after the validation.