$moxi_works_agent_id
$moxi_works_agent_id : string
$status : \MoxiworksPlatform\string,
create(array $attributes = array()) : \MoxiworksPlatform\Task|null
Create a Task on The Moxi Works Platform <code> MoxiworksPlatform\Task::create([ moxi_works_agent_id: '123abc', partner_contact_id: '1234', partner_task_id: 'mySystemsTaskID', name: 'pick up keys', description: 'pick up keys from 1234 there ave', due_at: 1463595006, duration: 30]); </code>
array | $attributes |
if required parameters are not included
update(array $attributes = array()) : \MoxiworksPlatform\Task|null
Update a previously created Task on The Moxi Works Platform <code> MoxiworksPlatform\Task::update([ moxi_works_agent_id: '123abc', partner_contact_id: '1234', partner_task_id: 'mySystemsTaskID', name: 'pick up keys', description: 'pick up keys from 1234 there ave', due_at: 1463595006, duration: 30, status: 'completed', completed_at: 1463598765]); </code>
array | $attributes |
if required parameters are not included
find(array $attributes = array()) : \MoxiworksPlatform\Task|null
Find a previously created Task on Moxi Works Platform.
find can be performed including your system's task id and the Moxi Works Agent ID in a parameter array
\MoxiworksPlatform\Task::find([moxi_works_agent_id: 'abc123', partner_task_id: 'my_system_task_id'])
array | $attributes |
|
if required parameters are not included
search(array $attributes = array()) : Array
Search for Tasks between start/end date on Moxi Works Platform.
search can be performed by including due_date_start and due_date_end in a parameter array
\MoxiworksPlatform\Task::search([moxi_works_agent_id: 'abc123', date_start: 1463595006, date_end: 1463599996])
array | $attributes |
|
if required parameters are not included
if at least one search parameter is not defined
paged response array with the format: [ page_number: [Integer], total_pages: [Integer], tasks: [Array] containing MoxiworkPlatform\Task objects ]
save() : \MoxiworksPlatform\Task|null
Save Task to Moxi Works Platform
$task = MoxiworksPlatform\Task::find([
moxi_works_agent_id: '123abc']);
$task->search_city = 'Cityville';
$task->save();
sendRequest( $method, array $opts = array(), null $url = null) : \MoxiworksPlatform\Task|null
$method | ||
array | $opts | |
null | $url |
if required parameters are not included