{"id":1373,"date":"2025-10-10T14:56:58","date_gmt":"2025-10-10T07:56:58","guid":{"rendered":"https:\/\/portal-atlasx.cdg.co.th\/home\/?post_type=docs&#038;p=1373"},"modified":"2025-11-12T15:04:12","modified_gmt":"2025-11-12T08:04:12","slug":"appconfig","status":"publish","type":"docs","link":"https:\/\/portal-atlasx.cdg.co.th\/home\/docs\/axws7\/services-2\/appconfig\/","title":{"rendered":"AppConfig"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"appconfig\">AppConfig<\/h1>\n\n\n\n<p>\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e27\u0e34\u0e2a\u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a \u0e44\u0e14\u0e49\u0e41\u0e01\u0e48 \u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e23\u0e30\u0e1a\u0e1a, \u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e02\u0e2d\u0e07\u0e41\u0e15\u0e48\u0e25\u0e30\u0e23\u0e30\u0e1a\u0e1a, \u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01 Map Service, \u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01\u0e0a\u0e31\u0e49\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25, \u0e41\u0e25\u0e30\u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01\u0e17\u0e31\u0e48\u0e27\u0e44\u0e1b\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a<\/p>\n\n\n\n<p>\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e41\u0e15\u0e48\u0e25\u0e30\u0e01\u0e25\u0e38\u0e48\u0e21\u0e08\u0e30\u0e44\u0e14\u0e49\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e17\u0e35\u0e48\u0e41\u0e15\u0e01\u0e15\u0e48\u0e32\u0e07\u0e01\u0e31\u0e19\u0e2d\u0e2d\u0e01\u0e44\u0e1b \u0e43\u0e19\u0e40\u0e1a\u0e37\u0e49\u0e2d\u0e07\u0e15\u0e49\u0e19\u0e08\u0e30\u0e16\u0e39\u0e01\u0e41\u0e1a\u0e48\u0e07\u0e2d\u0e2d\u0e01\u0e40\u0e1b\u0e47\u0e19 2 \u0e01\u0e25\u0e38\u0e48\u0e21\u0e2b\u0e25\u0e31\u0e01\u0e44\u0e14\u0e49\u0e41\u0e01\u0e48<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e31\u0e48\u0e27\u0e44\u0e1b : \u0e44\u0e14\u0e49\u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01\u0e08\u0e32\u0e01\u0e44\u0e1f\u0e25\u0e4c\u00a0<code>Config\/app.config.json<\/code><\/li>\n\n\n\n<li>\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e35\u0e48\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e23\u0e30\u0e1a\u0e1a : \u0e04\u0e34\u0e27\u0e23\u0e35\u0e48\u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01\u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 \u0e0b\u0e36\u0e48\u0e07\u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e2a\u0e48\u0e07 Authorization \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e48\u0e32 Access Token \u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23 Authentication \u0e41\u0e19\u0e1a\u0e44\u0e1b\u0e01\u0e31\u0e1a Header Request \u0e40\u0e2a\u0e21\u0e2d \u0e2b\u0e32\u0e01\u0e44\u0e21\u0e48\u0e2a\u0e48\u0e07\u0e44\u0e1b\u0e16\u0e37\u0e2d\u0e27\u0e48\u0e32 Request \u0e19\u0e31\u0e49\u0e19\u0e40\u0e1b\u0e47\u0e19\u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e31\u0e48\u0e27\u0e44\u0e1b<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"content-type-support\">Content-Type Support<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Names-values (Query string)<\/li>\n\n\n\n<li>application\/x-www-form-urlencoded<\/li>\n\n\n\n<li>application\/json<\/li>\n\n\n\n<li>multipart\/form-data<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"header-parameters\">Header Parameters<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Required<\/th><th>Sample Value<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>Authorization<\/td><td>false<\/td><td>bearer<\/td><td>Access Token \u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23 Authentication<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"content-parameters\">Content Parameters<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Name<\/th><th>Required<\/th><th>Sample Value<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>APP_DATA_SOURCE<\/td><td>false<\/td><td>null<\/td><td>\u0e0a\u0e37\u0e48\u0e2d Data Source \u0e17\u0e35\u0e48\u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01\u0e44\u0e27\u0e49\u0e43\u0e19\u0e44\u0e1f\u0e25\u0e4c appsettings \u0e16\u0e49\u0e32\u0e44\u0e21\u0e48\u0e23\u0e30\u0e1a\u0e38 \u0e40\u0e27\u0e47\u0e1a\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e27\u0e34\u0e2a\u0e08\u0e30\u0e43\u0e0a\u0e49\u0e04\u0e48\u0e32 Default<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e01\">\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e01<\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-Fira-Code\" style=\"font-size:.875rem;font-family:Code-Pro-Fira-Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>curl --location --request GET 'https:\/\/portal-atlasx.cdg.co.th\/api\/appconfig' \\\n--header 'Authorization: bearer &lt;access_token>'<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #001080\">curl<\/span><span style=\"color: #000000\"> --<\/span><span style=\"color: #001080\">location<\/span><span style=\"color: #000000\"> --<\/span><span style=\"color: #001080\">request<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0070C1\">GET<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&#39;https:\/\/portal-atlasx.cdg.co.th\/api\/appconfig&#39;<\/span><span style=\"color: #000000\"> \\<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">--<\/span><span style=\"color: #001080\">header<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&#39;Authorization: bearer &lt;access_token&gt;&#39;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u0e43\u0e0a\u0e49 Access Token \u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e25\u0e47\u0e2d\u0e01\u0e2d\u0e34\u0e19\u0e40\u0e1b\u0e47\u0e19\u0e04\u0e48\u0e32 Authorization \u0e43\u0e19 Header<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"json-request-format\">Json Request Format<\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-Fira-Code\" style=\"font-size:.875rem;font-family:Code-Pro-Fira-Code,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#000000;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{\n  \"success\": true,\n  \"message\": \"\",\n  \"data\": &#91;{...},{...},...,{...}&#93;,\n  \"data2\": &#91;{...},{...},...,{...}&#93;,\n  \"data3\": &#91;{...},{...},...,{...}&#93;,\n  \"data4\": &#91;{...},{...},...,{...}&#93;,\n  \"data5\": &#91;{...},{...},...,{...}&#93;,\n  \"total\": 2\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki light-plus\" style=\"background-color: #FFFFFF\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #000000\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">  <\/span><span style=\"color: #A31515\">&quot;success&quot;<\/span><span style=\"color: #000000\">: <\/span><span style=\"color: #0000FF\">true<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">  <\/span><span style=\"color: #A31515\">&quot;message&quot;<\/span><span style=\"color: #000000\">: <\/span><span style=\"color: #A31515\">&quot;&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">  <\/span><span style=\"color: #A31515\">&quot;data&quot;<\/span><span style=\"color: #000000\">: &#91;{...},{...},...,{...}&#93;,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">  <\/span><span style=\"color: #A31515\">&quot;data2&quot;<\/span><span style=\"color: #000000\">: &#91;{...},{...},...,{...}&#93;,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">  <\/span><span style=\"color: #A31515\">&quot;data3&quot;<\/span><span style=\"color: #000000\">: &#91;{...},{...},...,{...}&#93;,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">  <\/span><span style=\"color: #A31515\">&quot;data4&quot;<\/span><span style=\"color: #000000\">: &#91;{...},{...},...,{...}&#93;,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">  <\/span><span style=\"color: #A31515\">&quot;data5&quot;<\/span><span style=\"color: #000000\">: &#91;{...},{...},...,{...}&#93;,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">  <\/span><span style=\"color: #A31515\">&quot;total&quot;<\/span><span style=\"color: #000000\">: <\/span><span style=\"color: #098658\">2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/portal-atlasx.cdg.co.th\/share\/Portal%20Docs\/Framework\/AXWS\/axws-appauthen-json-request-format.png\" alt=\"request-format\" title=\"null\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Attribute<\/th><th>Data Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>success<\/td><td>Boolean<\/td><td>&#8211;<\/td><\/tr><tr><td>message<\/td><td>String<\/td><td>&#8211;<\/td><\/tr><tr><td>data<\/td><td>Object[]<\/td><td>\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e40\u0e02\u0e49\u0e32\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e23\u0e30\u0e1a\u0e1a<\/td><\/tr><tr><td>data2<\/td><td>Object[]<\/td><td>\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e01\u0e32\u0e23\u0e07\u0e32\u0e19\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e43\u0e19\u0e23\u0e30\u0e1a\u0e1a<\/td><\/tr><tr><td>data3<\/td><td>Object[]<\/td><td>\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 Map Service \u0e43\u0e19\u0e23\u0e30\u0e1a\u0e1a<\/td><\/tr><tr><td>data4<\/td><td>Object[]<\/td><td>\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e0a\u0e31\u0e49\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e02\u0e2d\u0e07 Map Service<\/td><\/tr><tr><td>data5<\/td><td>Object[]<\/td><td>\u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01\u0e01\u0e25\u0e32\u0e07\u0e02\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e1a \u0e17\u0e31\u0e49\u0e07 Web Android \u0e41\u0e25\u0e30 iOS<\/td><\/tr><tr><td>total<\/td><td>Number<\/td><td>&#8211;<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"featured_media":0,"parent":1369,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"nav_title":"","positive":"","negative":"","footnotes":""},"docs_category":[],"class_list":["post-1373","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/1373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/comments?post=1373"}],"version-history":[{"count":2,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/1373\/revisions"}],"predecessor-version":[{"id":3174,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/1373\/revisions\/3174"}],"up":[{"embeddable":true,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/1369"}],"wp:attachment":[{"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/media?parent=1373"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs_category?post=1373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}