dyn_retrieve: Retrieve Records By Id

Description Usage Arguments Value Examples

View source: R/retrieve.R

Description

Retrieves one or more new records to your organization’s data.

Usage

1
2
dyn_retrieve(ids, entity_name, attributes, all_attributes = FALSE,
  verbose = FALSE)

Arguments

ids

vector, matrix, data.frame, or tbl_df; if not a vector, there must be a column called Id (case-insensitive) that can be passed in the request

entity_name

character; the name of one MS Dynamics CRM entity that the function is operating against (e.g. "Account", "Contact", "CustomObject__c")

attributes

character; one or more strings indicating attributes

all_attributes

logical; an indicator if all possible attributes should be returned for the entity. If TRUE this parameter will override the attributes parameter.

verbose

logical; do you want informative messages?

Value

tibble

Examples

1
2
3
4
5
6
7
## Not run: 
me <- dyn_whoami()
dyn_retrieve(me$UserId, entity_name="systemuser", 
             attributes=c("firstname", "lastname"))
dyn_retrieve(me$UserId, entity_name="systemuser", all_attributes=TRUE)            

## End(Not run)

StevenMMortimer/rdynamicscrm documentation built on July 9, 2019, 11:37 a.m.