Event Subscription with LastRequestId "Unknown of badly structured command" Error
Posted: Wed Jan 08, 2020 2:21 am
Hello,
I'm looking into the events subscription API, and attempting to make a GET request passing the lastRequestId http://bullhorn.github.io/rest-api-docs ... trequestid.
However when I do this, the request fails.
For example:
Where 3 corresponds to the lastRequestId
The error is
When I remove the lastRequestId from the URL, the request works. However I'd like to make GET requests from a particular request id.
Can you advise on the issue? Thanks!
I'm looking into the events subscription API, and attempting to make a GET request passing the lastRequestId http://bullhorn.github.io/rest-api-docs ... trequestid.
However when I do this, the request fails.
For example:
Code: Select all
curl -H "BhRestToken: xxx" https://rest60.bullhornstaffing.com/rest-services/64pqp0/event/subscription/subscriptionId/3?maxEvents=100&type=entity
The error is
Code: Select all
{"errorMessage":"Unknown or badly structured command: /event/subscription/E360Events/3.","errorMessageKey":"errors.badCommand"}
Can you advise on the issue? Thanks!