Skip to main content
PUT
/
agent
/
exts
/
langCode
修改分机语音编码
curl --request PUT \
  --url https://sg.sobot.io/agent/exts/langCode \
  --header 'Authorization: Bearer <token>'
{
  "apiVersion": "",
  "status": "",
  "code": 0,
  "message": "",
  "reason": "",
  "kind": "",
  "metaData": {
    "creatorId": "",
    "creationTime": 0,
    "updateUserId": "",
    "updatedTime": 0
  },
  "data": {
    "creatorId": "",
    "creationTime": 0,
    "updateUserId": "",
    "updatedTime": 0,
    "pageSize": 0,
    "currPage": 0,
    "orderByName": "",
    "orderByASC": false,
    "partition": false,
    "startExt": "",
    "batchNum": 0,
    "enabled": 0,
    "extensions": {
      "": null
    },
    "companyId": "",
    "id": "",
    "ext": "",
    "password": "",
    "bindStatus": 0,
    "bindTime": 0,
    "agentUuid": "",
    "currentUsingAgentUuid": "",
    "agentName": "",
    "extType": 0,
    "domain": "",
    "ha1": "",
    "ha1b": "",
    "status": 0,
    "langCode": "",
    "langCodeTxt": ""
  },
  "retMsg": "",
  "retCode": ""
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Company-Id
string

公司ID

authorization
string
default:{{authorization}}

Query Parameters

agent
string

座席(座席工号或座席id)

agentType
string

座席类型(1表示座席id;0或不传值表示座席工号)

operator
string

操作人

ext
string
langCodeTxt
string

Response

200 - application/json