Modified Endpoint post and put to validate Object IDs