GET api/Products/AssetsAndLiabilities/{sessionId}

Returns information about clients assets and liabilities

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

Body Parameters

None.

Response Information

Resource Description

Details of clients assets and liabilities

AssetsAndLiabilities
NameDescriptionTypeAdditional information
Points

ბონუს ქულები

Collection of Point

None.

Assets

აქტივები

Collection of Asset

None.

Liabilities

ვალდებულებები

Collection of Liability

None.

AvailableAmounts

ხელმისაწვდომი თანხა

Collection of ProductAmount

None.

Response Formats

application/json, text/json

Sample:
{
  "Points": [
    {
      "Id": 1,
      "ProductName": "sample string 2",
      "OrderNo": 3,
      "Amount": 4,
      "ProdType": "sample string 5"
    },
    {
      "Id": 1,
      "ProductName": "sample string 2",
      "OrderNo": 3,
      "Amount": 4,
      "ProdType": "sample string 5"
    }
  ],
  "Assets": [
    {
      "ProductType": "sample string 1",
      "AmountBase": 2.1,
      "ProductName": "sample string 3"
    },
    {
      "ProductType": "sample string 1",
      "AmountBase": 2.1,
      "ProductName": "sample string 3"
    }
  ],
  "Liabilities": [
    {
      "ProductType": "sample string 1",
      "AmountBase": 2.1,
      "ProductName": "sample string 3"
    },
    {
      "ProductType": "sample string 1",
      "AmountBase": 2.1,
      "ProductName": "sample string 3"
    }
  ],
  "AvailableAmounts": [
    {
      "ProductType": "sample string 1",
      "AmountBase": 2.1,
      "ProductName": "sample string 3"
    },
    {
      "ProductType": "sample string 1",
      "AmountBase": 2.1,
      "ProductName": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<AssetsAndLiabilities xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hackathon.Models">
  <Assets>
    <Asset>
      <AmountBase>2.1</AmountBase>
      <ProductName>sample string 3</ProductName>
      <ProductType>sample string 1</ProductType>
    </Asset>
    <Asset>
      <AmountBase>2.1</AmountBase>
      <ProductName>sample string 3</ProductName>
      <ProductType>sample string 1</ProductType>
    </Asset>
  </Assets>
  <AvailableAmounts>
    <ProductAmount>
      <AmountBase>2.1</AmountBase>
      <ProductName>sample string 3</ProductName>
      <ProductType>sample string 1</ProductType>
    </ProductAmount>
    <ProductAmount>
      <AmountBase>2.1</AmountBase>
      <ProductName>sample string 3</ProductName>
      <ProductType>sample string 1</ProductType>
    </ProductAmount>
  </AvailableAmounts>
  <Liabilities>
    <Liability>
      <AmountBase>2.1</AmountBase>
      <ProductName>sample string 3</ProductName>
      <ProductType>sample string 1</ProductType>
    </Liability>
    <Liability>
      <AmountBase>2.1</AmountBase>
      <ProductName>sample string 3</ProductName>
      <ProductType>sample string 1</ProductType>
    </Liability>
  </Liabilities>
  <Points>
    <Point>
      <Amount>4</Amount>
      <Id>1</Id>
      <OrderNo>3</OrderNo>
      <ProdType>sample string 5</ProdType>
      <ProductName>sample string 2</ProductName>
    </Point>
    <Point>
      <Amount>4</Amount>
      <Id>1</Id>
      <OrderNo>3</OrderNo>
      <ProdType>sample string 5</ProdType>
      <ProductName>sample string 2</ProductName>
    </Point>
  </Points>
</AssetsAndLiabilities>