{"id":11948,"date":"2019-10-22T15:36:23","date_gmt":"2019-10-22T06:36:23","guid":{"rendered":"https:\/\/www.eformsign.com\/kr\/support\/?post_type=manual_documentation&#038;p=11948"},"modified":"2019-10-22T15:36:23","modified_gmt":"2019-10-22T06:36:23","slug":"lookup-doc-status","status":"publish","type":"manual_documentation","link":"https:\/\/www.eformsign.com\/kr\/support\/documentation\/open-api\/lookup-doc-status\/","title":{"rendered":"2.3.4 OPA_004 \ubb38\uc11c \uc0c1\ud0dc \uc870\ud68c"},"content":{"rendered":"\r\n<p>\ubb38\uc11c \uc0c1\ud0dc \uc870\ud68c \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}\/status<\/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\/status<\/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>current_status_seq<\/td>\r\n<td>int<\/td>\r\n<td>\ud604\uc7ac \uc218\ud589 \uc0c1\ud0dc<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>status_list<\/td>\r\n<td>Array<\/td>\r\n<td>\ubb38\uc11c \uc0c1\ud0dc \ubaa9\ub85d<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>status_list[].seq<\/td>\r\n<td>int<\/td>\r\n<td>\uc0c1\ud0dc \uc21c\uc11c<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>status_list[].workflow_step_type<\/td>\r\n<td>String<\/td>\r\n<td>workflow \ub2e8\uacc4 \ud0c0\uc785<\/td>\r\n<td>write(\uc791\uc131), approval(\uacb0\uc81c), internal(\ub0b4\ubd80\uc790 \ucc98\ub9ac), external(\uc678\ubd80\uc790 \ucc98\ub9ac), complete(\uc644\ub8cc)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>status_list[].workflow_step_name<\/td>\r\n<td>String<\/td>\r\n<td>workflow \ub2e8\uacc4 \uba85<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>status_list[].action<\/td>\r\n<td>String<\/td>\r\n<td>\uc0ac\uc6a9\uc790 \ud589\ub3d9<\/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>status_list[].sender<\/td>\r\n<td>Object<\/td>\r\n<td>\uc694\uccad\uc790 \uc774\ub984 (id \/ email \/ \uc5f0\ub77d\ucc98)<\/td>\r\n<td>\uc694\uccad\uc790 \uac1d\uccb4 (id, name \ud3ec\ud568)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>sender.id<\/td>\r\n<td>String<\/td>\r\n<td>\uc0dd\uc131\uc790 \uba85\uc694\uccad\uc790 id\uc0dd\uc131\uc790 \uba85<\/td>\r\n<td>\uc678\ubd80\uc790 \uc791\uc131\uc758 \uacbd\uc6b0 id \uac12\uc774 \uc5c6\uc744 \uc218 \uc788\uc74c<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>sender.name<\/td>\r\n<td>String<\/td>\r\n<td>\uc694\uccad\uc790 name<\/td>\r\n<td>\uc678\ubd80\uc790 \uc791\uc131\uc758 \uacbd\uc6b0 name \uac12\uc774 \uc5c6\uc744 \uc218 \uc788\uc74c<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>status_list[].recipient_list<\/td>\r\n<td>Array<\/td>\r\n<td>\uc218\uc2e0\uc790 \ubaa9\ub85d<\/td>\r\n<td>\uc218\uc2e0\uc790\ub294 \uc5ec\ub7ec\uba85\uc77c \uc218 \uc788\uc74c.<br \/>Recipient Object \ud3ec\ud568(id, name)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>recipient_list[].id<\/td>\r\n<td>String<\/td>\r\n<td>\uc218\uc2e0\uc790 id<\/td>\r\n<td>\uc218\uc2e0\uc790\uac00 \uc678\ubd80\uc790 \ucc98\ub9ac \uacbd\uc6b0 id \uac12\uc774 \uc774\uba54\uc77c \ub610\ub294 \uc5f0\ub77d\ucc98.<br \/>\uc218\uc2e0\uc790\uac00 \uadf8\ub8f9\uc77c \uacbd\uc6b0 id \uac12\uc774 \uc5c6\uc744 \uc218 \uc788\uc74c.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>recipient_list[].name<\/td>\r\n<td>String<\/td>\r\n<td>\uc218\uc2e0\uc790 name<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>status_list[].executor<\/td>\r\n<td>Object<\/td>\r\n<td>\uc218\ud589\uc790 \uc815\ubcf4<\/td>\r\n<td>\uc218\ud589\uc790 \uac1d\uccb4 ( id, name \ud3ec\ud568)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>executor.id<\/td>\r\n<td>String<\/td>\r\n<td>\uc218\ud589\uc790 id<\/td>\r\n<td>\uc218\ud589\uc790\uac00 \uc678\ubd80\uc790 \uc77c \uacbd\uc6b0 id \uac12\uc774 \uc774\uba54\uc77c \ub610\ub294 \uc5f0\ub77d\ucc98.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>executor.name<\/td>\r\n<td>String<\/td>\r\n<td>\uc218\ud589\uc790 name<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>status_list[].execute_date<\/td>\r\n<td>long<\/td>\r\n<td>\uc218\ud589 \uc2dc\uac04<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>status_list[].comment<\/td>\r\n<td>String<\/td>\r\n<td>\uba54\ubaa8<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>status_list[].progress<\/td>\r\n<td>String<\/td>\r\n<td>\u00a0<\/td>\r\n<td>step_complete(\uc9c4\ud589\uc644\ub8cc),<br \/>step_skip(\uc2a4\ud0b5),<br \/>step_in_process(\ud604\uc7ac \uc9c4\ud589\uc911),<br \/>step_stand_by(\ub300\uae30\uc911)<\/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\/status 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\"current_status\": 4,\r\n\"status_list\": [\r\n{\r\n\"seq\": 1,\r\n\"workflow_step_type\": \"write\",\r\n\"workflow_step_name\": \"\uc2dc\uc791\",\r\n\"action\": \"doc_create\",\r\n\"sender\": {},\r\n\"recipient_list\": [],\r\n\"executor\": {\r\n\"id\": \"windy4788@forcs.com\",\r\n\"name\": \"\uc724\uc2b9\ud658\"\r\n},\r\n\"execute_date\": 1556503248076,\r\n\"comment\": \"\",\r\n\"progress\": \"step_complete\"\r\n},\r\n{\r\n\"seq\": 2,\r\n\"workflow_step_type\": \"external\",\r\n\"workflow_step_name\": \"\uc678\ubd80\uc790 \ucc98\ub9ac\",\r\n\"action\": \"doc_accept_external\",\r\n\"sender\": {\r\n\"id\": \"windy4788@forcs.com\",\r\n\"name\": \"\uc724\uc2b9\ud658\"\r\n},\r\n\"recipient_list\": [\r\n{\r\n\"id\": \"windy4788@nate.com\",\r\n\"name\": \"\ud64d\uae38\ub3d9\"\r\n}\r\n],\r\n\"executor\": {\r\n\"id\": \"windy4788@nate.com\",\r\n\"name\": \"\ud64d\uae38\ub3d9\"\r\n},\r\n\"execute_date\": 1556503248076,\r\n\"comment\": \"\",\r\n\"progress\": \"step_complete\"\r\n},\r\n{\r\n\"seq\": 3,\r\n\"workflow_step_type\": \"external\",\r\n\"workflow_step_name\": \"\uc678\ubd80\uc790 \ucc98\ub9ac\",\r\n\"action\": \"doc_accept_external\",\r\n\"sender\": {\r\n\"id\": \"windy4788@forcs.com\",\r\n\"name\": \"\uc724\uc2b9\ud658\"\r\n},\r\n\"recipient_list\": [\r\n{\r\n\"id\": \"010-8946-0159\",\r\n\"name\": \"\uc720\uad00\uc21c\"\r\n}\r\n],\r\n\"executor\": {\r\n\"id\": \"010-8946-0159\",\r\n\"name\": \"\uc720\uad00\uc21c\"\r\n},\r\n\"execute_date\": 1556503248076,\r\n\"comment\": \"\",\r\n\"progress\": \"step_complete\"\r\n},\r\n{\r\n\"seq\": 4,\r\n\"workflow_step_type\": \"internal\",\r\n\"workflow_step_name\": \"\ub0b4\ubd80\uc790 \ucc98\ub9ac 1\",\r\n\"action\": \"\",\r\n\"sender\": {\r\n\"id\": \"windy4788@forcs.com\",\r\n\"name\": \"\uc724\uc2b9\ud658\"\r\n},\r\n\"recipient_list\": [\r\n{\r\n\"id\": \"\",\r\n\"name\": \"\uc5f0\uad6c\uc18c\"\r\n},\r\n{\r\n\"id\": \"windy4788@forcs.com\",\r\n\"name\": \"\uc724\uc2b9\ud658\"\r\n}\r\n],\r\n\"comment\": \"\",\r\n\"progress\": \"step_in_process\"\r\n},\r\n{\r\n\"seq\": 5,\r\n\"workflow_step_type\": \"complete\",\r\n\"workflow_step_name\": \"\uc644\ub8cc\",\r\n\"action\": \"\",\r\n\"sender\": {\r\n\"id\": \"windy4788@forcs.com\",\r\n\"name\": \"\uc724\uc2b9\ud658\"\r\n},\r\n\"recipient_list\": [],\r\n\"executor\": {},\r\n\"execute_date\": -1,\r\n\"comment\": \"\",\r\n\"progress\": \"step_stand_by\"\r\n}\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\/11948"}],"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":7,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation\/11948\/revisions"}],"predecessor-version":[{"id":11955,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation\/11948\/revisions\/11955"}],"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=11948"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manualdocumentationcategory?post=11948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}