This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:custom_development_guide:apis:webservice:consult [2016/09/05 06:55] – created liuxl | en:custom_development_guide:apis:webservice:consult [2019/01/03 06:12] (current) – donnie | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| *Function: | *Function: | ||
| - | <code.consult(targetdn, | + | <code>consult(targetdn, |
| *Description: | *Description: | ||
| Line 9: | Line 9: | ||
| *Parameters: | *Parameters: | ||
| - | ^ Params ^ Type ^ Description | + | ^ Params ^ Type ^ Description |
| |targetdn|String|Agent No. (internal consult) or phone number (external consult)| | |targetdn|String|Agent No. (internal consult) or phone number (external consult)| | ||
| |agentgroupid|String|agent group id when it’s a internal consult, put 0 if it’s a external consult| | |agentgroupid|String|agent group id when it’s a internal consult, put 0 if it’s a external consult| | ||
| |consulttype|String|internal / external| | |consulttype|String|internal / external| | ||
| - | |agentuniqueid|String|agent uniqueid of the agent| | ||
| - | |calleruniqueid|String|uniqueid of the caller| | ||
| |pwdtype|String|Use plaintext or md5 password for agent or account| | |pwdtype|String|Use plaintext or md5 password for agent or account| | ||
| |password|String|password| | |password|String|password| | ||
| Line 22: | Line 20: | ||
| *Return Format: | *Return Format: | ||
| - | |Return|code|Return|message | + | < |
| *Type of the Return Value: String | *Type of the Return Value: String | ||
| Line 28: | Line 26: | ||
| ^ Value ^ Description ^ | ^ Value ^ Description ^ | ||
| - | |< | + | |< |
| - | |< | + | |< |