/api/salesorder/sendCreateSalesOrder
Common Parameter
Surroundings |
HTTP Address |
URL |
http://XXX.XXX.X.XXX/Similan_center_api_beta/swagger/index.html |
Test URL |
Name |
Description |
method |
POST |
Response Example
JSON
{
"client": "string",
"so_no": "string",
"shipment_code": "string",
"order_date": "string",
"customer_code": "string",
"customer_name": "string",
"reference_no": "string",
"remarks": "string",
"delivery_date": "string",
"transport_cost": 0,
"service_fee": 0,
"contact_person": "string",
"address1": "string",
"address2": "string",
"street": "string",
"sub_district": "string",
"district": "string",
"province": "string",
"country": "string",
"post_code": "string",
"phone": "string",
"trucking_service": "string",
"tracking_no": "string",
"cod": 0,
"seq": 0,
"whse_source": "string",
"sodetails": [
{
"receipt_no": "string",
"line_no": 0,
"item_no": "string",
"uom": "string",
"qty": 0,
"unit_price": 0,
"grade": "string",
"discount": 0,
"discount_type": "string"
}
],
"username": "string",
"password": "string",
"sendby": "string"
}
{
client |
string |
so_no |
string |
shipment_code |
string |
order_date |
string |
customer_code |
string |
customer_name |
string |
reference_no |
string |
remarks |
string |
delivery_date |
string |
transport_cost |
number($double) |
service_fee |
number($double) |
contact_person |
string |
address1 |
string |
address2 |
string |
street |
string |
sub_district |
string |
district |
string |
province |
string |
country |
string |
post_code |
string |
phone |
string |
trucking_service |
string |
tracking_no |
string |
cod |
integer($int32) |
seq |
integer($int32) |
whse_source |
string |
sodetails |
[...] |
username |
string |
password |
string |
sendby |
string |
}
Responses
Code |
Description |
Links |
200 |
Success |
No links |