v2.1.0
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.