Skip to content

v2.1.0

Compare
Choose a tag to compare
@tdphillipsjr tdphillipsjr released this 08 Oct 15:57
· 10 commits to master since this release
c322c56

Adds support for the new Demographics Data endpoints to the Harvest Service.

Removes a requirement that an id be included in certain method calls. Previously calls to:

  • getActivityFeed()
  • postMoveApplication()
  • postAdvanceApplication()
  • postTransferApplicationToJobId()
  • postRejectApplication()
  • postUnrejectApplication()
  • getOffersForApplication()
  • getCurrentOfferForApplication()
  • getScorecardForApplication()

without ['id' => 1234] would result in a GreenhouseServiceException that ID was required. Now, it will attempt to send the request without the ID, which will result in a 404 response from the API and a GreenhouseAPIResponseException. Both of these exception inherit from GreenhouseException, so if you are catching the parent exception class, you should see no changes except a different error message. If you are catching the service exception directly, you'll have to updated it to catch the response exception instead.