This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:custom_development_guide:apis:http:import [2018/12/29 09:51] donnie |
en:custom_development_guide:apis:http:import [2019/01/03 07:19] (current) donnie |
||
|---|---|---|---|
| Line 53: | Line 53: | ||
| ex: when you don't have field phone_field,priority_field,dialtime_field, it looks like | ex: when you don't have field phone_field,priority_field,dialtime_field, it looks like | ||
| - | importWS(orgidentity,usertype,user,pwdtype,password,modeltype,model_id,source, context,source_user,source_pwd,exetime,delrow, '', '', '',emptyagent, resetstatus, dupway, dupdiallist, changepackage) | + | EVENT=Import&orgidentity=orgidentity&usertype=usertype&user=user&pwdtype=pwdtype&password=password&modeltype=modeltype& |
| + | model_id=model_id&source=source&context=context&source_user=source_user&source_pwd=source_pwd&exetime=exetime& | ||
| + | delrow=delrow**&phone_field=&priority_field=&dialtime_field=**&emptyagent=emptyagent&resetstatus=resetstatus& | ||
| + | dupway=dupway&dupdiallist=dupdiallist&changepackage=changepackage | ||
| </note> | </note> | ||
| Line 62: | Line 65: | ||
| </code> | </code> | ||
| - | * Type of the Return Value:JSON | + | * Type of the Return Value:String |
| * Return Values: | * Return Values: | ||
| ^ Value ^ Description ^ | ^ Value ^ Description ^ | ||
| - | |<code>|Retuen|1|Retuen|message</code>|<code>|Return|succeed|Return|message:when import from http or ftp, it gives import job id, or else it return a message</code>| | + | |<code>|Retuen|1|Retuen|message</code>|<code>|Retuen|succeed|Retuen|message:when import from http or ftp, it gives import job id, or else it return a message</code>| |
| |<code>|Retuen|2|Retuen|message</code>|<code>|Retuen|failed|Retuen|message</code>| | |<code>|Retuen|2|Retuen|message</code>|<code>|Retuen|failed|Retuen|message</code>| | ||