camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10498) Update Salesforce component to support approval REST API
Date Tue, 22 Nov 2016 09:16:59 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-10498:
--------------------------------
    Fix Version/s:     (was: 2.18.2)
                   2.19.0

> Update Salesforce component to support approval REST API
> --------------------------------------------------------
>
>                 Key: CAMEL-10498
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10498
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-salesforce
>    Affects Versions: 2.18.0
>         Environment: Any
>            Reporter: Zoran Regvart
>             Fix For: 2.19.0
>
>
> Part of CAMEL-8396 to add support for the [Approvals|https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_process_approvals.htm].
> Implement support for getting and sending approvals for
> processing via Salesforce REST API.
> Add two new operations: _approvals_ to fetch any approvals already
> in progress, and _approval_ to initiate approval process on the supplied
> record or records (batch).
> To fetch the records in approval process:
> {code:java}
> ...to("salesforce:approvals")
>     .split().body()
>     .log("${body.entityId} - ${body.instanceStatus}")
> {code}
> And to send a record for approval:
> {code:java}
> ...to("salesforce:approval?approval.actionType=Submit&...")
>     .log("${body.id} - ${body.instanceStatus}")
> {code}
> The _approval_ operation should have the ability to set properties on the
> endpoint (let's call that template), via message headers and message
> body. These can be combined, to place default values on the endpoint
> (template), and runtime values trough headers or message body.
> If the message body is an _Iterable_ then
> they should be submitted in a batch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message