{"id":41200,"date":"2022-04-21T06:18:48","date_gmt":"2022-04-21T05:18:48","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=41200"},"modified":"2022-04-21T06:19:21","modified_gmt":"2022-04-21T05:19:21","slug":"data-insert-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/api-guide\/data-insert-api\/?lang=ko","title":{"rendered":"\ub370\uc774\ud130 \uc0bd\uc785 API"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>\ub370\uc774\ud130 \ud14c\uc774\ube14\uc5d0 \ub370\uc774\ud130\ub97c \uc0bd\uc785\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<p class=\"note\">\uc571\uc5d0\uc11c \uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 DaaS\uc758 \ub370\uc774\ud130 \uc815\uc758\uc5d0\uc11c \ub370\uc774\ud130 \ud14c\uc774\ube14\uc5d0 \ub300\ud55c \uc4f0\uae30 \uc561\uc138\uc2a4 \uad8c\ud55c\uc774 \ubd80\uc5ec\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4(<a href=\"https:\/\/multisite.korebots.com\/docs-ko\/bots-ko\/advanced-topics-ko-2\/data-as-a-service\/?lang=ko#Assignments\" target=\"_blank\" rel=\"noopener noreferrer\">\uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \uc5ec\uae30 \ucc38\uc870<\/a>).<\/p>\n<p><b>POST<\/b> <span style=\"font-weight: 400\"><code>https:\/\/{{host}}\/api\/public\/tables\/{{tableName}}<\/code><\/span><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>Kore.ai Bots \ud50c\ub7ab\ud3fc\uc740 \ubcf4\uc548 API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud574\ub2f9 \uae30\ub2a5\uc5d0 \ub300\ud55c \uc561\uc138\uc2a4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. <a href=\"https:\/\/multisite.korebots.com\/uncategorised-ko-2\/api\/?lang=ko\" target=\"_blank\" rel=\"noopener noreferrer\">\uc774 API \uc0ac\uc6a9 \ubc29\ubc95\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \uc5ec\uae30\ub97c \ucc38\uc870\ud558\uc138\uc694<\/a>.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i\">\ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">host<\/span><\/td>\n<td><span style=\"font-weight: 400\">\ud658\uacbd URL(\uc608: <code>https:\/\/bots.kore.ai<\/code><\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">tableName<\/span><\/td>\n<td><span style=\"font-weight: 400\">\ub370\uc774\ud130\ub97c \uc0bd\uc785\ud560 \ud14c\uc774\ube14\uc758 \uc774\ub984<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-2\">\ubcf8\ubb38 \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>data<\/td>\n<td>\n<p>column_name:value \uc30d\uc744 \uac00\uc9c4 \uac1c\uccb4<\/p>\n<pre>\"data\": {\r\n        \"&lt;col1_name&gt;\": \"&lt;value1&gt;\",\r\n        \"&lt;col2_name&gt;\": \"&lt;value2&gt;\",\r\n   }<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-3\">\uad8c\ud55c \ubd80\uc5ec<\/span><\/h3>\n<p>\ub2e4\uc74c \uad6c\ubb38\uc744 \ud3ec\ud568\ud55c \ud5e4\ub354\uc5d0 JWT\ub97c \ud3ec\ud568\ud55c API\ub97c \ud638\ucd9c\ud569\ub2c8\ub2e4: <code>auth: {{JWT}}<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-4\">\ucf58\ud150\uce20 \uc720\ud615 \uc751\ub2f5<\/span><\/h3>\n<p><code>application\/json<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-5\">\uc0d8\ud50c \uc694\uccad<\/span><\/h3>\n<pre>curl -X POST \\\r\n  http:\/\/{{host}}\/api\/public\/tables\/{{tableName}} \\\r\n  -H 'auth: {{<em>YOUR_JWT_ACCESS_TOKEN}}<\/em>' \\\r\n  -H 'content-type: application\/json' \\\r\n  -d '{\r\n      \"data\": {\r\n        \"First_Name\": \"test\",\r\n        \"Last_Name\": \"name\",\r\n        \"Gender\": \"female\",\r\n        \"Number\": 263\r\n       }\r\n     }'<\/pre>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-6\">\uc0d8\ud50c \uc751\ub2f5<\/span><\/h3>\n<pre>{\r\n    \"First_Name\": \"test\",\r\n    \"Last_Name\": \"name\",\r\n    \"Gender\": \"female\",\r\n    \"Number\": 263,\r\n    \"Updated_On\": \"2020-03-28T07:02:09.652Z\",\r\n    \"Created_On\": \"2020-03-28T07:02:09.652Z\",\r\n    \"Updated_By\": \"st-98e05480-0257-5e35-b6d2-66a323834f9d\",\r\n    \"Created_By\": \"st-98e05480-0257-5e35-b6d2-66a323834f9d\",\r\n    \"sys_Id\": \"sys-545dae21-8675-5a95-9c1b-a223bc6f4bc8\"\r\n}\r\n<\/pre>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"\ub370\uc774\ud130 \ud14c\uc774\ube14\uc5d0 \ub370\uc774\ud130\ub97c \uc0bd\uc785\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc571\uc5d0\uc11c \uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 DaaS\uc758 \ub370\uc774\ud130 \uc815\uc758\uc5d0\uc11c \ub370\uc774\ud130 \ud14c\uc774\ube14\uc5d0 \ub300\ud55c \uc4f0\uae30 \uc561\uc138\uc2a4 \uad8c\ud55c\uc774 \ubd80\uc5ec\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4(\uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \uc5ec\uae30 \ucc38\uc870). POST https:\/\/{{host}}\/api\/public\/tables\/{{tableName}} Kore.ai Bots \ud50c\ub7ab\ud3fc\uc740 \ubcf4\uc548 API\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud574\ub2f9 \uae30\ub2a5\uc5d0 \ub300\ud55c \uc561\uc138\uc2a4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774 API \uc0ac\uc6a9 \ubc29\ubc95\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \uc5ec\uae30\ub97c \ucc38\uc870\ud558\uc138\uc694. \ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218 \ub9e4\uac1c \ubcc0\uc218 \uc124\uba85 host \ud658\uacbd URL(\uc608:...","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-41200","post","type-post","status-publish","format-standard","hentry","category-api-guide"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=41200"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41200\/revisions"}],"predecessor-version":[{"id":41201,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41200\/revisions\/41201"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=41200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=41200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=41200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}