Learn R Programming

bambooHR (version 0.1.1)

get_company_file: Retrieve A Company File.

Description

`get_company_file` takes a file_id (string) and api version (string) as arguments and then requests and returns data about the corresponding file from the BambooHR API, the file is then downloaded if possible.

Usage

get_company_file(file_id = "view", api_version = "v1", suppress_view = FALSE)

Value

returns a response object.

Arguments

file_id

The ID of the file to get from BambooHR.

api_version

version of the BambooHR API.

suppress_view

prevent display of results when file_id = "view", default is FALSE.

Author

Harry Alexander, harry.alexander@ascent.io

Examples

Run this code
if (FALSE) {
response <- get_company_file(
"480",
api_version = "v1"
)
}

Run the code above in your browser using DataLab