SmartBanking.BankAgent.ApiGateway (1.0.0)

<back to all web services

GetOperations

GetOperations Parameters:
NameParameterData TypeRequiredDescription
LicensequerystringNo
GetOperationsResponse Parameters:
NameParameterData TypeRequiredDescription
OperationsformList<OperationModel>No
ResponseStatusformResponseStatusNo
OperationModel Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
CodeformstringNo
DescriptionformstringNo
DescriptionTraductionformstringNo
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/GetOperations HTTP/1.1 
Host: gateway-mired.bancocuscatlan.com.gt 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	License: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Operations: 
	[
		{
			Id: 0,
			Code: String,
			Description: String,
			DescriptionTraduction: String
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}