{"id":1392,"date":"2025-10-10T15:05:38","date_gmt":"2025-10-10T08:05:38","guid":{"rendered":"https:\/\/portal-atlasx.cdg.co.th\/home\/?post_type=docs&#038;p=1392"},"modified":"2025-11-12T15:04:12","modified_gmt":"2025-11-12T08:04:12","slug":"data-transfer-object-dto-access","status":"publish","type":"docs","link":"https:\/\/portal-atlasx.cdg.co.th\/home\/docs\/axws7\/services-2\/data-transfer-object-dto-access\/","title":{"rendered":"Data Transfer Object (DTO) Access"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"data-tranfer-object-dto-access\">Data Tranfer Object (DTO) Access<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e08\u0e38\u0e14\u0e1b\u0e23\u0e30\u0e2a\u0e07\u0e04\u0e4c\">\u0e08\u0e38\u0e14\u0e1b\u0e23\u0e30\u0e2a\u0e07\u0e04\u0e4c<\/h2>\n\n\n\n<p>\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49 developer \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e01\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 LUT, MASTER \u0e08\u0e32\u0e01\u0e40\u0e14\u0e34\u0e21\u0e17\u0e35\u0e48\u0e17\u0e33\u0e1c\u0e48\u0e32\u0e19 stored procedure \u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e01\u0e42\u0e14\u0e22\u0e15\u0e23\u0e07\u0e1c\u0e48\u0e32\u0e19 API \u0e41\u0e25\u0e30\u0e25\u0e14\u0e08\u0e33\u0e19\u0e27\u0e19 request \u0e25\u0e07\u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07 LUT, MASTER \u0e2b\u0e25\u0e32\u0e22\u0e15\u0e31\u0e27\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e01\u0e31\u0e19\u0e44\u0e14\u0e49\u0e43\u0e19 request \u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e19<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\">\u0e01\u0e32\u0e23\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07<\/h2>\n\n\n\n<p>\u0e40\u0e1b\u0e47\u0e19 optional service \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e21\u0e32\u0e25\u0e07\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e43\u0e19 project \u0e44\u0e14\u0e49\u0e1c\u0e48\u0e32\u0e19 nuget package<\/p>\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>dotnet package add AtlasX.DtoAccess.Service<\/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\">dotnet<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #AF00DB\">package<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">add<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">AtlasX<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">DtoAccess<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">Service<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u0e2b\u0e32\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23 TypeScript definition \u0e02\u0e2d\u0e07 LUT, MASTER \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2d\u0e33\u0e19\u0e27\u0e22\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e30\u0e14\u0e27\u0e01 Developer \u0e43\u0e19\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32 (\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a development environment \u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19)<\/p>\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>dotnet package add AtlasX.DtoAccess.Schema<\/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\">dotnet<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #AF00DB\">package<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">add<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">AtlasX<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">DtoAccess<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">Schema<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\">\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19<\/h2>\n\n\n\n<p>\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a ASP.NET Minimal API (Program.cs)<\/p>\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>using AtlasX.DtoAccess.Service;\nusing AtlasX.DtoAccess.Schema;\n\npublic static void Main(string[] args)\n{\n    var builder = WebApplication.CreateBuilder(args);\n\n    builder.Services.AddDtoAccess();\n    builder.Services.AddDtoSchema();\n    \n    var app = builder.Build();\n    \n    app.UseDtoAccess(); &lt;em>\/\/ default \u0e17\u0e35\u0e48 \/api\/dto \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19 path \u0e2b\u0e25\u0e31\u0e07 \/api\/ \u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e43\u0e2a\u0e48  parameter \u0e17\u0e35\u0e48 UseDtoAccess \u0e40\u0e0a\u0e48\u0e19 app.UseDtoAccess(\"dto-access\");&lt;\/em>\n    app.UseDtoSchema(); &lt;em>\/\/ default \u0e17\u0e35\u0e48 \/api\/dto-schema \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19 path \u0e2b\u0e25\u0e31\u0e07 \/api\/ \u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e43\u0e2a\u0e48  parameter \u0e17\u0e35\u0e48 UseDtoSchema \u0e40\u0e0a\u0e48\u0e19 app.UseDtoSchema(\"dto-schema-access\");&lt;\/em>\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: #0000FF\">using<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0070C1\">AtlasX<\/span><span style=\"color: #000000\">.DtoAccess.Service;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">using<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0070C1\">AtlasX<\/span><span style=\"color: #000000\">.DtoAccess.Schema;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #001080\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">static<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">Main<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #001080\">string<\/span><span style=\"color: #000000\">[] <\/span><span style=\"color: #001080\">args<\/span><span style=\"color: #000000\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">var<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">builder<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">WebApplication<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">CreateBuilder<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #001080\">args<\/span><span style=\"color: #000000\">);<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">builder<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">Services<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">AddDtoAccess<\/span><span style=\"color: #000000\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">builder<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #001080\">Services<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">AddDtoSchema<\/span><span style=\"color: #000000\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #0000FF\">var<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">app<\/span><span style=\"color: #000000\"> = <\/span><span style=\"color: #001080\">builder<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">Build<\/span><span style=\"color: #000000\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">app<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">UseDtoAccess<\/span><span style=\"color: #000000\">(); &lt;<\/span><span style=\"color: #001080\">em<\/span><span style=\"color: #000000\">&gt;<\/span><span style=\"color: #008000\">\/\/ default \u0e17\u0e35\u0e48 \/api\/dto \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19 path \u0e2b\u0e25\u0e31\u0e07 \/api\/ \u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e43\u0e2a\u0e48  parameter \u0e17\u0e35\u0e48 UseDtoAccess \u0e40\u0e0a\u0e48\u0e19 app.UseDtoAccess(&quot;dto-access&quot;);&lt;\/em&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">app<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">UseDtoSchema<\/span><span style=\"color: #000000\">(); &lt;<\/span><span style=\"color: #001080\">em<\/span><span style=\"color: #000000\">&gt;<\/span><span style=\"color: #008000\">\/\/ default \u0e17\u0e35\u0e48 \/api\/dto-schema \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19 path \u0e2b\u0e25\u0e31\u0e07 \/api\/ \u0e44\u0e14\u0e49\u0e14\u0e49\u0e27\u0e22\u0e01\u0e32\u0e23\u0e43\u0e2a\u0e48  parameter \u0e17\u0e35\u0e48 UseDtoSchema \u0e40\u0e0a\u0e48\u0e19 app.UseDtoSchema(&quot;dto-schema-access&quot;);&lt;\/em&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a ASP.NET \u0e40\u0e14\u0e34\u0e21 (Startup.cs)<\/p>\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>using AtlasX.DtoAccess.Service;\nusing AtlasX.DtoAccess.Schema;\n\npublic void ConfigureServices(IServiceCollection services)\n{\n    services.AddDtoAccess();\n    services.AddDtoSchema();\n}\n\npublic void Configure(IApplicationBuilder app, IWebHostEnvironment env)\n{\n    app.UseEndpoints(endpoints => { \n        endpoints.UseDtoAccess();\n        endpoints.UseDtoSchema();\n    });\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: #0000FF\">using<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0070C1\">AtlasX<\/span><span style=\"color: #000000\">.DtoAccess.Service;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #0000FF\">using<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0070C1\">AtlasX<\/span><span style=\"color: #000000\">.DtoAccess.Schema;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #001080\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">ConfigureServices<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #001080\">IServiceCollection<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">services<\/span><span style=\"color: #000000\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">services<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">AddDtoAccess<\/span><span style=\"color: #000000\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">services<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">AddDtoSchema<\/span><span style=\"color: #000000\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #001080\">public<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">void<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #795E26\">Configure<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #001080\">IApplicationBuilder<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">app<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #001080\">IWebHostEnvironment<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #001080\">env<\/span><span style=\"color: #000000\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">app<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">UseEndpoints<\/span><span style=\"color: #000000\">(<\/span><span style=\"color: #001080\">endpoints<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">=&gt;<\/span><span style=\"color: #000000\"> { <\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        <\/span><span style=\"color: #001080\">endpoints<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">UseDtoAccess<\/span><span style=\"color: #000000\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        <\/span><span style=\"color: #001080\">endpoints<\/span><span style=\"color: #000000\">.<\/span><span style=\"color: #795E26\">UseDtoSchema<\/span><span style=\"color: #000000\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    });<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01-appsettings\">\u0e04\u0e2d\u0e19\u0e1f\u0e34\u0e01 appsettings<\/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    \"WebServiceSettings\": {\n        \"DtoAccess\": {\n            \"DefaultDataSource\": \"Default\",\n            \"MaxTablePerRequest\": 10,\n            \"AllowTables\": {\n                \"UM_ROLE\": {\n                    \"DataSource\": \"SQLServer\",\n                    \"AlwaysExcludeFields\": &#91;\"DATE_CREATED\", \"DATE_MODIFIED\"&#93;\n                },\n                \"UM_FUNCTION\": {\n                    \"AllowConditionFields\": &#91;\"FUNCTION_ID\", \"FUNCTION_PARENT\", \"ORDER_NO\"&#93;\n                }\n            }\n        }\n    }\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;WebServiceSettings&quot;<\/span><span style=\"color: #000000\">: {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        <\/span><span style=\"color: #A31515\">&quot;DtoAccess&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;DefaultDataSource&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;Default&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;MaxTablePerRequest&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #098658\">10<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;AllowTables&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">                <\/span><span style=\"color: #A31515\">&quot;UM_ROLE&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">                    <\/span><span style=\"color: #A31515\">&quot;DataSource&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;SQLServer&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">                    <\/span><span style=\"color: #A31515\">&quot;AlwaysExcludeFields&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> &#91;<\/span><span style=\"color: #A31515\">&quot;DATE_CREATED&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #A31515\">&quot;DATE_MODIFIED&quot;<\/span><span style=\"color: #000000\">&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">                },<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">                <\/span><span style=\"color: #A31515\">&quot;UM_FUNCTION&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">                    <\/span><span style=\"color: #A31515\">&quot;AllowConditionFields&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> &#91;<\/span><span style=\"color: #A31515\">&quot;FUNCTION_ID&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #A31515\">&quot;FUNCTION_PARENT&quot;<\/span><span style=\"color: #000000\">, <\/span><span style=\"color: #A31515\">&quot;ORDER_NO&quot;<\/span><span style=\"color: #000000\">&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">                }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><strong>DtoAccess<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Key<\/th><th>Value<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>DefaultDataSource<\/td><td>Default<\/td><td>dbaccess datasource \u0e17\u0e35\u0e48 DtoAccess service \u0e40\u0e25\u0e37\u0e2d\u0e01\u0e43\u0e0a\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e04\u0e48\u0e32\u0e21\u0e32\u0e15\u0e23\u0e10\u0e32\u0e19\u0e2b\u0e32\u0e01\u0e44\u0e21\u0e48\u0e21\u0e35\u0e01\u0e32\u0e23\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49\u0e43\u0e19\u0e23\u0e30\u0e14\u0e31\u0e1a table<\/td><\/tr><tr><td>MaxTablePerRequest<\/td><td>10<\/td><td>\u0e08\u0e33\u0e19\u0e27\u0e19 table \u0e2a\u0e39\u0e07\u0e2a\u0e38\u0e14\u0e17\u0e35\u0e48\u0e2d\u0e13\u0e38\u0e0d\u0e32\u0e15\u0e43\u0e2b\u0e49\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e15\u0e48\u0e2d 1 request<\/td><\/tr><tr><td>AllowTables<\/td><td><\/td><td>table \u0e17\u0e35\u0e48\u0e2d\u0e13\u0e38\u0e0d\u0e32\u0e15\u0e43\u0e2b\u0e49\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e1c\u0e48\u0e32\u0e19 DtoAccess<\/td><\/tr><tr><td>DataSource<\/td><td><\/td><td>dbaccess datasource \u0e17\u0e35\u0e48\u0e08\u0e30\u0e43\u0e2b\u0e49 DtoAccess service \u0e43\u0e0a\u0e49\u0e01\u0e31\u0e1a table \u0e19\u0e31\u0e49\u0e19\u0e46<\/td><\/tr><tr><td>AlwaysExcludeFields<\/td><td><\/td><td>\u0e01\u0e33\u0e2b\u0e19\u0e14 field \u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e43\u0e19\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c\u0e40\u0e2a\u0e21\u0e2d<\/td><\/tr><tr><td>AllowConditionFields<\/td><td><\/td><td>\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e2b\u0e49\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e01\u0e23\u0e2d\u0e07\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c\u0e14\u0e49\u0e27\u0e22\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e15\u0e32\u0e21 field \u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e44\u0e27\u0e49\u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"form-parameters\">Form Parameters<\/h2>\n\n\n\n<p>*\u0e01\u0e32\u0e23\u0e23\u0e30\u0e1a\u0e38 field \u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e17\u0e35\u0e48 Key \u0e14\u0e49\u0e27\u0e22\u0e0a\u0e37\u0e48\u0e2d\u0e0b\u0e49\u0e33\u0e01\u0e31\u0e19\u0e41\u0e15\u0e48\u0e04\u0e48\u0e32\u0e15\u0e48\u0e32\u0e07\u0e01\u0e31\u0e19\u0e08\u0e30\u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 IN \u0e41\u0e17\u0e19\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 = **\u0e2b\u0e32\u0e01\u0e44\u0e21\u0e48\u0e23\u0e30\u0e1a\u0e38 field \u0e17\u0e35\u0e48 Value \u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e17\u0e38\u0e01 field \u0e43\u0e19\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Key<\/th><th>Value<\/th><\/tr><\/thead><tbody><tr><td>UM_ROLE<\/td><td><\/td><\/tr><tr><td>UM_FUNCTION?FUNCTION_PARENT=GIS-01&amp;FUNCTION_PARENT=GIS-02<\/td><td>FUNCTION_ID,FUNCTION_NAME,FUNCTION_PARENT<\/td><\/tr><\/tbody><\/table><\/figure>\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 'https:\/\/atlasx.cdg.co.th\/axws-demo\/api\/dto' \\\n--header 'Content-Type: application\/x-www-form-urlencoded' \\\n--data-urlencode 'UM_ROLE=' \\\n--data-urlencode 'UM_FUNCTION%3FFUNCTION_PARENT%3DGIS-01%26FUNCTION_PARENT%3DGIS-02=FUNCTION_ID,FUNCTION_NAME,FUNCTION_PARENT'<\/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: #A31515\">&#39;https:\/\/atlasx.cdg.co.th\/axws-demo\/api\/dto&#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;Content-Type: application\/x-www-form-urlencoded&#39;<\/span><span style=\"color: #000000\"> \\<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">--<\/span><span style=\"color: #001080\">data<\/span><span style=\"color: #000000\">-<\/span><span style=\"color: #001080\">urlencode<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&#39;UM_ROLE=&#39;<\/span><span style=\"color: #000000\"> \\<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">--<\/span><span style=\"color: #001080\">data<\/span><span style=\"color: #000000\">-<\/span><span style=\"color: #001080\">urlencode<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&#39;UM_FUNCTION%3FFUNCTION_PARENT%3DGIS-01%26FUNCTION_PARENT%3DGIS-02=FUNCTION_ID,FUNCTION_NAME,FUNCTION_PARENT&#39;<\/span><\/span><\/code><\/pre><\/div>\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    \"total\": 5,\n    \"message\": \"\",\n    \"data\": [],\n    \"UM_ROLE\": &#91;\n        {\n            \"ROLE_ID\": 1,\n            \"ROLE_NAME\": \"Super Administrator\",\n            \"ROLE_DETAIL\": \"\u0e21\u0e35\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e38\u0e01\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\",\n            \"USER_CREATED\": null,\n            \"USER_MODIFIED\": 1\n        },\n        {\n            \"ROLE_ID\": 3,\n            \"ROLE_NAME\": \"Geust User\",\n            \"ROLE_DETAIL\": \"\u0e01\u0e25\u0e38\u0e48\u0e21\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e43\u0e0a\u0e49\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e1e\u0e37\u0e49\u0e19\u0e10\u0e32\u0e19\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e31\u0e48\u0e27\u0e44\u0e1b \u0e40\u0e0a\u0e48\u0e19 \u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e25\u0e47\u0e2d\u0e01\u0e2d\u0e34\u0e19\u0e40\u0e02\u0e49\u0e32\u0e23\u0e30\u0e1a\u0e1a \u0e40\u0e1b\u0e47\u0e19\u0e15\u0e49\u0e19\",\n            \"USER_CREATED\": 1,\n            \"USER_MODIFIED\": null\n        }\n    &#93;,\n    \"UM_FUNCTION\": &#91;\n        {\n            \"FUNCTION_ID\": \"GIS-02\",\n            \"FUNCTION_NAME\": \"Routing\",\n            \"FUNCTION_PARENT\": \"GIS-01\"\n        },\n        {\n            \"FUNCTION_ID\": \"GIS-03\",\n            \"FUNCTION_NAME\": \"Buffer\",\n            \"FUNCTION_PARENT\": \"GIS-01\"\n        },\n        {\n            \"FUNCTION_ID\": \"GIS-04\",\n            \"FUNCTION_NAME\": \"Feedback\",\n            \"FUNCTION_PARENT\": \"GIS-02\"\n        }\n    &#93;\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;total&quot;<\/span><span style=\"color: #000000\">: <\/span><span style=\"color: #098658\">5<\/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\">: [],<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #A31515\">&quot;UM_ROLE&quot;<\/span><span style=\"color: #000000\">: &#91;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;ROLE_ID&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #098658\">1<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;ROLE_NAME&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;Super Administrator&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;ROLE_DETAIL&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;\u0e21\u0e35\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e38\u0e01\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;USER_CREATED&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">null<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;USER_MODIFIED&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #098658\">1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        },<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;ROLE_ID&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #098658\">3<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;ROLE_NAME&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;Geust User&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;ROLE_DETAIL&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;\u0e01\u0e25\u0e38\u0e48\u0e21\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e43\u0e0a\u0e49\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e1e\u0e37\u0e49\u0e19\u0e10\u0e32\u0e19\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e31\u0e48\u0e27\u0e44\u0e1b \u0e40\u0e0a\u0e48\u0e19 \u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e25\u0e47\u0e2d\u0e01\u0e2d\u0e34\u0e19\u0e40\u0e02\u0e49\u0e32\u0e23\u0e30\u0e1a\u0e1a \u0e40\u0e1b\u0e47\u0e19\u0e15\u0e49\u0e19&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;USER_CREATED&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #098658\">1<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;USER_MODIFIED&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">null<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    &#93;,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #A31515\">&quot;UM_FUNCTION&quot;<\/span><span style=\"color: #000000\">: &#91;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;FUNCTION_ID&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;GIS-02&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;FUNCTION_NAME&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;Routing&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;FUNCTION_PARENT&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;GIS-01&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        },<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;FUNCTION_ID&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;GIS-03&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;FUNCTION_NAME&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;Buffer&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;FUNCTION_PARENT&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;GIS-01&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        },<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;FUNCTION_ID&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;GIS-04&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;FUNCTION_NAME&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;Feedback&quot;<\/span><span style=\"color: #000000\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">            <\/span><span style=\"color: #A31515\">&quot;FUNCTION_PARENT&quot;<\/span><span style=\"color: #001080\">:<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #A31515\">&quot;GIS-02&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">        }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    &#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"dto-schema-service\">DTO Schema Service<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"query-parameters\">Query Parameters<\/h2>\n\n\n\n<p>*\u0e2b\u0e32\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e08\u0e33\u0e01\u0e31\u0e14 field \u0e17\u0e35\u0e48\u0e41\u0e2a\u0e14\u0e07\u0e43\u0e19 TypeScript definition \u0e43\u0e2b\u0e49\u0e2a\u0e48\u0e07 outFields **\u0e2b\u0e32\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e38\u0e01 field \u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e2a\u0e48\u0e07 outFields<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Key<\/th><th>Value<\/th><\/tr><\/thead><tbody><tr><td>outFields<\/td><td>FUNCTION_ID,FUNCTION_NAME,FUNCTION_PARENT<\/td><\/tr><\/tbody><\/table><\/figure>\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 'https:\/\/atlasx.cdg.co.th\/axws-demo\/api\/dto-schema\/UM_FUNCTION?outFields=FUNCTION_ID%2CFUNCTION_NAME%2CFUNCTION_PARENT'<\/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: #A31515\">&#39;https:\/\/atlasx.cdg.co.th\/axws-demo\/api\/dto-schema\/UM_FUNCTION?outFields=FUNCTION_ID%2CFUNCTION_NAME%2CFUNCTION_PARENT&#39;<\/span><\/span><\/code><\/pre><\/div>\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>export interface UM_FUNCTION {\n    FUNCTION_ID: string;\n    FUNCTION_NAME: string;\n    FUNCTION_PARENT: string;\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: #AF00DB\">export<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #0000FF\">interface<\/span><span style=\"color: #000000\"> <\/span><span style=\"color: #267F99\">UM_FUNCTION<\/span><span style=\"color: #000000\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">FUNCTION_ID<\/span><span style=\"color: #000000\">: <\/span><span style=\"color: #267F99\">string<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">FUNCTION_NAME<\/span><span style=\"color: #000000\">: <\/span><span style=\"color: #267F99\">string<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">    <\/span><span style=\"color: #001080\">FUNCTION_PARENT<\/span><span style=\"color: #000000\">: <\/span><span style=\"color: #267F99\">string<\/span><span style=\"color: #000000\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #000000\">}<\/span><\/span><\/code><\/pre><\/div>\n","protected":false},"featured_media":0,"parent":1369,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"","meta":{"nav_title":"","positive":"","negative":"","footnotes":""},"docs_category":[],"class_list":["post-1392","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/1392","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=1392"}],"version-history":[{"count":2,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/1392\/revisions"}],"predecessor-version":[{"id":3196,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs\/1392\/revisions\/3196"}],"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=1392"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/portal-atlasx.cdg.co.th\/home\/wp-json\/wp\/v2\/docs_category?post=1392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}