文档
测试

计费规则

POST
http://192.168.0.103:8079/device/billingrules/billingrules

请求头

参数名
类型
描述
必填
token
string
示例:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiI0NTQ0MTk3OTI1OTk3MTQyMDE2IiwiaWF0IjoxNTk2MTkxOTQyLCJleHAiOjE1OTY0OTE5NDJ9._5sGKitEnAKJ4IR9lVEIsPUTFnJZ46Okr7Km8moHWBleWHzCM6_MaoJMB_WbpezObef2ZJx2TQwOiEr3tQtiVA
必填

请求参数

参数名
类型
描述
必填
deviceNumber
string
示例:111111
必填
platformType
int
示例:0
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:success
必填
data
object
数据字典
必填
rulesDetails
object
数据字典
必填
deposit
int
示例:1
必填
list
array
数据列表
必填
unitPrice
int
示例:1
必填
freeDuration
int
示例:10
必填
duration
int
示例:10
必填
maxMoney
int
示例:10
必填
startDate
object
示例:null
必填
endDate
object
示例:null
必填
billingRulesDTO
object
数据字典
必填
id
string
示例:1
必填
rulesDetails
string
示例:{"deposit":1,"list":[{"unitPrice":1,"duration":10,"freeDuration":10,"maxMoney":10},{"unitPrice":2,"duration":20,"endDate":"18:00","freeDuration":20,"startDate":"6:00","maxMoney":20}]}
必填
introduction
string
示例:介费规则介绍
必填
productId
string
示例:111
必填
deptId
string
示例:111
必填
creator
object
示例:null
必填
createDate
object
示例:null
必填
updater
object
示例:null
必填
updateDate
object
示例:null
必填

说明 / 示例

/** * 单价 */ private BigDecimal unitPrice; /** * 免费时长 */ private int freeDuration; /** * 收费标准(单位:分钟) */ private int duration; /** * 封顶金额 */ private BigDecimal maxMoney; /** * 开始时段 */ private String startDate; /** * 结束时段 */ private String endDate;