Wysyłanie
$conpeek.callme.send("<<params>>", "<<success_callback>>", "<<failure_callback>>");
Info
Send callme to specified target.
Fire success callback if request has been accepted.
Fire failure callback if request to call has been rejected.
Arguments
| Name | Type |
|---|---|
params |
OBJECT |
success_callback |
FUNCTION |
failure_callback |
FUNCTION |
params
| Name | Type |
|---|---|
target |
STRING |
contact_number |
STRING |
name |
STRING |
process_date |
STRING |
process_from_date |
STRING |
process_from_time |
INT |
process_time |
STRING |
process_to_date |
STRING |
process_to_time |
INT |
Example
$conpeek.callme.send({
target: "PK",
contact_number: "48790XXX100",
name: "John",
process_date: "RANGE",
process_from_date: "2019-06-11",
process_from_time: 43200,
process_time: "RANGE",
process_from_time: 43200,
process_to_time: 52000
}, function () { (...)
}, function () { (...)
});