My Warehouse
The inventory data generated from B is a list of all available items and no values need to be sent
API Endpoint
| URL |
{base url}/api/Warehouse/MyWarehouse |
| Method |
GET |
| Authorization |
Bearer Token |
| Content-Type |
application/json |
Request Headers
| Parameter |
Type |
Required |
Description |
| APIKEY |
string |
true |
System key code |
Request Example
{base url}/api/Warehouse/MyWarehouse
Response Parameters
| Parameter |
Type |
Description |
| Id |
integer |
Error status (0 = no error) |
| Success |
boolean |
Status of the request |
| Message |
string |
Response message |
| RequestId |
string |
Reference ID for the request |
| Size |
integer |
Number of records returned |
| Data |
object |
warehouse list info |
Data
| Parameter |
Type |
Description |
| Id |
string |
Warehouse ID |
| Code |
string |
Warehouse code |
| Name |
string |
Warehouse name |
| Address |
string |
Warehouse address |
| ProvinceId |
string |
Province ID |
| ProvinceTh |
string |
Province name (Thai) |
| ProvinceEn |
string |
Province name (English) |
| DistrictId |
string |
District ID |
| DistrictTh |
string |
District name (Thai) |
| DistrictEn |
string |
District name (English) |
| SubDistrictId |
string |
Sub-district ID |
| SubDistrictTh |
string |
Sub-district name (Thai) |
| SubDistrictEn |
string |
Sub-district name (English) |
| PostalCode |
string |
Postal code |
| ForceOrder |
boolean |
Status for accepting orders without stock |
| WarehouseType |
string |
Warehouse type (M = Main, D = Damage) |
| IsActive |
boolean |
Active status |
Response JSON Example
{
"Id": 0,
"Success": true,
"Message": "SUCCESS",
"RequestId": "FBB1B909-CCE9-41BA-B10A-535C6301155C",
"Size": 2,
"Data": [
{
"Id": "454BFCE2-4B40-4AC1-B3DC-3FD109CCD2D8",
"Code": "22018",
"Name": "jaspal storer",
"Address": null,
"ProvinceId": "B655DE90-5B39-4937-B479-411A55E254C0",
"ProvinceTh": "ปทุมธานี",
"ProvinceEn": "Pathum Thani",
"DistrictId": null,
"DistrictTh": null,
"DistrictEn": null,
"SubDistrictId": null,
"SubDistrictTh": null,
"SubDistrictEn": null,
"PostalCode": "12140",
"ForceOrder": true,
"WarehouseType": "M",
"IsActive": true
},
{
"Id": "B775B376-44BF-4EDF-9B19-9E1409E2B58F",
"Code": "22018D",
"Name": "jaspal storer damage",
"Address": null,
"ProvinceId": null,
"ProvinceTh": null,
"ProvinceEn": null,
"DistrictId": null,
"DistrictTh": null,
"DistrictEn": null,
"SubDistrictId": null,
"SubDistrictTh": null,
"SubDistrictEn": null,
"PostalCode": null,
"ForceOrder": false,
"WarehouseType": "D",
"IsActive": true
}
]
}