POST portal/Account/ValidateAccountBalance

Request Information

URI Parameters

None.

Body Parameters

ValidateAccountBalance
NameDescriptionTypeAdditional information
buy_account

IdValuePair

None.

buy_amount

decimal number

None.

inv_org_currency

IdValuePair

None.

entity_id

integer

None.

details

Collection of AccountBalanceAmounts

None.

Request Formats

application/json, text/json

Sample:
{
  "buy_account": {
    "value": "sample string 1",
    "id": 2
  },
  "buy_amount": 1.0,
  "inv_org_currency": {
    "value": "sample string 1",
    "id": 2
  },
  "entity_id": 2,
  "details": [
    {
      "buy_currency": {
        "value": "sample string 1",
        "id": 2
      },
      "sell_currency": {
        "value": "sample string 1",
        "id": 2
      },
      "sell_amount": 1.0
    },
    {
      "buy_currency": {
        "value": "sample string 1",
        "id": 2
      },
      "sell_currency": {
        "value": "sample string 1",
        "id": 2
      },
      "sell_amount": 1.0
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ValidateAccountBalance'.

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.