POST api/Rechargenow

Prepaid and Dth Recharge pass "Token" in Header

Request Information

URI Parameters

None.

Body Parameters

LstRechargeRequestInsert
NameDescriptionTypeAdditional information
Amount

Recharge Amount

string

None.

Operator

Operator ID

integer

None.

mobileno

mobileno

string

None.

CustomNumber

CustomNumber other case

string

None.

transID

transID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": "sample string 1",
  "Operator": 2,
  "mobileno": "sample string 3",
  "CustomNumber": "sample string 4",
  "transID": "sample string 5"
}

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

Response Information

Resource Description

ResponceRecharge
NameDescriptionTypeAdditional information
Error

Error in True and false

string

None.

Message

Responace Error Message

string

None.

Data

Responce Data in object or List

RechargenewResponce

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": "sample string 1",
  "Message": "sample string 2",
  "Data": {
    "transid": "sample string 1",
    "status": "sample string 2",
    "operatorref": "sample string 3",
    "operatormsg": "sample string 4",
    "message": "sample string 5",
    "Mobileno": "sample string 6",
    "APITransID": 7
  }
}