simonxciv / bamboozled Goto Github PK
View Code? Open in Web Editor NEWA simple PowerShell module for working with the BambooHR API
License: Apache License 2.0
A simple PowerShell module for working with the BambooHR API
License: Apache License 2.0
The default behavior is that only current information is returned. Some fields, such as department and supervisor, are not returned until the employee start date is reached. However, if you add the query parameter "onlyCurrent=False" to the URI then non-current (e.g. future information) is returned. Of course, has to be used only when you want future information, such as for new hires before their hire date.
So. this could be a new option to the API entry point to request non-current information when it is needed.
So, this enhancement request may be useful.
From the BambooHR API change log for 2016.09:
FUTURE DATING
Currently, any time you future date a hire date, termination date, or tabular data (Job Information, Compensation etc.) we recognize that information in Bamboo immediately. With the coming change we will only recognize the date when the date arrives.
Hey! Thanks so much for your little wrapper. I found a small little issue and I'm too lazy to do a fork/pull request for it. I was scheduling a script that uses this and running it under a service account, and got this error:
Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or
Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
At C:\Scripts\Modules\Bamboozled\Bamboozled.psm1:91 char:30
+ ... Directory = Invoke-WebRequest $directoryUrl -method POST -Credential ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotImplemented: (:) [Invoke-WebRequest], NotSupportedException
+ FullyQualifiedErrorId : WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeWebRequestComman
d
A quick google showed that you can add the -UseBasicParsing switch to Invoke-WebRequest if the user can't launch IE, and that seemed to worked just fine!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.