POST api/SubCard/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": "c498fdf5-7f7e-40dc-a980-06e7f7fc6f83", "SubCardId": "68326847-fb7a-452d-a133-3aa78d494b8f", "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>c498fdf5-7f7e-40dc-a980-06e7f7fc6f83</ParentCardId> <SubCardId>68326847-fb7a-452d-a133-3aa78d494b8f</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>