| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| License | query | string | No | |
| Input | query | string | No | |
| SessionId | query | string | No | |
| Request | query | IRequest | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OriginalRequest | form | Object | No | |
| Response | form | IResponse | No | |
| OperationName | form | string | No | |
| Verb | form | string | No | |
| RequestAttributes | form | RequestAttributes | No | |
| RequestPreferences | form | IRequestPreferences | No | |
| Dto | form | Object | No | |
| ContentType | form | string | No | |
| IsLocal | form | bool | No | |
| UserAgent | form | string | No | |
| Cookies | form | IDictionary<string, Cookie> | No | |
| ResponseContentType | form | string | No | |
| HasExplicitResponseContentType | form | bool | No | |
| Items | form | Dictionary<string, Object> | No | |
| Headers | form | NameValueCollection | No | |
| QueryString | form | NameValueCollection | No | |
| FormData | form | NameValueCollection | No | |
| UseBufferedStream | form | bool | No | |
| RawUrl | form | string | No | |
| AbsoluteUri | form | string | No | |
| UserHostAddress | form | string | No | |
| RemoteIp | form | string | No | |
| Authorization | form | string | No | |
| IsSecureConnection | form | bool | No | |
| AcceptTypes | form | string[] | No | |
| PathInfo | form | string | No | |
| OriginalPathInfo | form | string | No | |
| ContentLength | form | long | No | |
| Files | form | IHttpFile[] | No | |
| UrlReferrer | form | Uri | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OriginalResponse | form | Object | No | |
| Request | form | IRequest | No | |
| StatusCode | form | int | No | |
| StatusDescription | form | string | No | |
| ContentType | form | string | No | |
| Dto | form | Object | No | |
| UseBufferedStream | form | bool | No | |
| IsClosed | form | bool | No | |
| KeepAlive | form | bool | No | |
| HasStarted | form | bool | No | |
| Items | form | Dictionary<string, Object> | No |
| Name | Value | |
|---|---|---|
| None | 0 | |
| Localhost | 1 | |
| LocalSubnet | 2 | |
| External | 4 | |
| Secure | 8 | |
| InSecure | 16 | |
| AnySecurityMode | 24 | |
| HttpHead | 32 | |
| HttpGet | 64 | |
| HttpPost | 128 | |
| HttpPut | 256 | |
| HttpDelete | 512 | |
| HttpPatch | 1024 | |
| HttpOptions | 2048 | |
| HttpOther | 4096 | |
| AnyHttpMethod | 8160 | |
| OneWay | 8192 | |
| Reply | 16384 | |
| AnyCallStyle | 24576 | |
| Soap11 | 32768 | |
| Soap12 | 65536 | |
| Xml | 131072 | |
| Json | 262144 | |
| Jsv | 524288 | |
| ProtoBuf | 1048576 | |
| Csv | 2097152 | |
| Html | 4194304 | |
| Wire | 8388608 | |
| MsgPack | 16777216 | |
| FormatOther | 33554432 | |
| AnyFormat | 67076096 | |
| Http | 67108864 | |
| MessageQueue | 134217728 | |
| Tcp | 268435456 | |
| Grpc | 536870912 | |
| EndpointOther | 1073741824 | |
| AnyEndpoint | 2080374784 | |
| InProcess | -2147483648 | |
| InternalNetworkAccess | -2147483645 | |
| AnyNetworkAccessType | -2147483641 | |
| Any | -1 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AcceptsGzip | form | bool | No | |
| AcceptsDeflate | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| FileName | form | string | No | |
| ContentLength | form | long | No | |
| ContentType | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseData | form | Object | No | |
| ResponseStatus | form | ServiceStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Visible | form | bool? | No | |
| PublicDescription | form | string | No | |
| AdditionalData | form | Dictionary<string, Object> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorCode | form | string | No | |
| Message | form | string | No | |
| StackTrace | form | string | No | |
| Errors | form | List<ResponseError> | No | |
| Meta | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorCode | form | string | No | |
| FieldName | form | string | No | |
| Message | form | string | No | |
| Meta | form | Dictionary<string, string> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/CreateAnonymousOperation HTTP/1.1
Host: gateway-mired.bancocuscatlan.com.gt
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CreateAnonymousOperation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBanking.BankAgent.ApiGateway.Model.Api.Proxy">
<Input>String</Input>
<License>String</License>
<Request i:nil="true" />
<SessionId>String</SessionId>
</CreateAnonymousOperation>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ApiCommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBanking.BankAgent.ApiGateway.Model.Api">
<ResponseData />
<ResponseStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/SmartBanking.BankAgent.ApiGateway.Services.Utils">
<ErrorCode xmlns="http://schemas.servicestack.net/types">String</ErrorCode>
<Message xmlns="http://schemas.servicestack.net/types">String</Message>
<StackTrace xmlns="http://schemas.servicestack.net/types">String</StackTrace>
<Errors xmlns="http://schemas.servicestack.net/types">
<ResponseError>
<ErrorCode>String</ErrorCode>
<FieldName>String</FieldName>
<Message>String</Message>
<Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</Meta>
</ResponseError>
</Errors>
<Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</Meta>
<d2p1:AdditionalData xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringanyType>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value />
</d3p1:KeyValueOfstringanyType>
</d2p1:AdditionalData>
<d2p1:PublicDescription>String</d2p1:PublicDescription>
<d2p1:Visible>false</d2p1:Visible>
</ResponseStatus>
</ApiCommonResponse>