POST api/Dapi/ApiResponse

Request Information

URI Parameters

None.

Body Parameters

DapiResponse
NameDescriptionTypeAdditional information
jobID

string

None.

message

string

None.

status

string

None.

success

boolean

None.

balance

Balance

None.

accounts

Collection of Account

None.

Request Formats

application/json, text/json

Sample:
{
  "jobID": "sample string 1",
  "message": "sample string 2",
  "status": "sample string 3",
  "success": true,
  "balance": {
    "amount": 1.1,
    "currency": "sample string 2",
    "accountNumber": "sample string 3"
  },
  "accounts": [
    {
      "iban": "sample string 1",
      "number": "sample string 2",
      "currency": "sample string 3",
      "type": "sample string 4",
      "name": "sample string 5",
      "isFavourite": true,
      "id": "sample string 7"
    },
    {
      "iban": "sample string 1",
      "number": "sample string 2",
      "currency": "sample string 3",
      "type": "sample string 4",
      "name": "sample string 5",
      "isFavourite": true,
      "id": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<DapiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models">
  <accounts>
    <Account>
      <currency>sample string 3</currency>
      <iban>sample string 1</iban>
      <id>sample string 7</id>
      <isFavourite>true</isFavourite>
      <name>sample string 5</name>
      <number>sample string 2</number>
      <type>sample string 4</type>
    </Account>
    <Account>
      <currency>sample string 3</currency>
      <iban>sample string 1</iban>
      <id>sample string 7</id>
      <isFavourite>true</isFavourite>
      <name>sample string 5</name>
      <number>sample string 2</number>
      <type>sample string 4</type>
    </Account>
  </accounts>
  <balance>
    <accountNumber>sample string 3</accountNumber>
    <amount>1.1</amount>
    <currency>sample string 2</currency>
  </balance>
  <jobID>sample string 1</jobID>
  <message>sample string 2</message>
  <status>sample string 3</status>
  <success>true</success>
</DapiResponse>

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 'DapiResponse'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>