change API version to v3.12 and add samples for post #4