分页查询
GET
/product_subscriptions/page
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
current
integer <int64>
当前页码
默认值:
1
示例值:
1
size
integer <int64>
分页大小
默认值:
20
示例值:
20
column
string
排序字段
示例值:
id
asc
boolean
排序规则
默认值:
true
示例值:
true
tenantId
integer
可选
productId
integer
可选
status
boolean
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:9000/product_subscriptions/page'
返回响应
🟢200成功
application/json
Body
No schema defined
示例
{
"records": [
{
"id": 0,
"productId": 0,
"tenantId": 0,
"users": 0,
"months": 0,
"licensePrice": 0.0,
"totalAmount": 0.0,
"discountAmount": 0.0,
"statementPrice": 0.0,
"statementAmount": 0.0,
"startTime": {
"seconds": 0,
"nanos": 0,
"epochSecond": 0,
"nano": 0
},
"endTime": {
"seconds": 0,
"nanos": 0,
"epochSecond": 0,
"nano": 0
},
"paymentStatus": "",
"description": "",
"createdName": "",
"createdTime": {
"seconds": 0,
"nanos": 0,
"epochSecond": 0,
"nano": 0
}
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": false
}
],
"optimizeCountSql": false,
"searchCount": false,
"optimizeJoinOfCountSql": false,
"maxLimit": 0,
"countId": "",
"pages": 0
}