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": "2ea88c47-3b33-4416-a960-960ac986bb5e", "SubCardId": "4dea8971-7f0c-49aa-ae9a-7d9a001cd553", "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>2ea88c47-3b33-4416-a960-960ac986bb5e</ParentCardId> <SubCardId>4dea8971-7f0c-49aa-ae9a-7d9a001cd553</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>