ข้อมูลโรงงานน้ำตาล (Factory)
API สำหรับเชื่อมโยงข้อมูลโรงงานน้ำตาล สำหรับเปิดเผยสาธารณะ
/get
Parameter
| Name | Description |
|---|---|
| code required string | รหัสโรงงาน |
Responses
| Code | Description |
|---|---|
| 200 | the request has succeeded.
Example Value
|
| 400 | One of the given parameter is not valid |
| 401 | The user is not authorized. Authentication is required |
| 403 | You don't have the permission to access the requested resource. |
| 404 | Requested resource not found |
/search
Parameter
| Name | Description |
|---|---|
| code string | รหัสโรงงาน |
| name string | ชื่อโรงงาน |
Responses
| Code | Description |
|---|---|
| 200 | the request has succeeded.
Example Value
|
| 400 | One of the given parameter is not valid |
| 401 | The user is not authorized. Authentication is required |
| 403 | You don't have the permission to access the requested resource. |
| 404 | Requested resource not found |