POST api/documents/conversion

Conversion

Request

URI Parameters

empty

Request body parameters

documents

One or more   ConversionPayment
nameDescriptionTypeadditional info
UniqueId

unique identifier (Guid) outside system

globally unique identifier

Required

DocumentNo

Doc N

string

-

SourceAccountNumber

Sell From Account

string

-

SourceCurrency

Sell Currency

string

-

DestinationAccountNumber

Buy to Account

string

-

DestinationCurrency

Buy Currency

string

-

Amount

Sell Amount

decimal number

-

Rate

Conversion Rate

decimal number

-

AdditionalInfo

additional info / Optional / Not used Transfer of national currency

string

-

api.documents.conversion.comments

Request formats

application/json, text/json

Sample:
[
  {
    "UniqueId": "3a87a1f9-3d50-4ba9-91b8-8caea2828f6a",
    "DocumentNo": "sample string 2",
    "SourceAccountNumber": "sample string 3",
    "SourceCurrency": "sample string 4",
    "DestinationAccountNumber": "sample string 5",
    "DestinationCurrency": "sample string 6",
    "Amount": 7.0,
    "Rate": 8.0,
    "AdditionalInfo": "sample string 9"
  },
  {
    "UniqueId": "3a87a1f9-3d50-4ba9-91b8-8caea2828f6a",
    "DocumentNo": "sample string 2",
    "SourceAccountNumber": "sample string 3",
    "SourceCurrency": "sample string 4",
    "DestinationAccountNumber": "sample string 5",
    "DestinationCurrency": "sample string 6",
    "Amount": 7.0,
    "Rate": 8.0,
    "AdditionalInfo": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfConversionPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CIBApi.Models">
  <ConversionPayment>
    <AdditionalInfo>sample string 9</AdditionalInfo>
    <Amount>7</Amount>
    <DestinationAccountNumber>sample string 5</DestinationAccountNumber>
    <DestinationCurrency>sample string 6</DestinationCurrency>
    <DocumentNo>sample string 2</DocumentNo>
    <Rate>8</Rate>
    <SourceAccountNumber>sample string 3</SourceAccountNumber>
    <SourceCurrency>sample string 4</SourceCurrency>
    <UniqueId>3a87a1f9-3d50-4ba9-91b8-8caea2828f6a</UniqueId>
  </ConversionPayment>
  <ConversionPayment>
    <AdditionalInfo>sample string 9</AdditionalInfo>
    <Amount>7</Amount>
    <DestinationAccountNumber>sample string 5</DestinationAccountNumber>
    <DestinationCurrency>sample string 6</DestinationCurrency>
    <DocumentNo>sample string 2</DocumentNo>
    <Rate>8</Rate>
    <SourceAccountNumber>sample string 3</SourceAccountNumber>
    <SourceCurrency>sample string 4</SourceCurrency>
    <UniqueId>3a87a1f9-3d50-4ba9-91b8-8caea2828f6a</UniqueId>
  </ConversionPayment>
</ArrayOfConversionPayment>

Response

Description

დოკუმენტების იდენტიფიკატორები

One or more   DocumentKey
nameDescriptionTypeadditional info
UniqueId

unique identifier (Guid) outside system

globally unique identifier

-

UniqueKey

Unique identifier of the Business Online

integer

-

ResultCode

api.document.result.code

integer

-

Match

Match %

When making an internal transfer, if the recipient that you enter is a legal entity, such recipient will be checked against the name of the IBAN account holder with the bank, and if the recipient that you enter is a natural person, such recipient will be checked against the first name and last name of such person. The comparison will show a % result of matching.

To check for duplication when creating any documents or performing package transfers, the new document is checked to see whether it matches any of the documents already created. You can compare documents in advance according to the fields that you select.

decimal number

-

formats

application/json, text/json

Sample:
[
  {
    "UniqueId": "1fddcc23-055f-4d63-956d-ada1a7ca9a38",
    "UniqueKey": 2,
    "ResultCode": 1,
    "Match": 1.0
  },
  {
    "UniqueId": "1fddcc23-055f-4d63-956d-ada1a7ca9a38",
    "UniqueKey": 2,
    "ResultCode": 1,
    "Match": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfDocumentKey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CIBApi.Models">
  <DocumentKey>
    <Match>1</Match>
    <ResultCode>1</ResultCode>
    <UniqueId>1fddcc23-055f-4d63-956d-ada1a7ca9a38</UniqueId>
    <UniqueKey>2</UniqueKey>
  </DocumentKey>
  <DocumentKey>
    <Match>1</Match>
    <ResultCode>1</ResultCode>
    <UniqueId>1fddcc23-055f-4d63-956d-ada1a7ca9a38</UniqueId>
    <UniqueKey>2</UniqueKey>
  </DocumentKey>
</ArrayOfDocumentKey>