entity api post save