媒资单片:根据AID和source批量查询
POST
/v1/asset/goods/listByAidAndSource
AssetController
请求参数
Body 参数application/json
媒资单片查询
aids
array[integer <int64>]
批量AID查询条件
>= 1 items<= 2147483647 items
sources
array[integer <int64>]
必需
>= 1 items<= 2147483647 items
示例
{
"aids": [
0
],
"sources": [
0
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testgateway.dangbei.net/v1/asset/goods/listByAidAndSource' \
--header 'Content-Type: application/json' \
--data-raw '{
"aids": [
0
],
"sources": [
0
]
}'
返回响应
🟢200OK
application/json
Body
success
boolean
可选
errCode
string
可选
errMessage
string
可选
requestId
string
可选
data
array[object (AssetGoodsTvodCo) {12}]
可选
createTime
integer <int64>
创建时间
updateTime
integer <int64>
更新时间
id
integer <int64>
可选
aid
integer <int64>
影片Id
iqiyiid
string
爱奇艺Id
source
integer <int64>
来源
discount
integer <int64>
可选
price
number
原价格
vipPrice
number
会员价
indate
string
可选
desc
string
详情
status
integer <int32>
可选
示例
{
"success": true,
"errCode": "string",
"errMessage": "string",
"requestId": "string",
"data": [
{
"createTime": 0,
"updateTime": 0,
"id": 0,
"aid": 0,
"iqiyiid": "string",
"source": 0,
"discount": 0,
"price": 0,
"vipPrice": 0,
"indate": "string",
"desc": "string",
"status": 0
}
]
}
🟠400Bad Request
🔴500Internal Server Error