来自ID开放平台
customer/get_site
获取指定的接入站点信息
URL
https://api.10000.com/customer/get_site
HTTP请求方式
GET
请求参数
| 必选 | 类型及范围 | 说明 | |
|---|---|---|---|
| client_id | true | string | 申请应用时分配的AppKey。 |
| access_token | true | string | 采用OAuth授权方式为必填参数,OAuth授权后获得。 |
| coid | true | integer | 需要查询的企业ID。 |
| site_id | true | integer | 需要查询的站点ID。 |
返回数据
| 返回值字段 | 字段类型 | 字段说明 |
|---|---|---|
| coid | integer | 企业ID |
| name | string | 企业姓名 |
| host | string | 域名 |
| themes_id | integer | 主题ID |
| gids | string | 客服分组ID,多个以英文,分割 |
| state | integer | 状态:0关闭,1开启 |
| create_time | integer | 创建时间戳 |
| welcome | string | 默认欢迎语 |
| reply_text | string | 默认回复 |
| tel | string | 咨询电话 |
| intro | string | 公司简介 |
| contact | string | 联系方式 |
| shop_url | string | 商品接口网址 |
{
"coid": "10123",
"name": "test",
"host": "http://www.example.com",
"themes_id": "0",
"gids": "15",
"state": "1",
"create_time": "1389320062",
"welcome": "欢迎光临",
"reply_text": "默认回复",
"tel": "1385000111",
"intro": "简介",
"contact": "联系方式",
"shop_url": "http://www.example.com/callback"
}