SmartBanking.BankAgent.ApiGateway (1.0.0)

<back to all web services

GetGatewayLogs

GetGatewayLogs Parameters:
NameParameterData TypeRequiredDescription
LicensequerystringNo
BankAgentIdqueryintNo
StartDatequeryDateTimeNo
EndDatequeryDateTimeNo
OperationqueryObjectNo
UserIdqueryintNo
PageSizequeryintNo
PagequeryintNo
GetGatewayLogsResponse Parameters:
NameParameterData TypeRequiredDescription
RecordsformList<GatewayLogModel>No
Countformint?No
TotalPagesformint?No
ResponseStatusformServiceStatusNo
GatewayLogModel Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
UserIdformintNo
OperationformstringNo
OperationDescriptionformstringNo
DataformstringNo
ServiceUrlformstringNo
ServiceformstringNo
MethodformstringNo
RequestformstringNo
ResponseformstringNo
ResponseCodeformstringNo
ResponseMessageformstringNo
ResponseExceptionformstringNo
CipherDataformstringNo
ResponseTimeformlongNo
TransactionIdformstringNo
BankAgentIdformintNo
CreatedAtformDateTimeNo
ServiceStatus Parameters:
NameParameterData TypeRequiredDescription
Visibleformbool?No
PublicDescriptionformstringNo
AdditionalDataformDictionary<string, Object>No
ResponseStatus Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
MessageformstringNo
StackTraceformstringNo
ErrorsformList<ResponseError>No
MetaformDictionary<string, string>No
ResponseError Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
FieldNameformstringNo
MessageformstringNo
MetaformDictionary<string, string>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/GetGatewayLogs HTTP/1.1 
Host: gateway-mired.bancocuscatlan.com.gt 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	License: String,
	bankAgentId: 0,
	startDate: 0001-01-01,
	endDate: 0001-01-01,
	operation: {},
	userId: 0,
	pageSize: 0,
	page: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Records: 
	[
		{
			Id: String,
			UserId: 0,
			Operation: String,
			OperationDescription: String,
			Data: String,
			ServiceUrl: String,
			Service: String,
			Method: String,
			Request: String,
			Response: String,
			ResponseCode: String,
			ResponseMessage: String,
			ResponseException: String,
			CipherData: String,
			ResponseTime: 0,
			TransactionId: String,
			BankAgentId: 0,
			CreatedAt: 0001-01-01
		}
	],
	Count: 0,
	TotalPages: 0,
	ResponseStatus: 
	{
		Visible: False,
		PublicDescription: String,
		AdditionalData: 
		{
			String: {}
		},
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}