Hi Shanika,
It is a JSON object which contains the field name and the value pair. For
example, if you are going to update the Account object in Salesforce, you
have to pass it as follows.
{
"name":"Sample Account Obj",
"description":"This account is for testing"
}
Thanks
On Wed, Mar 28, 2018 at 1:00 PM, Shanika Nishani <[email protected]>
wrote:
> Hi Devs,
>
>
> I'm trying to update Account object in Salesforce with the use of WSO2
> salesforce rest API connector.as per the documentation it is as follow
>
> <salesforcerest.update>
> <sObjectName>{$ctx:sObjectName}</sObjectName>
> <fieldAndValue>{$ctx:fieldAndValue}</fieldAndValue>
> <Id>{$ctx:Id}</Id>
> </salesforcerest.update>
>
> does anyone have an idea what should be the format for *fieldAndValue*. I
> have tried giving the attribute tag and the value.But it fails.
>
> Best Regards,
>
> Shanika Nishani
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
--
Shakila Sasikaran
Software Engineer
Mobile :+94 (0) 77 526 6848
[email protected]
WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev