SmartBanking.BankAgent.ApiGateway (1.0.0)

<back to all web services

CreateOperation

Create operation.

Requires Authentication
CreateOperation Parameters:
NameParameterData TypeRequiredDescription
LicensequerystringNo
InputquerystringNo
ApiCommonResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseDataformObjectNo
ResponseStatusformServiceStatusNo
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 .xml suffix or ?format=xml

HTTP + XML

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

POST /xml/reply/CreateOperation HTTP/1.1 
Host: gateway-mired.bancocuscatlan.com.gt 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<CreateOperation 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>
</CreateOperation>
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>