POST api/Account/Transfer

Request Information

URI Parameters

None.

Body Parameters

TransferModelLoad
NameDescriptionTypeAdditional information
ParentCardId

globally unique identifier

None.

SubCardId

globally unique identifier

None.

amountParent

decimal number

None.

amountChild

decimal number

None.

parentCurrencyId

integer

None.

childCurrencyId

integer

None.

conversionRate

decimal number

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ParentCardId": "477330de-b552-44cb-b4b3-08809ec03a67",
  "SubCardId": "222c61af-be87-4f65-86ea-daaff870d66a",
  "amountParent": 3.1,
  "amountChild": 4.1,
  "parentCurrencyId": 5,
  "childCurrencyId": 6,
  "conversionRate": 7.1,
  "Message": "sample string 8"
}

application/xml, text/xml

Sample:
<TransferModelLoad xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <Message>sample string 8</Message>
  <ParentCardId>477330de-b552-44cb-b4b3-08809ec03a67</ParentCardId>
  <SubCardId>222c61af-be87-4f65-86ea-daaff870d66a</SubCardId>
  <amountChild>4.1</amountChild>
  <amountParent>3.1</amountParent>
  <childCurrencyId>6</childCurrencyId>
  <conversionRate>7.1</conversionRate>
  <parentCurrencyId>5</parentCurrencyId>
</TransferModelLoad>

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

Response Information

Resource Description

ResponseViewModel
NameDescriptionTypeAdditional information
Status

boolean

None.

StatusCode

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "StatusCode": 2,
  "Message": "sample string 3",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <Data />
  <Message>sample string 3</Message>
  <Status>true</Status>
  <StatusCode>2</StatusCode>
</ResponseViewModel>