POST api/Account/AddBankCardTopup

Request Information

URI Parameters

None.

Body Parameters

BankCardTopupViewModel
NameDescriptionTypeAdditional information
BankCardProcessID

globally unique identifier

None.

CurrencyCountryID

string

None.

ID

globally unique identifier

None.

UserID

globally unique identifier

None.

Amount

decimal number

None.

AdditionalAmount

decimal number

None.

DateProcessed

date

None.

SourcePaymentID

integer

None.

Description

string

None.

TransactionID

string

None.

DateCreated

date

None.

LoadAmount

decimal number

None.

LoadAdditionalAmount

decimal number

None.

LoadCurrencyCountryID

string

None.

LoadTransactionID

string

None.

LoadMarkup

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "BankCardProcessID": "b086a4e8-979a-4784-9ed1-3b27aaa3dfa5",
  "CurrencyCountryID": "sample string 2",
  "ID": "cda8fd0c-7cdd-4ec4-9995-f2e456e48201",
  "UserID": "ee010d72-edd5-4ba1-b009-e5e1415078a6",
  "Amount": 5.1,
  "AdditionalAmount": 6.1,
  "DateProcessed": "2021-09-15T15:29:53.2687006+00:00",
  "SourcePaymentID": 7,
  "Description": "sample string 8",
  "TransactionID": "sample string 9",
  "DateCreated": "2021-09-15T15:29:53.2687006+00:00",
  "LoadAmount": 11.1,
  "LoadAdditionalAmount": 12.1,
  "LoadCurrencyCountryID": "sample string 13",
  "LoadTransactionID": "sample string 14",
  "LoadMarkup": 15.1
}

application/xml, text/xml

Sample:
<BankCardTopupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <AdditionalAmount>6.1</AdditionalAmount>
  <Amount>5.1</Amount>
  <BankCardProcessID>b086a4e8-979a-4784-9ed1-3b27aaa3dfa5</BankCardProcessID>
  <CurrencyCountryID>sample string 2</CurrencyCountryID>
  <DateCreated>2021-09-15T15:29:53.2687006+00:00</DateCreated>
  <DateProcessed>2021-09-15T15:29:53.2687006+00:00</DateProcessed>
  <Description>sample string 8</Description>
  <ID>cda8fd0c-7cdd-4ec4-9995-f2e456e48201</ID>
  <LoadAdditionalAmount>12.1</LoadAdditionalAmount>
  <LoadAmount>11.1</LoadAmount>
  <LoadCurrencyCountryID>sample string 13</LoadCurrencyCountryID>
  <LoadMarkup>15.1</LoadMarkup>
  <LoadTransactionID>sample string 14</LoadTransactionID>
  <SourcePaymentID>7</SourcePaymentID>
  <TransactionID>sample string 9</TransactionID>
  <UserID>ee010d72-edd5-4ba1-b009-e5e1415078a6</UserID>
</BankCardTopupViewModel>

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

Response Information

Resource Description

OperationStatusOfBankCardTopupViewModel
NameDescriptionTypeAdditional information
Result

BankCardTopupViewModel

None.

HasNoData

boolean

None.

ErrorMsg

string

None.

Succeeded

boolean

None.

AlreadyExists

boolean

None.

NotFound

boolean

None.

Error

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "BankCardProcessID": "8b923acb-9334-4833-95d4-21e39c78acc6",
    "CurrencyCountryID": "sample string 2",
    "ID": "c2a104e1-7aa1-42fe-833f-c3b5ab699a5d",
    "UserID": "6babc527-a7ee-42e2-b1a7-ee1daec6bad2",
    "Amount": 5.1,
    "AdditionalAmount": 6.1,
    "DateProcessed": "2021-09-15T15:29:53.2687006+00:00",
    "SourcePaymentID": 7,
    "Description": "sample string 8",
    "TransactionID": "sample string 9",
    "DateCreated": "2021-09-15T15:29:53.2687006+00:00",
    "LoadAmount": 11.1,
    "LoadAdditionalAmount": 12.1,
    "LoadCurrencyCountryID": "sample string 13",
    "LoadTransactionID": "sample string 14",
    "LoadMarkup": 15.1
  },
  "HasNoData": true,
  "ErrorMsg": "sample string 2",
  "Succeeded": true,
  "AlreadyExists": true,
  "NotFound": true,
  "Error": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

application/xml, text/xml

Sample:
<OperationStatusOfBankCardTopupViewModels25BU49F xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <AlreadyExists>true</AlreadyExists>
  <Error xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Error>
  <ErrorMsg>sample string 2</ErrorMsg>
  <HasNoData>true</HasNoData>
  <NotFound>true</NotFound>
  <Result>
    <AdditionalAmount>6.1</AdditionalAmount>
    <Amount>5.1</Amount>
    <BankCardProcessID>8b923acb-9334-4833-95d4-21e39c78acc6</BankCardProcessID>
    <CurrencyCountryID>sample string 2</CurrencyCountryID>
    <DateCreated>2021-09-15T15:29:53.2687006+00:00</DateCreated>
    <DateProcessed>2021-09-15T15:29:53.2687006+00:00</DateProcessed>
    <Description>sample string 8</Description>
    <ID>c2a104e1-7aa1-42fe-833f-c3b5ab699a5d</ID>
    <LoadAdditionalAmount>12.1</LoadAdditionalAmount>
    <LoadAmount>11.1</LoadAmount>
    <LoadCurrencyCountryID>sample string 13</LoadCurrencyCountryID>
    <LoadMarkup>15.1</LoadMarkup>
    <LoadTransactionID>sample string 14</LoadTransactionID>
    <SourcePaymentID>7</SourcePaymentID>
    <TransactionID>sample string 9</TransactionID>
    <UserID>6babc527-a7ee-42e2-b1a7-ee1daec6bad2</UserID>
  </Result>
  <Succeeded>true</Succeeded>
</OperationStatusOfBankCardTopupViewModels25BU49F>