Added response code and Document API POST

Added a response code and message for the Document API POST.

Also made the state and profile api sections consistent with including POST.