Skip to content

DTSChurch/RockClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RockClient

Rock RMS JavaScript Client

...additional documentation coming soon!

Example Usage:

var client = window.DTS.RockClient()
var people = await client.request('People')
    .filter('IsSystem eq true')
    .skip(1)
    .top(5)
    .orderBy(['LastName', 'FirstName'])
    .select(['Id', 'FirstName', 'LastName', 'Email'])
    .get()

var currentPerson = await client.Lava.render('{{ CurrentPerson | ToJSON }}')

var serverDateTime = await client.Utility.RockDateTime.now()