POST MPOS/api/mPos/mPosInfo

Request Information

URI Parameters

None.

Body Parameters

mPosModel
NameDescriptionTypeAdditional information
message

string

None.

transtype

string

None.

amount

string

None.

reqid

string

None.

Devicetoken

string

None.

Latitude

string

None.

Longitude

string

None.

ModelNo

string

None.

City

string

None.

PostalCode

string

None.

InternetTYPE

string

None.

Address

string

None.

IPAddress

string

None.

value1

string

None.

value2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "transtype": "sample string 2",
  "amount": "sample string 3",
  "reqid": "sample string 4",
  "Devicetoken": "sample string 5",
  "Latitude": "sample string 6",
  "Longitude": "sample string 7",
  "ModelNo": "sample string 8",
  "City": "sample string 9",
  "PostalCode": "sample string 10",
  "InternetTYPE": "sample string 11",
  "Address": "sample string 12",
  "IPAddress": "sample string 13",
  "value1": "sample string 14",
  "value2": "sample string 15"
}

application/xml, text/xml

Sample:
<mPosModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models">
  <Address>sample string 12</Address>
  <City>sample string 9</City>
  <Devicetoken>sample string 5</Devicetoken>
  <IPAddress>sample string 13</IPAddress>
  <InternetTYPE>sample string 11</InternetTYPE>
  <Latitude>sample string 6</Latitude>
  <Longitude>sample string 7</Longitude>
  <ModelNo>sample string 8</ModelNo>
  <PostalCode>sample string 10</PostalCode>
  <amount>sample string 3</amount>
  <message>sample string 1</message>
  <reqid>sample string 4</reqid>
  <transtype>sample string 2</transtype>
  <value1>sample string 14</value1>
  <value2>sample string 15</value2>
</mPosModel>

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

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.