GET api/Vend
Request Information
URI Parameters
None.
Body Parameters
rqst_vendName | Description | Type | Additional 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
rslts_vendName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
transaction_ref | string |
None. |
|
transaction_duration | string |
None. |
|
general_msg | string |
None. |
|
purchase_transaction_results | purchase_results |
None. |
|
reprint_transaction_results | Collection of purchase_results_reprint |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "sample string 1", "transaction_ref": "sample string 2", "transaction_duration": "sample string 3", "general_msg": "sample string 4", "purchase_transaction_results": { "vend_status": "sample string 1", "meter_no": "sample string 2", "meter_type": "sample string 3", "received_amount": 4.0, "purchase_amount": 5.0, "units_purchased": 6.1, "unit_measure": "sample string 7", "generated_token": "sample string 8", "generated_token1": "sample string 9", "generated_token2": "sample string 10", "generated_subsidy_token": "sample string 11", "subsidy_credit": 12.1, "transaction_fees": 13.0, "service_fees": 14.0, "debt_collection_amount": 15.0, "vat_amount": 16.0, "credit_amount": 17.0, "tariff_index": 18, "transaction_time": "sample string 19", "purchase_summary": "sample string 20" }, "reprint_transaction_results": [ { "id": 1, "vend_status": "sample string 2", "meter_no": "sample string 3", "meter_type": "sample string 4", "received_amount": 5.0, "purchase_amount": 6.0, "units_purchased": 7.1, "unit_measure": "sample string 8", "generated_token": "sample string 9", "generated_token1": "sample string 10", "generated_token2": "sample string 11", "generated_subsidy_token": "sample string 12", "subsidy_credit": 13.1, "transaction_fees": 14.0, "service_fees": 15.0, "debt_collection_amount": 16.0, "vat_amount": 17.0, "credit_amount": 18.0, "tariff_index": 19, "transaction_time": "sample string 20", "purchase_summary": "sample string 21", "transaction_message": "sample string 22", "transaction_ref": "sample string 23" }, { "id": 1, "vend_status": "sample string 2", "meter_no": "sample string 3", "meter_type": "sample string 4", "received_amount": 5.0, "purchase_amount": 6.0, "units_purchased": 7.1, "unit_measure": "sample string 8", "generated_token": "sample string 9", "generated_token1": "sample string 10", "generated_token2": "sample string 11", "generated_subsidy_token": "sample string 12", "subsidy_credit": 13.1, "transaction_fees": 14.0, "service_fees": 15.0, "debt_collection_amount": 16.0, "vat_amount": 17.0, "credit_amount": 18.0, "tariff_index": 19, "transaction_time": "sample string 20", "purchase_summary": "sample string 21", "transaction_message": "sample string 22", "transaction_ref": "sample string 23" } ] }
application/xml, text/xml
Sample:
<rslts_vend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ruvick_3rd_Party.Models.results"> <general_msg>sample string 4</general_msg> <purchase_transaction_results> <credit_amount>17</credit_amount> <debt_collection_amount>15</debt_collection_amount> <generated_subsidy_token>sample string 11</generated_subsidy_token> <generated_token>sample string 8</generated_token> <generated_token1>sample string 9</generated_token1> <generated_token2>sample string 10</generated_token2> <meter_no>sample string 2</meter_no> <meter_type>sample string 3</meter_type> <purchase_amount>5</purchase_amount> <purchase_summary>sample string 20</purchase_summary> <received_amount>4</received_amount> <service_fees>14</service_fees> <subsidy_credit>12.1</subsidy_credit> <tariff_index>18</tariff_index> <transaction_fees>13</transaction_fees> <transaction_time>sample string 19</transaction_time> <unit_measure>sample string 7</unit_measure> <units_purchased>6.1</units_purchased> <vat_amount>16</vat_amount> <vend_status>sample string 1</vend_status> </purchase_transaction_results> <reprint_transaction_results> <purchase_results_reprint> <credit_amount>18</credit_amount> <debt_collection_amount>16</debt_collection_amount> <generated_subsidy_token>sample string 12</generated_subsidy_token> <generated_token>sample string 9</generated_token> <generated_token1>sample string 10</generated_token1> <generated_token2>sample string 11</generated_token2> <id>1</id> <meter_no>sample string 3</meter_no> <meter_type>sample string 4</meter_type> <purchase_amount>6</purchase_amount> <purchase_summary>sample string 21</purchase_summary> <received_amount>5</received_amount> <service_fees>15</service_fees> <subsidy_credit>13.1</subsidy_credit> <tariff_index>19</tariff_index> <transaction_fees>14</transaction_fees> <transaction_message>sample string 22</transaction_message> <transaction_ref>sample string 23</transaction_ref> <transaction_time>sample string 20</transaction_time> <unit_measure>sample string 8</unit_measure> <units_purchased>7.1</units_purchased> <vat_amount>17</vat_amount> <vend_status>sample string 2</vend_status> </purchase_results_reprint> <purchase_results_reprint> <credit_amount>18</credit_amount> <debt_collection_amount>16</debt_collection_amount> <generated_subsidy_token>sample string 12</generated_subsidy_token> <generated_token>sample string 9</generated_token> <generated_token1>sample string 10</generated_token1> <generated_token2>sample string 11</generated_token2> <id>1</id> <meter_no>sample string 3</meter_no> <meter_type>sample string 4</meter_type> <purchase_amount>6</purchase_amount> <purchase_summary>sample string 21</purchase_summary> <received_amount>5</received_amount> <service_fees>15</service_fees> <subsidy_credit>13.1</subsidy_credit> <tariff_index>19</tariff_index> <transaction_fees>14</transaction_fees> <transaction_message>sample string 22</transaction_message> <transaction_ref>sample string 23</transaction_ref> <transaction_time>sample string 20</transaction_time> <unit_measure>sample string 8</unit_measure> <units_purchased>7.1</units_purchased> <vat_amount>17</vat_amount> <vend_status>sample string 2</vend_status> </purchase_results_reprint> </reprint_transaction_results> <status>sample string 1</status> <transaction_duration>sample string 3</transaction_duration> <transaction_ref>sample string 2</transaction_ref> </rslts_vend>