rforcecom.update: Update a record

Description Usage Arguments Value Author(s) Examples

View source: R/rforcecom.update.R

Description

Update a record

Usage

1
rforcecom.update(session, objectName, id, fields)

Arguments

session

Session data. It can be retrieve from rforcecom.login.

objectName

An object name. (ex: "Account", "Contact", "CustomObject__c")

id

Record ID to update. (ex: "999x000000xxxxxZZZ")

fields

Sets of field name and its value. (ex: Name="CompanyName", Phone="000-000-000" )

Value

No data.

Author(s)

Takekatsu Hiramura <thira@plavox.info>

Examples

1
2
3
4
5
6
7
8
## Not run: 
 # Updating a record
 objectName <- "Account"
 id <- "999x000000xxxxxZZZ"
 fields <- c(Phone="9999-9999-9999")
 rforcecom.update(session, objectName, id, fields)
 
## End(Not run)

RForcecom documentation built on May 1, 2019, 6:31 p.m.