{"id":11941,"date":"2019-10-22T15:23:17","date_gmt":"2019-10-22T06:23:17","guid":{"rendered":"https:\/\/www.eformsign.com\/kr\/support\/?post_type=manual_documentation&#038;p=11941"},"modified":"2019-10-22T15:23:47","modified_gmt":"2019-10-22T06:23:47","slug":"lookup-doc-information","status":"publish","type":"manual_documentation","link":"https:\/\/www.eformsign.com\/kr\/support\/documentation\/open-api\/lookup-doc-information\/","title":{"rendered":"2.3.3 OPA_003 \ubb38\uc11c \uc815\ubcf4 \uc870\ud68c"},"content":{"rendered":"\r\n<p>Access Token\uc744 \uac31\uc2e0 \ud558\ub294 API<\/p>\r\n\r\n\r\n\r\n<h2>Rest API<\/h2>\r\n\r\n\r\n\r\n<table class=\"wp-block-table\">\r\n<tbody>\r\n<tr>\r\n<td>\ub3c4\uba54\uc778\/v1.0\/api\/documents\/{DOCUMENT_ID}<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n\r\n\r\n\r\n<ul>\r\n<li><em>\ub3c4\uba54\uc778\uc740 Access Token \ubc1c\uae09 \ub41c company.api_url \uac12\uc744 \uc0ac\uc6a9\ud574\uc57c \ud569\ub2c8\ub2e4. <\/em><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>Example<\/p>\r\n\r\n\r\n\r\n<table class=\"wp-block-table\">\r\n<tbody>\r\n<tr>\r\n<td>https:\/\/kr-api.eformsign.com\/v1.0\/api\/documents\/d803930e2094464aab548c340f7c8a4b<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n\r\n\r\n\r\n<h2>Method<\/h2>\r\n\r\n\r\n\r\n<p>&#8211; GET<\/p>\r\n\r\n\r\n\r\n<h3>Request Header<\/h3>\r\n\r\n\r\n\r\n<table class=\"wp-block-table\">\r\n<tbody>\r\n<tr>\r\n<td>Name<\/td>\r\n<td>Type<\/td>\r\n<td>Description<\/td>\r\n<td>\ube44\uace0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Content-Type<\/td>\r\n<td>String<\/td>\r\n<td>Content-Type<\/td>\r\n<td>application\/json<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>access_token<\/td>\r\n<td>String<\/td>\r\n<td>Access token<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n\r\n\r\n\r\n<h3>QueryString<\/h3>\r\n\r\n\r\n\r\n<table class=\"wp-block-table\">\r\n<tbody>\r\n<tr>\r\n<td>Name<\/td>\r\n<td>Type<\/td>\r\n<td>Description<\/td>\r\n<td>\ube44\uace0<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n\r\n\r\n\r\n<h3>Request Body<\/h3>\r\n\r\n\r\n\r\n<table class=\"wp-block-table\">\r\n<tbody>\r\n<tr>\r\n<td>Name<\/td>\r\n<td>Type<\/td>\r\n<td>Description<\/td>\r\n<td>\ube44\uace0<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n\r\n\r\n\r\n<h3>Response Header<\/h3>\r\n\r\n\r\n\r\n<table class=\"wp-block-table\">\r\n<tbody>\r\n<tr>\r\n<td>Name<\/td>\r\n<td>Type<\/td>\r\n<td>Description<\/td>\r\n<td>\ube44\uace0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Content-Type<\/td>\r\n<td>String<\/td>\r\n<td>Content-Type<\/td>\r\n<td>application\/json<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n\r\n\r\n\r\n<h3>Success Response Body<\/h3>\r\n\r\n\r\n\r\n<table class=\"wp-block-table\">\r\n<tbody>\r\n<tr>\r\n<td>Name<\/td>\r\n<td>Type<\/td>\r\n<td>Description<\/td>\r\n<td>\ube44\uace0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>id<\/td>\r\n<td>String<\/td>\r\n<td>\ud1a0\ud070 \uc815\ubcf4<\/td>\r\n<td>\ud1a0\ud070 \uac1d\uccb4 (token_type, access_token, refresh_token, expires_in \ud3ec\ud568)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>template_id<\/td>\r\n<td>String<\/td>\r\n<td>\ud15c\ud50c\ub9bf id<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>template_name<\/td>\r\n<td>String<\/td>\r\n<td>\ud15c\ud50c\ub9bf \uba85<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>template_version<\/td>\r\n<td>int<\/td>\r\n<td>\ud15c\ud50c\ub9bf \ubc84\uc804<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>title<\/td>\r\n<td>String<\/td>\r\n<td>\ubb38\uc11c \uc81c\ubaa9<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>creator<\/td>\r\n<td>Object<\/td>\r\n<td>\ubb38\uc11c \uc0dd\uc131\uc790 \uc815\ubcf4<\/td>\r\n<td>\ubb38\uc11c \uc0dd\uc131\uc790 \uac1d\uccb4 ( id, name \ud3ec\ud568)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>creator.id<\/td>\r\n<td>String<\/td>\r\n<td>\ubb38\uc11c \uc0dd\uc131\uc790 id<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>creator.name<\/td>\r\n<td>String<\/td>\r\n<td>\uc0dd\uc131\uc790 \uba85<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>created_date<\/td>\r\n<td>long<\/td>\r\n<td>\uc0dd\uc131\uc77c<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>editor<\/td>\r\n<td>Object<\/td>\r\n<td>\ubb38\uc11c \uc218\uc815\uc790 \uc815\ubcf4<\/td>\r\n<td>\ubb38\uc11c \uc218\uc815\uc790 \uac1d\uccb4 ( id, name \ud3ec\ud568)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>editor.id<\/td>\r\n<td>String<\/td>\r\n<td>\uc218\uc815\uc790 id<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>editor.name<\/td>\r\n<td>String<\/td>\r\n<td>\uc218\uc815\uc790 \uba85<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>updated_date<\/td>\r\n<td>long<\/td>\r\n<td>\ubb38\uc11c \uc218\uc815\uc77c<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>current_status<\/td>\r\n<td>String<\/td>\r\n<td>\ubb38\uc11c \uc0c1\ud0dc<\/td>\r\n<td>doc_create(\ubb38\uc11c \uc0dd\uc131),<br \/>doc_tempsave (\ubb38\uc11c \uc784\uc2dc \uc800\uc7a5),<br \/>doc_request_approval (\uacb0\uc7ac \uc694\uccad),<br \/>doc_accept_approval (\uacb0\uc7ac \uc2b9\uc778),<br \/>doc_reject_approval (\uacb0\uc7ac \ubc18\ub824),<br \/>doc_request_external (\uc678\ubd80\uc790 \uc694\uccad),<br \/>doc_remind_external (\uc678\ubd80\uc790 \uc7ac \uc694\uccad),<br \/>doc_open_external (\uc678\ubd80\uc790 \uc5f4\ub78c),<br \/>doc_accept_external (\uc678\ubd80\uc790 \uc2b9\uc778),<br \/>doc_reject_external (\uc678\ubd80\uc790 \ubc18\ub824),<br \/>doc_request_internal (\ub0b4\ubd80\uc790 \uc694\uccad),<br \/>doc_accept_internal (\ub0b4\ubd80\uc790 \uc2b9\uc778),<br \/>doc_reject_internal (\ub0b4\ubd80\uc790 \ubc18\ub824),<br \/>doc_tempsave_internal (\ub0b4\ubd80\uc790 \uc784\uc2dc \uc800\uc7a5),<br \/>doc_cancel_request ( \uc694\uccad \ucde8\uc18c),<br \/>doc_reject_request (\ubc18\ub824 \uc694\uccad),<br \/>doc_decline_cancel_request ( \ubc18\ub824 \uc694\uccad \uac70\uc808),<br \/>doc_delete_request( \uc0ad\uc81c \uc694\uccad),<br \/>doc_decline_delete_request ( \uc0ad\uc81c \uc694\uccad \uac70\uc808),<br \/>doc_deleted (\ubb38\uc11c \uc0ad\uc81c),<br \/>doc_complete (\ubb38\uc11c \uc644\ub8cc)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>user_defined_status<\/td>\r\n<td>String<\/td>\r\n<td>\uc0ac\uc6a9\uc790 \uc9c0\uc815 \ubb38\uc11c \uc0c1\ud0dc<\/td>\r\n<td>\uc0ac\uc6a9\uc790\uac00 \uc9c0\uc815\ud55c \ubb38\uc11c\uc758 \uc0c1\ud0dc \uac12<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>workflow_step_type<\/td>\r\n<td>String<\/td>\r\n<td>\uc6cc\ud06c\ud50c\ub85c\uc6b0 \ub2e8\uacc4 \ud0c0\uc785<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>workflow_step_name<\/td>\r\n<td>String<\/td>\r\n<td>\uc6cc\ud06c\ud50c\ub85c\uc6b0 \ub2e8\uacc4 \uba85<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>data_list<\/td>\r\n<td>Object<\/td>\r\n<td>\uc0ac\uc6a9\uc790 \uc785\ub825 \ub370\uc774\ud130<\/td>\r\n<td>\uc785\ub825\uac12\uc758 form_id : value \ud615\uc2dd\uc73c\ub85c \ub370\uc774\ud130\uac00 \ud45c\uc2dc<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n\r\n\r\n\r\n<h3>Fail Response Body<\/h3>\r\n\r\n\r\n\r\n<table class=\"wp-block-table\">\r\n<tbody>\r\n<tr>\r\n<td>Name<\/td>\r\n<td>Type<\/td>\r\n<td>Description<\/td>\r\n<td>\ube44\uace0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>error<\/td>\r\n<td>Object<\/td>\r\n<td>\uc5d0\ub7ec \uc0c1\uc138 \uc815\ubcf4<\/td>\r\n<td>error \uc758 \uacbd\uc6b0\uc5d0\ub9cc \ud45c\uc2dc error \uac1d\uccb4 (code, message \ud3ec\ud568)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>error.code<\/td>\r\n<td>String<\/td>\r\n<td>\uc5d0\ub7ec \ucf54\ub4dc<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>error.message<\/td>\r\n<td>String<\/td>\r\n<td>\uc5d0\ub7ec \uba54\uc2dc\uc9c0<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n\r\n\r\n\r\n<h4>Example<\/h4>\r\n\r\n\r\n\r\n<p><strong>Request<\/strong><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>GET \/v1.0\/api\/documents\/d803930e2094464aab548c340f7c8a4b HTTP\/1.1\r\n\r\nContent-Type : application\/json\r\n\r\naccess_token : eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJvY2UuaWFtIiwiY29udGV4dCI6eyJjbGllbnRJ....\r\n\r\nHOST : https:\/\/kr-api.eformsign.com<\/code><\/pre>\r\n\r\n\r\n\r\n<p><strong>Response<\/strong><\/p>\r\n\r\n\r\n\r\n<p>&#8211; \uc131\uacf5 \uc2dc<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>HTTPS\/1.1 200 OK\r\nContent-Type: application\/json\r\n{\r\n\"id\": \"1e9c508486d149d8a402a4357c7533a2\",\r\n\"template_id\": \"f261bba9d4d343ebb67bc1a839f8feff\",\r\n\"template_name\": \"\ubb3c\ud488 \uad6c\ub9e4 \uc694\uccad\uc11c\",\r\n\"template_version\": 1,\r\n\r\n\"document_number\":\"\uad6c\ub9e4 NO.1\",\r\n\"title\": \"\uc81c\uc791 \uc694\uccad\uc11c\",\r\n\"creator\": {\r\n\"id\": \"test1@forcs.com\",\r\n\"name\": \"\ud64d\uae38\ub3d9\"\r\n},\r\n\"created_date\": 1477385802676,\r\n\"editor\": {\r\n\"id\": \"test1@forcs.com\",\r\n\"name\": \"\ud64d\uae38\ub3d9\"\r\n},\r\n\"updated_date\": 1477385802676,\r\n\"current_status\": \"doc_request_approval\",\r\n\"user_defined_status\": \"\uc8fc\ubb38\uc694\uccad\",\r\n\"workflow_step_type\": \"approval\",\r\n\"workflow_step_name\": \"\uacb0\uc7ac\",\r\n\"data_list\": {\r\n\"name\": \"\ud64d\uae38\ub3d9\",\r\n\"address\": \"\uac15\ub0a8\uad6c \ub17c\ud604\ub3d9 646\",\r\n\"product\": \"\uba85\ud568\",\r\n\"memo\": \"\ube60\ub978 \uc2dc\uc77c\ub0b4\uc5d0 \uc81c\uc791\ud574 \uc8fc\uc138\uc694\"\r\n}\r\n}<\/code><\/pre>\r\n\r\n\r\n\r\n<p>&#8211; \uc2e4\ud328 \uc2dc<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>HTTPS \/ 1.1 403 forbidden\r\nContent-Type: application\/json\r\n{\r\n\"error\": {\r\n\"code\": \"4030001\",\r\n\"message\": \"invalid api key\"\r\n}\r\n}<\/code><\/pre>\r\n","protected":false},"author":1,"featured_media":0,"parent":11930,"menu_order":0,"template":"","manualdocumentationcategory":[44],"_links":{"self":[{"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation\/11941"}],"collection":[{"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":5,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation\/11941\/revisions"}],"predecessor-version":[{"id":11946,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation\/11941\/revisions\/11946"}],"up":[{"embeddable":true,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation\/11930"}],"wp:attachment":[{"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/media?parent=11941"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manualdocumentationcategory?post=11941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}