Polyv Help Center

Help Center

Information Collection Association Records

Updated: 2026-07-16 23:19:19

API Description

1、分页查询某个信息采集被业务关联的记录(如福袋、报名、登记等)
2、属于信息采集详情的一部分
3、接口支持https协议

API URL

http://api.polyv.net/live/v4/user/info-collection/binding/list

Online API Call

Request Method

GET

API Constraints

  1. The API supports both HTTP and HTTPS. HTTPS is recommended for security. API calls have frequency limits. See details

Request Parameter Description

Parameter Required Type Description
appId true String Account appId [See Get Secret Key]
timestamp true Long Current 13-digit millisecond timestamp, valid within 3 minutes
sign true String Signature, a 32-character uppercase MD5 value. The appSecret key used to generate the signature is critical for communication data security. It must not be stored or used directly on the client side. All APIs must be called through your own server to relay requests to the POLYV server for response data. [See Signature Generation Rules]
formId true Long Form ID, must belong to the current account
pageNumber false Integer Page number for query, default is 1
pageSize false Integer Number of items per page, default is 10

Example

http://api.polyv.net/live/v4/user/info-collection/binding/list?appId=xxx&sign=xxx&timestamp=xxx&formId=52&pageNumber=1&pageSize=10

Response Parameter Description

Parameter Type Description
code Integer Response status code, 200 for success, non-200 for failure [See Global Error Description]
status String Response status text
message String Response description, provides error details when code is 400 or 500
data Object Pagination object [See data Field Description]

data Field Description

Parameter Type Description
pageNumber Integer Current page number
pageSize Integer Items per page
totalItems Long Total number of items
totalPages Integer Total number of pages
contents Array List of association records [See contents Field Description]

contents Field Description

Parameter Type Description
bindingId Long Association record ID
formId Long Form ID
channelId Integer Channel number
businessType String Associated business type
ENROLL: Enrollment viewing
AUTH: Registration viewing
LUCKY_BAG: Lucky bag
OTHER: Other business
businessTypeDesc String Business type description in Chinese
businessId Long Associated business ID
businessName String Associated business name
status String Association status
Y: Active
N: Cancelled
submissionCount Integer Number of collected information entries under this association
createdTime String Creation time
lastModified String Last modification time

Java Request Example

For quick integration of basic code, download the relevant dependency source code. Click here to download the source code. After downloading, add it to your own source project. The test cases include HttpUtil.java and LiveSignUtil.java in the downloaded file.

It is strongly recommended to use the Live Java SDK for API integration. The Live Java SDK provides unified encapsulation and optimization for API call logic, exception handling, data signing, and HTTP request thread pooling.

private static final Logger log = LoggerFactory.getLogger(LiveInteractionTest.class);
/**
 * 信息采集关联记录
 * @throws IOException
 */
@Test
public void testListInfoCollectionBinding() throws IOException, NoSuchAlgorithmException {
    //公共参数,填写自己的实际参数
    String appId=super.appId;
    String appSecret=super.appSecret;
    String timestamp=String.valueOf(System.currentTimeMillis());
    //业务参数
    String formId = "52";
    String url = "http://api.polyv.net/live/v4/user/info-collection/binding/list";

    //http 调用逻辑
    Map<String,String> requestMap = new HashMap<>();
    requestMap.put("appId", appId);
    requestMap.put("timestamp",timestamp);
    requestMap.put("formId",formId);
    requestMap.put("pageNumber","1");
    requestMap.put("pageSize","10");
    requestMap.put("sign",LiveSignUtil.getSign(requestMap, appSecret));
    String response = HttpUtil.get(url,requestMap);

    log.info("测试信息采集关联记录接口返回值:{}",response);
    //do somethings
}

Response Example

For global error descriptions, see Global Error Description

Success Example

{
    "code": 200,
    "status": "success",
    "message": "",
    "data": {
        "pageNumber": 1,
        "pageSize": 10,
        "totalItems": 1,
        "totalPages": 1,
        "contents": [
            {
                "bindingId": 88,
                "formId": 52,
                "channelId": 7815326,
                "businessType": "LUCKY_BAG",
                "businessTypeDesc": "福袋",
                "businessId": 1001,
                "businessName": "7815326-新年福袋",
                "status": "Y",
                "submissionCount": 5,
                "createdTime": "2026-07-01 12:00:00",
                "lastModified": "2026-07-01 12:00:00"
            }
        ]
    }
}

Error Example

{
    "code": 400,
    "status": "error",
    "message": "invalid signature.",
    "data": ""
}
联系客服,在线咨询