# 预测式外呼 - 获取预测任务客户详情信息

#### 接口说明

获取预测式外呼客户详情信息

#### 请求参数

| 参数名 | 类型 | 是否必须 | 说明 |
| --- | --- | --- | --- |
| service | string | 是 | App.Sip\_Customer.GetTaskDetailInfo|
| token | string | 是 | 通过授权接口获取的token |
| taskid | string | 是 | 任务ID |
| currentpage | int | 否 | 当前页 |
| itemsperpage | int | 否 | 每页显示 |
#### 接口请求示例（PHP）

    <?php
        $apiUrl = 'http://127.0.0.1:8080';
        $postFields = [
            'service'   => 'App.Sip_Customer.GetTaskDetailInfo',
            'token'     => 'ABCDEFG',
            'taskid'     => 'taskid',
			'telphone' =>'121212121',
        ];
        $curl = curl_init();
        curl_setopt($curl, CURLOPT_URL, $apiUrl);
        curl_setopt($curl, CURLOPT_POST, 1);
        curl_setopt($curl, CURLOPT_POSTFIELDS, $postFields);
        curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
        $response = curl_exec($curl);
        $curlError = curl_error($curl);
        curl_close($curl);
        var_dump($response);
    ?>
    

#### 返回数据结构示例

    {
        "ret": 200,
        "data": {
            "status": 0,
            "desc": "获取成功",
            "result": {
            "totalitems": 1,
            "currentpage": 1,
            "itemsperpage": 10,
            "result": [
            	{
                 "taskid": "20250117190748084244",
                 "telphone": "081381300209",
                 "telname": "阿三2",
                 "sex": "男",
                 "age": "18",
                 "chengshudu": "",
                 "mark": "2222",
                 "taskname": "test6"
                }
           ],
        },
            "reqtime": 1581496504,
            "rsptime": 1581496504
        },
        "msg": ""
    }
    

#### 返回参数说明

| 参数名 | 类型 | 说明 |
| --- | --- | --- |
| result | object | 返回结果 |