POST api/Account/Transfer
Request Information
URI Parameters
None.
Body Parameters
TransferModelLoadName | Description | Type | Additional 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": "cc37b364-e71b-4a16-9c81-97814ec810ec", "SubCardId": "ecd5c41c-6e2c-47d5-93cd-42104f7c04a0", "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>cc37b364-e71b-4a16-9c81-97814ec810ec</ParentCardId> <SubCardId>ecd5c41c-6e2c-47d5-93cd-42104f7c04a0</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:
Response Information
Resource Description
ResponseViewModelName | Description | Type | Additional 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>