POST api/Vend/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

rqst_vend
NameDescriptionTypeAdditional information
session_id

string

None.

user_id

integer

None.

reseller_type

integer

None.

tp

integer

None.

send_sms

integer

None.

page_no

integer

None.

request_amount

decimal number

None.

meter_no

string

None.

mobile_no

string

None.

request_date

string

None.

transaction_ref

string

None.

last_dt

string

None.

Request Formats

application/json, text/json

Sample:
{
  "session_id": "sample string 1",
  "user_id": 2,
  "reseller_type": 3,
  "tp": 4,
  "send_sms": 5,
  "page_no": 6,
  "request_amount": 7.0,
  "meter_no": "sample string 8",
  "mobile_no": "sample string 9",
  "request_date": "sample string 10",
  "transaction_ref": "sample string 11",
  "last_dt": "sample string 12"
}

application/xml, text/xml

Sample:
<rqst_vend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ruvick_3rd_Party.Models.request">
  <last_dt>sample string 12</last_dt>
  <meter_no>sample string 8</meter_no>
  <mobile_no>sample string 9</mobile_no>
  <page_no>6</page_no>
  <request_amount>7</request_amount>
  <request_date>sample string 10</request_date>
  <reseller_type>3</reseller_type>
  <send_sms>5</send_sms>
  <session_id>sample string 1</session_id>
  <tp>4</tp>
  <transaction_ref>sample string 11</transaction_ref>
  <user_id>2</user_id>
</rqst_vend>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.