If end user not send query parameter then i want to return a message like:
return Response.status(500).entity("If you wish to download whole offerings data send query Param 'timestampForInitialLoad'. If you wish to get offerings after particular date then send query Param as 'lastModifedDate'").build();
What will be HTTP Status code for such message?
Will it be 500 Internal Server Error (well it is not)
or will it be 204 No Content (But content is message itself)
or will it be 200 Success (But call is not correct)
Not able to get from 1XX HTTP Status codes