POST api/business/backendRecharge

Request Information

URI Parameters

None.

Body Parameters

BackendRechargeModel
NameDescriptionTypeAdditional information
phone

string

None.

amount

decimal number

None.

setEmployeeNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "phone": "sample string 1",
  "amount": 2.0,
  "setEmployeeNumber": 3
}

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

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
success

boolean

None.

data

Object

None.

error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "data": {},
  "error": "sample string 3"
}