REST API Integration | Aayu Technologies
Link Search Menu Expand Document

REST API Integration

1 Introduction

The MFTGateway exposes a complete REST API for integration. This includes authorization for access, message sending and access, Station and Partner management, and Certificate management.

1.1 REST API Endpoint

The REST API is available at https://api.mftgateway.com/. The complete API list and documentation with examples code snippets can be found here.

OpenAPI 3.0 specification for the REST API can be found below.

1.2 Available APIs and details

2 Deprecation Notice and Change Summary

In order to be compatible with multiple message services, MFT Gateway has made some changes to the existing message-related API endpoints. Below is a high-level summary of the REST API changes.

Request body changes:

Old JSON Object KeyNew JSON Object Key
as2MessageIdsmessageIdentifiers

Request query parameter changes:

Old ParameterNew Parameter
as2MessageIdidentifier
stationAS2IdstationIdentifier
partnerAS2IdpartnerIdentifier
-service

Path variables changes:

Old VariableNew Variable
as2_message_ididentifier

Response changes:

Old FieldNew Field
api_tokenapiToken
refresh_tokenrefreshToken
as2messageIdmessageIdentifier
as2MessageIdidentifier
senderAS2IdsenderIdentifier
receiverAS2IdreceiverIdentifier
serialNumber, serial_numberserialNumberHex, serialNumberDecimal
subject_common_namesubjectCommonName
subject_distinguish_namesubjectDistinguishName
issuer_common_nameissuerCommonName
issuer_distinguish_nameissuerDistinguishName
valid_fromvalidFrom
-validFromTimestamp
-expiryTimestamp

MFT Gateway will support both old and new fields/parameters for backward compatibility in current versions, and will remove old ones completely after 01st of May 2024.