{"id":11994,"date":"2019-10-22T16:56:59","date_gmt":"2019-10-22T07:56:59","guid":{"rendered":"https:\/\/www.eformsign.com\/kr\/support\/?post_type=manual_documentation&#038;p=11994"},"modified":"2019-10-22T16:56:59","modified_gmt":"2019-10-22T07:56:59","slug":"send-event","status":"publish","type":"manual_documentation","link":"https:\/\/www.eformsign.com\/kr\/support\/documentation\/event\/doc-event\/send-event\/","title":{"rendered":"3.2.1.1 \uc774\ubca4\ud2b8 \uc804\uc1a1"},"content":{"rendered":"\r\n<p>eformsign \uc5d0\uc11c \ubb38\uc11c\uc758 \uc0dd\uc131 \ub610\ub294 \uc0c1\ud0dc \ubcc0\uacbd \uc2dc \ubc1c\uc0dd\uc2dc Web hook \uc124\uc815\uc5d0 \uc9c0\uc815\ub41c URL\ub85c \uc774\ubca4\ud2b8\ub97c \uc804\uc1a1 \ud569\ub2c8\ub2e4.<\/p>\r\n\r\n\r\n\r\n<h2>Method<\/h2>\r\n\r\n\r\n\r\n<p>&#8211; POST<\/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>eformsign_signature<\/td>\r\n<td>String<br \/>(hex string)<\/td>\r\n<td>\uc778\uc99d\uc6a9 \uc11c\uba85\uac12 (payload\ub97c \uc11c\uba85\ud55c \uac12)<br \/>(<a href=\"https:\/\/www.eformsign.com\/kr\/support\/documentation\/signature-generation-verification\/verify-signature\/\">2.2.2 eformsign_signature \uac80\uc99d<\/a> \ucc38\uace0)<\/td>\r\n<td>\u00a0<\/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<tr>\r\n<td>webhook_id<\/td>\r\n<td>String<\/td>\r\n<td>\uc774\ubca4\ud2b8 \ubc1c\uc0dd\uc2dc\ud0a8 webhook_id<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>webhook_name<\/td>\r\n<td>String<\/td>\r\n<td>webhook \uba85<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>company_id<\/td>\r\n<td>String<\/td>\r\n<td>\ud68c\uc0ac id<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>event_type<\/td>\r\n<td>String<\/td>\r\n<td>\uc774\ubca4\ud2b8 \ud0c0\uc785<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>document<\/td>\r\n<td>Object<\/td>\r\n<td>\uc774\ubca4\ud2b8\uac00 \ubc1c\uc0dd\ud55c \ubb38\uc11c \uc815\ubcf4<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>document.id<\/td>\r\n<td>String<\/td>\r\n<td>\ubb38\uc11c id<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>document.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>document.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>document.template_version<\/td>\r\n<td>String<\/td>\r\n<td>\ud15c\ud50c\ub9bf \ubc84\uc804<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>document.workflow_seq<\/td>\r\n<td>int<\/td>\r\n<td>\uc6cc\ud06c\ud50c\ub85c\uc6b0 \uc21c\uc11c<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>document.workflow_name<\/td>\r\n<td>String<\/td>\r\n<td>\uc6cc\ud06c\ud50c\ub85c\uc6b0 \uba85<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>document.history_id<\/td>\r\n<td>String<\/td>\r\n<td>\ud788\uc2a4\ud1a0\ub9ac id<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>document.status<\/td>\r\n<td>String<\/td>\r\n<td>\ubb38\uc11c\uc758 \uc0c1\ud0dc<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>document.editor_id<\/td>\r\n<td>String<\/td>\r\n<td>\ubb38\uc11c \uc0dd\uc131\uc790(\uc218\uc815\uc790) id<\/td>\r\n<td>\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>document.updated_date<\/td>\r\n<td>long<\/td>\r\n<td>\ubb38\uc11c \uc0dd\uc131(\uc218\uc815) \uc2dc\uac04<\/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>POST HTTP\/1.1\r\n\r\nContent-Type : application\/json; charset=utf-8\r\n\r\neformsign_signature : 3036021900d5aba08cee0ca07f251ff3b2523e90c54f8696ef7a63033b021900de3db862bc1c0c81cd0316779d15e5c77af62c0f454cc8d1\r\n\r\nHOST : web hook URL\r\n\r\n{\r\n\"webhook_id\" : \"e4f553ad0ad8228bbe81b3ef43178871\",\r\n\"webhook_name\" : \"Test Web hook\",\r\n\"company_id\" : \"f932c9b15215443580b5b9701151452a\",\r\n\"event_type\" : \u201cdocument\u201d,\r\n\"document\" : {\r\n  \"id\" : \u201c40ffcb24b3224b13ba682bda7244556d\u201d,\r\n   \"template_id\" : \u201cf2ace33447f04408a6f6477a9de612d6\u201d,\r\n   \"template_name\" : \u201c\uadfc\ub85c \uacc4\uc57d\uc11c\u201d,\r\n   \"template_version\" : \u201c1\u201d,\r\n\"workflow_seq\" : 1,\r\n\"workflow_name\" : \"\uc791\uc131\",\r\n   \"history_id\" : \u201cc8ce844ff0c44af6b7034ad707e106d8\u201d,\r\n   \"status\" : \u201cdoc_create\u201d,\r\n   \"editor_id\" : \"userId@forcs.com\",\r\n   \"updated_date\" : \"1562036014\"\r\n}\r\n}<\/code><\/pre>\r\n","protected":false},"author":1,"featured_media":0,"parent":11987,"menu_order":0,"template":"","manualdocumentationcategory":[45],"_links":{"self":[{"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation\/11994"}],"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":3,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation\/11994\/revisions"}],"predecessor-version":[{"id":11997,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation\/11994\/revisions\/11997"}],"up":[{"embeddable":true,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manual_documentation\/11987"}],"wp:attachment":[{"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/media?parent=11994"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/www.eformsign.com\/kr\/support\/wp-json\/wp\/v2\/manualdocumentationcategory?post=11994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}