Web services call action with object id

read this, in one comment I have shared code
Rest API Post Request