Schimbări
On 22 mai 2023, 11:27:24 +0700,

-
Updated description of หมวดหมู่สินค้าของรายงานสถานการณ์การค้าในต่างประเทศ from
หมวดหมู่สินค้าของรายงานสถานการณ์การค้าในต่างประเทศ
toตัวอย่างการใช้ curl command เพื่อเรียก graphql api (ต้องใช้ token นี้สำหรับข้อมูล public) <br /> Token: Api-Key YqlvgTth.1PrBwB38knYz66vO1ULgaArg18DZmNsw <br /> <code> curl --request POST <br /> --header 'content-type: application/json' <br /> --header 'Authorization: Api-Key YqlvgTth.1PrBwB38knYz66vO1ULgaArg18DZmNsw' <br /> --url 'https://graphql.ditp.go.th/' <br /> --data '{"query":"query ExampleQuery($limit: Int!) {\n ditpWebsiteProductCategory(limit: $limit) {\n items {\n id\n count\n name\n description\n taxonomy\n parent\n }\n }\n}","variables":{"limit":20}}' </code>
f | 1 | { | f | 1 | { |
2 | "accessible_condition": "", | 2 | "accessible_condition": "", | ||
3 | "allow_harvest": "True", | 3 | "allow_harvest": "True", | ||
4 | "author": null, | 4 | "author": null, | ||
5 | "author_email": null, | 5 | "author_email": null, | ||
6 | "created_date": "2023-05-19", | 6 | "created_date": "2023-05-19", | ||
7 | "creator_user_id": "5e50267b-6f8c-4632-9487-64e1a12b7b8c", | 7 | "creator_user_id": "5e50267b-6f8c-4632-9487-64e1a12b7b8c", | ||
8 | "data_category": | 8 | "data_category": | ||
9 | 49\u0e2d\u0e21\u0e39\u0e25\u0e2a\u0e32\u0e18\u0e32\u0e23\u0e13\u0e30", | 9 | 49\u0e2d\u0e21\u0e39\u0e25\u0e2a\u0e32\u0e18\u0e32\u0e23\u0e13\u0e30", | ||
10 | "data_collect": "", | 10 | "data_collect": "", | ||
11 | "data_collect_other": "", | 11 | "data_collect_other": "", | ||
12 | "data_format": [ | 12 | "data_format": [ | ||
13 | "JSON", | 13 | "JSON", | ||
14 | "\u0e2d\u0e37\u0e48\u0e19\u0e46" | 14 | "\u0e2d\u0e37\u0e48\u0e19\u0e46" | ||
15 | ], | 15 | ], | ||
16 | "data_format_other": "graphql", | 16 | "data_format_other": "graphql", | ||
17 | "data_language": [ | 17 | "data_language": [ | ||
18 | "\u0e44\u0e17\u0e22", | 18 | "\u0e44\u0e17\u0e22", | ||
19 | "\u0e2d\u0e31\u0e07\u0e01\u0e24\u0e29" | 19 | "\u0e2d\u0e31\u0e07\u0e01\u0e24\u0e29" | ||
20 | ], | 20 | ], | ||
21 | "data_source": "\u0e23\u0e30\u0e1a\u0e1a ditp website", | 21 | "data_source": "\u0e23\u0e30\u0e1a\u0e1a ditp website", | ||
22 | "data_support": | 22 | "data_support": | ||
23 | 48\u0e27\u0e22\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e23\u0e31\u0e10", | 23 | 48\u0e27\u0e22\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e23\u0e31\u0e10", | ||
24 | "data_support_other": "", | 24 | "data_support_other": "", | ||
25 | "data_type": | 25 | "data_type": | ||
26 | 49\u0e2d\u0e21\u0e39\u0e25\u0e23\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19", | 26 | 49\u0e2d\u0e21\u0e39\u0e25\u0e23\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19", | ||
27 | "disaggregate": [], | 27 | "disaggregate": [], | ||
28 | "geo_coverage": "\u0e44\u0e21\u0e48\u0e21\u0e35", | 28 | "geo_coverage": "\u0e44\u0e21\u0e48\u0e21\u0e35", | ||
29 | "geo_coverage_other": "", | 29 | "geo_coverage_other": "", | ||
n | 30 | "groups": [], | n | 30 | "groups": [ |
31 | { | ||||
32 | "description": | ||||
33 | 30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28", | ||||
34 | "display_name": | ||||
35 | 30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28", | ||||
36 | "id": "d4b7b754-41d1-44f5-847c-b1ce8ef4be6b", | ||||
37 | "image_display_url": "", | ||||
38 | "name": "news", | ||||
39 | "title": | ||||
40 | e30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28" | ||||
41 | } | ||||
42 | ], | ||||
31 | "high_value_dataset": "", | 43 | "high_value_dataset": "", | ||
32 | "id": "de18ca4f-578c-4dcd-b232-8779b2c4d28a", | 44 | "id": "de18ca4f-578c-4dcd-b232-8779b2c4d28a", | ||
33 | "isopen": false, | 45 | "isopen": false, | ||
34 | "last_updated_date": "2023-05-19", | 46 | "last_updated_date": "2023-05-19", | ||
35 | "license_id": "License not specified", | 47 | "license_id": "License not specified", | ||
36 | "license_id_other": "", | 48 | "license_id_other": "", | ||
37 | "license_title": "License not specified", | 49 | "license_title": "License not specified", | ||
38 | "maintainer": | 50 | "maintainer": | ||
39 | 23\u0e41\u0e25\u0e30\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28", | 51 | 23\u0e41\u0e25\u0e30\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28", | ||
40 | "maintainer_email": "sys_dev@ditp.go.th", | 52 | "maintainer_email": "sys_dev@ditp.go.th", | ||
41 | "metadata_created": "2023-05-22T04:13:22.034998", | 53 | "metadata_created": "2023-05-22T04:13:22.034998", | ||
n | 42 | "metadata_modified": "2023-05-22T04:21:23.688318", | n | 54 | "metadata_modified": "2023-05-22T04:27:24.643827", |
43 | "name": "ditp_website_products", | 55 | "name": "ditp_website_products", | ||
44 | "notes": | 56 | "notes": | ||
t | 45 | 43\u0e19\u0e15\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28", | t | 57 | 0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 |
58 | curl command | ||||
59 | \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e23\u0e35\u0e22\u0e01 graphql | ||||
60 | api (\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 token | ||||
61 | 0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 | ||||
62 | public) \r\n<br />\r\nToken: Api-Key | ||||
63 | YqlvgTth.1PrBwB38knYz66vO1ULgaArg18DZmNsw\r\n<br />\r\n<code>\r\ncurl | ||||
64 | --request POST <br />\r\n --header 'content-type: application/json' | ||||
65 | <br />\r\n --header 'Authorization: Api-Key | ||||
66 | YqlvgTth.1PrBwB38knYz66vO1ULgaArg18DZmNsw' <br />\r\n --url | ||||
67 | 'https://graphql.ditp.go.th/' <br />\r\n --data '{\"query\":\"query | ||||
68 | ExampleQuery($limit: Int!) {\\n ditpWebsiteProductCategory(limit: | ||||
69 | $limit) {\\n items {\\n id\\n count\\n name\\n | ||||
70 | description\\n taxonomy\\n parent\\n }\\n | ||||
71 | }\\n}\",\"variables\":{\"limit\":20}}'\r\n</code>", | ||||
46 | "num_resources": 1, | 72 | "num_resources": 1, | ||
47 | "num_tags": 2, | 73 | "num_tags": 2, | ||
48 | "objective": [ | 74 | "objective": [ | ||
49 | 75 | ||||
50 | 17\u0e18\u0e28\u0e32\u0e2a\u0e15\u0e23\u0e4c\u0e0a\u0e32\u0e15\u0e34", | 76 | 17\u0e18\u0e28\u0e32\u0e2a\u0e15\u0e23\u0e4c\u0e0a\u0e32\u0e15\u0e34", | ||
51 | 77 | ||||
52 | 23\u0e34\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e0a\u0e19", | 78 | 23\u0e34\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e0a\u0e19", | ||
53 | 79 | ||||
54 | e18\u0e01\u0e34\u0e08\u0e2b\u0e19\u0e48\u0e27\u0e22\u0e07\u0e32\u0e19" | 80 | e18\u0e01\u0e34\u0e08\u0e2b\u0e19\u0e48\u0e27\u0e22\u0e07\u0e32\u0e19" | ||
55 | ], | 81 | ], | ||
56 | "organization": { | 82 | "organization": { | ||
57 | "approval_status": "approved", | 83 | "approval_status": "approved", | ||
58 | "created": "2021-08-06T06:58:55.178725", | 84 | "created": "2021-08-06T06:58:55.178725", | ||
59 | "description": | 85 | "description": | ||
60 | 0e30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28 | 86 | 0e30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28 | ||
61 | 0e16\u0e36\u0e07\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e07\u0e32\u0e19 | 87 | 0e16\u0e36\u0e07\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e07\u0e32\u0e19 | ||
62 | 0e34\u0e21\u0e01\u0e32\u0e23\u0e04\u0e49\u0e32\u0e15\u0e48\u0e32\u0e07 | 88 | 0e34\u0e21\u0e01\u0e32\u0e23\u0e04\u0e49\u0e32\u0e15\u0e48\u0e32\u0e07 | ||
63 | \u0e46 | 89 | \u0e46 | ||
64 | 0e08\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e04\u0e49\u0e19\u0e2b\u0e32 | 90 | 0e08\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e04\u0e49\u0e19\u0e2b\u0e32 | ||
65 | 0e2d\u0e1a\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14 | 91 | 0e2d\u0e1a\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14 | ||
66 | 40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\u0e44\u0e14\u0e49", | 92 | 40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21\u0e44\u0e14\u0e49", | ||
67 | "id": "68041f91-611a-47e3-b9c8-5c3b2f30886e", | 93 | "id": "68041f91-611a-47e3-b9c8-5c3b2f30886e", | ||
68 | "image_url": "2021-08-06-065854.801522ditp.png", | 94 | "image_url": "2021-08-06-065854.801522ditp.png", | ||
69 | "is_organization": true, | 95 | "is_organization": true, | ||
70 | "name": "ditp", | 96 | "name": "ditp", | ||
71 | "state": "active", | 97 | "state": "active", | ||
72 | "title": | 98 | "title": | ||
73 | 30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28", | 99 | 30\u0e2b\u0e27\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28", | ||
74 | "type": "organization" | 100 | "type": "organization" | ||
75 | }, | 101 | }, | ||
76 | "owner_org": "68041f91-611a-47e3-b9c8-5c3b2f30886e", | 102 | "owner_org": "68041f91-611a-47e3-b9c8-5c3b2f30886e", | ||
77 | "private": false, | 103 | "private": false, | ||
78 | "reference_data": "", | 104 | "reference_data": "", | ||
79 | "relationships_as_object": [], | 105 | "relationships_as_object": [], | ||
80 | "relationships_as_subject": [], | 106 | "relationships_as_subject": [], | ||
81 | "resources": [ | 107 | "resources": [ | ||
82 | { | 108 | { | ||
83 | "cache_last_updated": null, | 109 | "cache_last_updated": null, | ||
84 | "cache_url": null, | 110 | "cache_url": null, | ||
85 | "created": "2023-05-22T04:14:47.596180", | 111 | "created": "2023-05-22T04:14:47.596180", | ||
86 | "created_at": "2023-05-22T04:14:47.596180", | 112 | "created_at": "2023-05-22T04:14:47.596180", | ||
87 | "datastore_active": false, | 113 | "datastore_active": false, | ||
88 | "datastore_contains_all_records_of_source_file": false, | 114 | "datastore_contains_all_records_of_source_file": false, | ||
89 | "description": | 115 | "description": | ||
90 | 0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 | 116 | 0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 | ||
91 | curl command | 117 | curl command | ||
92 | \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e23\u0e35\u0e22\u0e01 graphql | 118 | \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e23\u0e35\u0e22\u0e01 graphql | ||
93 | api (\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 token | 119 | api (\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 token | ||
94 | 0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 | 120 | 0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 | ||
95 | public) \r\n<br />\r\nToken: Api-Key | 121 | public) \r\n<br />\r\nToken: Api-Key | ||
96 | YqlvgTth.1PrBwB38knYz66vO1ULgaArg18DZmNsw\r\n<br />\r\n<code>\r\ncurl | 122 | YqlvgTth.1PrBwB38knYz66vO1ULgaArg18DZmNsw\r\n<br />\r\n<code>\r\ncurl | ||
97 | --request POST <br />\r\n --header 'content-type: application/json' | 123 | --request POST <br />\r\n --header 'content-type: application/json' | ||
98 | <br />\r\n --header 'Authorization: Api-Key | 124 | <br />\r\n --header 'Authorization: Api-Key | ||
99 | YqlvgTth.1PrBwB38knYz66vO1ULgaArg18DZmNsw' <br />\r\n --url | 125 | YqlvgTth.1PrBwB38knYz66vO1ULgaArg18DZmNsw' <br />\r\n --url | ||
100 | 'https://graphql.ditp.go.th/' <br />\r\n --data '{\"query\":\"query | 126 | 'https://graphql.ditp.go.th/' <br />\r\n --data '{\"query\":\"query | ||
101 | ExampleQuery($limit: Int!) {\\n ditpWebsiteProductCategory(limit: | 127 | ExampleQuery($limit: Int!) {\\n ditpWebsiteProductCategory(limit: | ||
102 | $limit) {\\n items {\\n id\\n count\\n name\\n | 128 | $limit) {\\n items {\\n id\\n count\\n name\\n | ||
103 | description\\n taxonomy\\n parent\\n }\\n | 129 | description\\n taxonomy\\n parent\\n }\\n | ||
104 | }\\n}\",\"variables\":{\"limit\":20}}'\r\n</code>", | 130 | }\\n}\",\"variables\":{\"limit\":20}}'\r\n</code>", | ||
105 | "format": "graphql", | 131 | "format": "graphql", | ||
106 | "hash": "", | 132 | "hash": "", | ||
107 | "id": "873dbf99-a42b-4fcf-93f5-c6f63868c9f5", | 133 | "id": "873dbf99-a42b-4fcf-93f5-c6f63868c9f5", | ||
108 | "last_modified": null, | 134 | "last_modified": null, | ||
109 | "metadata_modified": "2023-05-22T04:21:23.697145", | 135 | "metadata_modified": "2023-05-22T04:21:23.697145", | ||
110 | "mimetype": null, | 136 | "mimetype": null, | ||
111 | "mimetype_inner": null, | 137 | "mimetype_inner": null, | ||
112 | "name": | 138 | "name": | ||
113 | 43\u0e19\u0e15\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28", | 139 | 43\u0e19\u0e15\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28", | ||
114 | "package_id": "de18ca4f-578c-4dcd-b232-8779b2c4d28a", | 140 | "package_id": "de18ca4f-578c-4dcd-b232-8779b2c4d28a", | ||
115 | "position": 0, | 141 | "position": 0, | ||
116 | "resource_accessible_condition": "", | 142 | "resource_accessible_condition": "", | ||
117 | "resource_created_date": "2023-05-19", | 143 | "resource_created_date": "2023-05-19", | ||
118 | "resource_data_collect": "", | 144 | "resource_data_collect": "", | ||
119 | "resource_data_collect_other": "", | 145 | "resource_data_collect_other": "", | ||
120 | "resource_disaggregate": [], | 146 | "resource_disaggregate": [], | ||
121 | "resource_last_updated_date": "2023-05-19", | 147 | "resource_last_updated_date": "2023-05-19", | ||
122 | "resource_type": null, | 148 | "resource_type": null, | ||
123 | "size": null, | 149 | "size": null, | ||
124 | "state": "active", | 150 | "state": "active", | ||
125 | "url": "https://graphql.ditp.go.th/", | 151 | "url": "https://graphql.ditp.go.th/", | ||
126 | "url_type": null | 152 | "url_type": null | ||
127 | } | 153 | } | ||
128 | ], | 154 | ], | ||
129 | "state": "active", | 155 | "state": "active", | ||
130 | "tags": [ | 156 | "tags": [ | ||
131 | { | 157 | { | ||
132 | "display_name": "\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32", | 158 | "display_name": "\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32", | ||
133 | "id": "fffb2646-64fd-4a53-b051-5c00933beb90", | 159 | "id": "fffb2646-64fd-4a53-b051-5c00933beb90", | ||
134 | "name": "\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32", | 160 | "name": "\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32", | ||
135 | "state": "active", | 161 | "state": "active", | ||
136 | "vocabulary_id": null | 162 | "vocabulary_id": null | ||
137 | }, | 163 | }, | ||
138 | { | 164 | { | ||
139 | "display_name": | 165 | "display_name": | ||
140 | "\u0e2b\u0e21\u0e27\u0e14\u0e2b\u0e21\u0e39\u0e48", | 166 | "\u0e2b\u0e21\u0e27\u0e14\u0e2b\u0e21\u0e39\u0e48", | ||
141 | "id": "6cf7bc44-89d4-418d-8818-cb99d7332620", | 167 | "id": "6cf7bc44-89d4-418d-8818-cb99d7332620", | ||
142 | "name": "\u0e2b\u0e21\u0e27\u0e14\u0e2b\u0e21\u0e39\u0e48", | 168 | "name": "\u0e2b\u0e21\u0e27\u0e14\u0e2b\u0e21\u0e39\u0e48", | ||
143 | "state": "active", | 169 | "state": "active", | ||
144 | "vocabulary_id": null | 170 | "vocabulary_id": null | ||
145 | } | 171 | } | ||
146 | ], | 172 | ], | ||
147 | "title": | 173 | "title": | ||
148 | 43\u0e19\u0e15\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28", | 174 | 43\u0e19\u0e15\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28", | ||
149 | "type": "dataset", | 175 | "type": "dataset", | ||
150 | "update_frequency_interval": "1", | 176 | "update_frequency_interval": "1", | ||
151 | "update_frequency_unit": "\u0e1b\u0e35", | 177 | "update_frequency_unit": "\u0e1b\u0e35", | ||
152 | "update_frequency_unit_other": "", | 178 | "update_frequency_unit_other": "", | ||
153 | "url": "https://graphql.ditp.go.th/", | 179 | "url": "https://graphql.ditp.go.th/", | ||
154 | "version": null | 180 | "version": null | ||
155 | } | 181 | } |