Description
Gets the specified Sub-Reseller's Greedy Transactions along with their details.
Parameters
Name | Data Type | Required / Optional | Description |
---|---|---|---|
auth-userid | Integer | Required | Authentication Parameter |
api-key | String | Required | Authentication Parameter |
reseller-id | Integer | Required | Reseller Id of the Sub-Reseller whose Greedy Transactions are to be fetched |
HTTP Method
GET
Example Test URL Request
https://test.httpapi.com/api/billing/reseller-greedy-transactions.xml?auth-userid=0&api-key-key&reseller-id=0
Response
Returns a hash map of Sub-Reseller's Transactions containing the below details:
-
Transaction Id (reseller_transaction.transid)
-
Transaction Date (reseller_transaction.transactiondate)
-
Transaction Type (reseller_transaction.type)
-
Transaction Description (reseller_transaction.description)
-
Whether Transaction is Greedy (greedy)
-
Sub-Reseller Id Associated with the Transaction (reseller_transaction.resellerid)
-
Selling Currency Symbol of the Parent Reseller (reseller_transaction.sellingcurrencysymbol)
-
Transaction Amount in the Selling Currency (reseller_transaction.sellingamount)
-
Unutilised Transaction Amount in the Selling Currency (reseller_transaction.unutilisedsellingamount)
-
Accounting Currency Symbol of the Parent Reseller (reseller_transaction.accountingcurrencysymbol)
-
Transaction Amount in the Accounting Currency (reseller_transaction.accountingamount)
-
Unutilised Transaction Amount in the Accounting Currency (reseller_transaction.unutilisedaccountingamount)
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.