Interface IAASImportServiceClient
Interface with methods to HTTP calls on AAS Import Microservice.
note
To use this client, see example on AASImportServiceClient.
Namespace: StoneCo.TransRep.AASImport.Host.Client
Assembly: cs.temp.dll.dll
Syntax
public interface IAASImportServiceClient
Methods
GetTransactionsToImportAsync(AASTransactionKeyRequestMessage)
Asynchronous call to get ID_TRANSACTION and ID_ORIGINAL_TRX on AAS database to include on transaction to import.
Declaration
Task<ResultResponseMessage<AASTransactionToImportResponseMessage>> GetTransactionsToImportAsync(AASTransactionKeyRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
AASTransactionKeyRequestMessage | request | Request whit values to set. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<AASTransactionToImportResponseMessage>> | Result of operations. |
SetAsImportedAsync(AASImportRequestMessage)
Asynchronous call to set as imported authorization on AAS database.
Declaration
Task<ResultResponseMessage<AASImportResponseMessage>> SetAsImportedAsync(AASImportRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
AASImportRequestMessage | request | Request whit values to set. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ResultResponseMessage<AASImportResponseMessage>> | Result of operations with result set on the response header. |