Discussions

Ask a Question
Back to All

API Documentation Clarifications

There are a few endpoints in the API v2 documentation that I have questions on and need some clarification.

  1. CREATE Datapoints : It is the only endpoint that shows the query parameters as a json object. Does this endpoint really work differently than all others? Will it still work if I send everything as url parameters, or should it be sent as a POST fields form data?

  2. PUT Company Details : It shows a path parameter of ID but doesn't show it in the URI. Should it be a query parameter or should ID be part of the form data?

  3. POST Employees Preclockin : It only shows a parameter of id and no form data at all. Is that the only bit of data this endpoint requires to work properly, with no other options?

  4. DELETE Message : It shows a message ID in the HTML query parameters example, but then shows it below as a form data field. Which is correct?