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.

data

Object

None.

UserProgress

UserProgressResponse

None.

TOKEN

string

None.

TokenType

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorNumber": 2,
  "Status": "sample string 3",
  "ErrorMsgUser": "sample string 4",
  "AlreadyExists": true,
  "data": {},
  "UserProgress": {
    "UserProgress": {
      "ID": 1,
      "Stage": "sample string 2",
      "Screen": "sample string 3",
      "Action": "sample string 4",
      "Color": "sample string 5",
      "StartPercentage": "sample string 6",
      "EndPercentage": "sample string 7",
      "TotalPercentage": "sample string 8",
      "SectionId": 1,
      "SectionTotalPercentage": 1,
      "UserId": "fad72a9a-33a2-4a5a-b3af-ef6f95afe21d"
    },
    "Sections": [
      {
        "SectionId": 1,
        "SectionTotalPercentage": 1
      },
      {
        "SectionId": 1,
        "SectionTotalPercentage": 1
      }
    ]
  },
  "TOKEN": "sample string 7",
  "TokenType": "sample string 8"
}

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>
  <TOKEN>sample string 7</TOKEN>
  <TokenType>sample string 8</TokenType>
  <UserProgress xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
    <d2p1:Sections>
      <d2p1:Sections>
        <d2p1:SectionId>1</d2p1:SectionId>
        <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage>
      </d2p1:Sections>
      <d2p1:Sections>
        <d2p1:SectionId>1</d2p1:SectionId>
        <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage>
      </d2p1:Sections>
    </d2p1:Sections>
    <d2p1:UserProgress>
      <d2p1:Action>sample string 4</d2p1:Action>
      <d2p1:Color>sample string 5</d2p1:Color>
      <d2p1:EndPercentage>sample string 7</d2p1:EndPercentage>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:Screen>sample string 3</d2p1:Screen>
      <d2p1:SectionId>1</d2p1:SectionId>
      <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage>
      <d2p1:Stage>sample string 2</d2p1:Stage>
      <d2p1:StartPercentage>sample string 6</d2p1:StartPercentage>
      <d2p1:TotalPercentage>sample string 8</d2p1:TotalPercentage>
      <d2p1:UserId>fad72a9a-33a2-4a5a-b3af-ef6f95afe21d</d2p1:UserId>
    </d2p1:UserProgress>
  </UserProgress>
  <data />
</OperationResultViewModel>