Overview
The following operations allow you to work with reminders. Click an operation name to see details on how to use it.
For a sample proxy service that illustrates how to work with reminders, see Sample configuration.
Operation | Description |
---|---|
Creates a reminder on an object. | |
getReminder | Retrieves the reminder details. |
Operation details
This section provides further details on the operations related to reminders.
Creating a reminder on an object
The createReminder
operation creates a reminder on an object.
<podio.createReminder> <refId>{$ctx:refId}</refId> <remindDelta>{$ctx:remindDelta}</remindDelta> <refType>{$ctx:refType}</refType> </podio.createReminder>
Properties
The ID of the object the reminder is on.refId:
The number of minutes to remind before the due date of the object.remindDelta:
The type of the object the reminder is on.refType:
Sample request
Following is a sample REST/JSON request that can be handled by the createReminder
operation.
{ "apiUrl": "https://api.podio.com", "accessToken": "d562991e24ef4eca9e3adfe2afe31550", "refType": "task", "refId": "28856457", "remindDelta":"11" }
Related Podio Documentation
https://developers.podio.com/doc/reminders/create-or-update-reminder-3315055
Retrieving the reminder details
The
operation retrieves the reminder details for the given object.getReminder
<podio.getReminder> <refId>{$ctx:refId}</refId> <refType>{$ctx:refType}</refType> </podio.getReminder>
Properties
The ID of the object the reminder is on.refId:
The type of the object the reminder is on.refType:
Sample request
Following is a sample REST/JSON request that can be handled by the
operation.getReminder
{ "apiUrl": "https://api.podio.com", "accessToken": "d562991e24ef4eca9e3adfe2afe31550", "refType": "task", "refId": "28856457" }
Related Podio Documentation
https://developers.podio.com/doc/reminders/get-reminder-3415569
Sample configuration
Following is a sample proxy service that illustrates how to connect to Podio with the init
operation and use the
operation. The sample request for this proxy can be found in the createReminder sample request. You can use this sample as a template for using other operations in this category.createReminder
<?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="podio_createReminder" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence onError="faultHandlerSeq"> <property name="apiUrl" expression="json-eval($.apiUrl)" /> <property name="accessToken" expression="json-eval($.accessToken)" /> <property name="refType" expression="json-eval($.refType)" /> <property name="refId" expression="json-eval($.refId)" /> <property name="remindDelta" expression="json-eval($.remindDelta)" /> <podio.init> <apiUrl>{$ctx:apiUrl}</apiUrl> <accessToken>{$ctx:accessToken}</accessToken> </podio.init> <podio.createReminder> <refId>{$ctx:refId}</refId> <remindDelta>{$ctx:remindDelta}</remindDelta> <refType>{$ctx:refType}</refType> </podio.createReminder> <respond /> </inSequence> <outSequence> <send /> </outSequence> </target> </proxy>