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. |
Request Formats
application/json, text/json
Sample:
{ "ParentCardId": "fd344b81-b488-4201-aec2-2843d5e4cab8", "SubCardId": "b8e07912-2f24-4e22-8be8-a1062679b8e1", "amountParent": 3.1, "amountChild": 4.1, "parentCurrencyId": 5, "childCurrencyId": 6, "conversionRate": 7.1 }
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"> <ParentCardId>fd344b81-b488-4201-aec2-2843d5e4cab8</ParentCardId> <SubCardId>b8e07912-2f24-4e22-8be8-a1062679b8e1</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>