POST api/Account/SendMessage

Request Information

URI Parameters

None.

Body Parameters

MsgInfo
NameDescriptionTypeAdditional information
SenderName

string

None.

BeneficiaryName

string

None.

AmountWithCurrency

string

None.

SourceBank

string

None.

MsgTypeID

integer

None.

ReceipientMobileNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SenderName": "sample string 1",
  "BeneficiaryName": "sample string 2",
  "AmountWithCurrency": "sample string 3",
  "SourceBank": "sample string 4",
  "MsgTypeID": 5,
  "ReceipientMobileNumber": "sample string 6"
}

application/xml, text/xml

Sample:
<MsgInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models">
  <AmountWithCurrency>sample string 3</AmountWithCurrency>
  <BeneficiaryName>sample string 2</BeneficiaryName>
  <MsgTypeID>5</MsgTypeID>
  <ReceipientMobileNumber>sample string 6</ReceipientMobileNumber>
  <SenderName>sample string 1</SenderName>
  <SourceBank>sample string 4</SourceBank>
</MsgInfo>

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

Response Information

Resource Description

OperationResultViewModel
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorNumber

integer

None.

Status

string

None.

ErrorMsgUser

string

None.

AlreadyExists

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorNumber": 2,
  "Status": "sample string 3",
  "ErrorMsgUser": "sample string 4",
  "AlreadyExists": true
}

application/xml, text/xml

Sample:
<OperationResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models">
  <AlreadyExists>true</AlreadyExists>
  <ErrorMsgUser>sample string 4</ErrorMsgUser>
  <ErrorNumber>2</ErrorNumber>
  <Status>sample string 3</Status>
  <Success>true</Success>
</OperationResultViewModel>