查询策略模板

简要描述
  • 查询策略模板
请求URL
  • /as/strategyTemplate/page
请求方式
  • POST
参数
参数名 必选 类型 说明
type string 类型(1:企业;2:个人;3:渠道;4:地市;5:省份)
templateCode string 模板编码
engineType string 引擎
isDefault string 是否默认策略(1:是 0:否)
obstacle string 是否听障(0:非听障 1:听障)
返回示例
  {
    "data": {
        "content": [
            {
                "id": 3,
                "type": "1",
                "templateCode": "TIM111",
                "engineType": "direct_baidu",
                "functionCode": "LHTX",
                "firstAnswerCode": null,
                "firstAnswer": null,
                "voiceCode": null,
                "voice": null,
                "url": null,
                "flag": 0,
                "createTime": null,
                "updateTime": "2021-09-07T05:50:15.000+00:00",
                "isDefault": null,
                "obstacle": "0"
            },
            {
                "id": 2,
                "type": "1",
                "templateCode": "TIM111",
                "engineType": "direct_baidu",
                "functionCode": "ZNYD",
                "firstAnswerCode": "sssssssssss",
                "firstAnswer": "您好",
                "voiceCode": "vvvvvvv",
                "voice": "男声",
                "url": "http://www.baidu.com/",
                "flag": 0,
                "createTime": "2021-09-07T02:06:26.000+00:00",
                "updateTime": "2021-09-07T05:49:38.000+00:00",
                "isDefault": "1",
                "obstacle": "0"
            },
            {
                "id": 1,
                "type": "1",
                "templateCode": "TIM111",
                "engineType": "direct_baidu",
                "functionCode": "LYXX",
                "firstAnswerCode": null,
                "firstAnswer": null,
                "voiceCode": null,
                "voice": null,
                "url": null,
                "flag": 0,
                "createTime": "2021-08-30T09:36:36.000+00:00",
                "updateTime": "2021-09-07T05:50:14.000+00:00",
                "isDefault": null,
                "obstacle": "0"
            }
        ],
        "pageable": {
            "sort": {
                "sorted": true,
                "unsorted": false,
                "empty": false
            },
            "offset": 0,
            "pageNumber": 0,
            "pageSize": 10,
            "paged": true,
            "unpaged": false
        },
        "last": true,
        "totalPages": 1,
        "totalElements": 3,
        "number": 0,
        "size": 10,
        "first": true,
        "sort": {
            "sorted": true,
            "unsorted": false,
            "empty": false
        },
        "numberOfElements": 3,
        "empty": false
    },
    "message": "SUCCESS",
    "code": "0000"
}