GET api/Products/Accounts/{sessionId}

Returns information about user accounts

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

Body Parameters

None.

Response Information

Resource Description

List of user accounts

Collection of Account
NameDescriptionTypeAdditional information
AcctKey

ანგარიშის უნიკალური იდენტიფიკატორი

integer

None.

AcctName

ანგარიშის სახელი

string

None.

PrintAcctNo

ანგარიშის IBAN ნომერი GE00BG0000000000000000

string

None.

AvailableAmounts

ხელმისაწვდომი თანხმები ქვეანგარიშების ჭრილში

Collection of AvailableAmount

None.

Ccy

მთავარი ანგარიშის ვალუტა GEL/USD/EUR

string

None.

OrderNo

რიგითობის ნომერი ანგარიშების სიაში

integer

None.

ProductCode

პროდუქტის კოდი

string

None.

Product

პროდუქტის დასახელება

string

None.

MainAcctKey

ანგარიშის უნიკალური იდენტიფიკატორი

integer

None.

ProductGroup

პროდუქტის ჯგუფი

string

None.

ProductId

პროდუქტის იდენტიფიკატორი

integer

None.

SubAccounts

ქვეანგარიშების დეტალები

Collection of SubAccount

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AcctKey": 1,
    "AcctName": "sample string 2",
    "PrintAcctNo": "sample string 3",
    "AvailableAmounts": [
      {
        "Amount": 1.1,
        "Currency": "sample string 2"
      },
      {
        "Amount": 1.1,
        "Currency": "sample string 2"
      }
    ],
    "Ccy": "sample string 4",
    "OrderNo": 5,
    "ProductCode": "sample string 6",
    "Product": "sample string 7",
    "MainAcctKey": 8,
    "ProductGroup": "sample string 9",
    "ProductId": 10,
    "SubAccounts": [
      {
        "AcctKey": 1,
        "PrintAcctNo": "sample string 2",
        "AvailableAmount": 3.1,
        "RealAmount": 4.1,
        "Ccy": "sample string 5"
      },
      {
        "AcctKey": 1,
        "PrintAcctNo": "sample string 2",
        "AvailableAmount": 3.1,
        "RealAmount": 4.1,
        "Ccy": "sample string 5"
      }
    ]
  },
  {
    "AcctKey": 1,
    "AcctName": "sample string 2",
    "PrintAcctNo": "sample string 3",
    "AvailableAmounts": [
      {
        "Amount": 1.1,
        "Currency": "sample string 2"
      },
      {
        "Amount": 1.1,
        "Currency": "sample string 2"
      }
    ],
    "Ccy": "sample string 4",
    "OrderNo": 5,
    "ProductCode": "sample string 6",
    "Product": "sample string 7",
    "MainAcctKey": 8,
    "ProductGroup": "sample string 9",
    "ProductId": 10,
    "SubAccounts": [
      {
        "AcctKey": 1,
        "PrintAcctNo": "sample string 2",
        "AvailableAmount": 3.1,
        "RealAmount": 4.1,
        "Ccy": "sample string 5"
      },
      {
        "AcctKey": 1,
        "PrintAcctNo": "sample string 2",
        "AvailableAmount": 3.1,
        "RealAmount": 4.1,
        "Ccy": "sample string 5"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hackathon.Models">
  <Account>
    <AcctKey>1</AcctKey>
    <AcctName>sample string 2</AcctName>
    <AvailableAmounts>
      <AvailableAmount>
        <Amount>1.1</Amount>
        <Currency>sample string 2</Currency>
      </AvailableAmount>
      <AvailableAmount>
        <Amount>1.1</Amount>
        <Currency>sample string 2</Currency>
      </AvailableAmount>
    </AvailableAmounts>
    <Ccy>sample string 4</Ccy>
    <MainAcctKey>8</MainAcctKey>
    <OrderNo>5</OrderNo>
    <PrintAcctNo>sample string 3</PrintAcctNo>
    <Product>sample string 7</Product>
    <ProductCode>sample string 6</ProductCode>
    <ProductGroup>sample string 9</ProductGroup>
    <ProductId>10</ProductId>
    <SubAccounts>
      <SubAccount>
        <AcctKey>1</AcctKey>
        <AvailableAmount>3.1</AvailableAmount>
        <Ccy>sample string 5</Ccy>
        <PrintAcctNo>sample string 2</PrintAcctNo>
        <RealAmount>4.1</RealAmount>
      </SubAccount>
      <SubAccount>
        <AcctKey>1</AcctKey>
        <AvailableAmount>3.1</AvailableAmount>
        <Ccy>sample string 5</Ccy>
        <PrintAcctNo>sample string 2</PrintAcctNo>
        <RealAmount>4.1</RealAmount>
      </SubAccount>
    </SubAccounts>
  </Account>
  <Account>
    <AcctKey>1</AcctKey>
    <AcctName>sample string 2</AcctName>
    <AvailableAmounts>
      <AvailableAmount>
        <Amount>1.1</Amount>
        <Currency>sample string 2</Currency>
      </AvailableAmount>
      <AvailableAmount>
        <Amount>1.1</Amount>
        <Currency>sample string 2</Currency>
      </AvailableAmount>
    </AvailableAmounts>
    <Ccy>sample string 4</Ccy>
    <MainAcctKey>8</MainAcctKey>
    <OrderNo>5</OrderNo>
    <PrintAcctNo>sample string 3</PrintAcctNo>
    <Product>sample string 7</Product>
    <ProductCode>sample string 6</ProductCode>
    <ProductGroup>sample string 9</ProductGroup>
    <ProductId>10</ProductId>
    <SubAccounts>
      <SubAccount>
        <AcctKey>1</AcctKey>
        <AvailableAmount>3.1</AvailableAmount>
        <Ccy>sample string 5</Ccy>
        <PrintAcctNo>sample string 2</PrintAcctNo>
        <RealAmount>4.1</RealAmount>
      </SubAccount>
      <SubAccount>
        <AcctKey>1</AcctKey>
        <AvailableAmount>3.1</AvailableAmount>
        <Ccy>sample string 5</Ccy>
        <PrintAcctNo>sample string 2</PrintAcctNo>
        <RealAmount>4.1</RealAmount>
      </SubAccount>
    </SubAccounts>
  </Account>
</ArrayOfAccount>