/api/purchaseOrder/sendCreatePurchaseOrder
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",
"order_no": "string",
"order_type": "string",
"status": "string",
"reference": "string",
"supplier": "string",
"supplier_name": "string",
"street": "string",
"bldg": "string",
"town": "string",
"postcode": "string",
"contact": "string",
"phone": "string",
"fax": "string",
"maker": "string",
"country": "string",
"street3": "string",
"state": "string",
"payment_term": "string",
"credit": 0,
"vat": "string",
"remarks": "string",
"discount": 0,
"discount_type": "string",
"pr_ref": "string",
"transport_mode": "string",
"eta": "2020-11-03T04:05:42.249Z",
"ship_to": "string",
"ship_instruction": "string",
"shipment_no": "string",
"hawb": "string",
"container": "string",
"remarks1": "string",
"currency": "string",
"received_by": "string",
"seal_number": "string",
"vessel": "string",
"origin_country": "string",
"customs_import_entry": "string",
"truckplate": "string",
"typeoftruck": "string",
"driver": "string",
"licenscetype": "string",
"truckingservices": "string",
"invoice": "string",
"podetails": [
{
"client": "string",
"order_no": "string",
"line_no": 0,
"supplier": "string",
"item_no": "string",
"grade": "string",
"loose": 0,
"loose_uom": "string",
"owner": "string",
"lot": "string",
"batch": "string",
"item_size": "string",
"item_color": "string",
"item_class": "string",
"line_remark": "string",
"unit_price": 0,
"udf1": "string",
"discount": 0,
"discount_type": "string",
"maker": "string",
"udf2": "string",
"pr_line": "string"
}
]
}
{
client |
string |
order_no |
string |
order_type |
string |
status |
string |
reference |
string |
supplier |
string |
supplier_name |
string |
street |
string |
bldg |
string |
town |
string |
postcode |
string |
contact |
string |
phone |
string |
fax |
string |
maker |
string |
country |
string |
street3 |
string |
state |
string |
payment_term |
string |
credit |
integer($int32) |
vat |
string |
remarks |
string |
discount |
number($double) |
discount_type |
string |
pr_ref |
string |
transport_mode |
string |
eta |
string($date-time) |
ship_to |
string |
ship_instruction |
string |
shipment_no |
string |
hawb |
string |
container |
string |
remarks1 |
string |
currency |
string |
received_by |
string |
seal_number |
string |
vessel |
string |
origin_country |
string |
customs_import_entry |
string |
truckplate |
string |
typeoftruck |
string |
driver |
string |
licenscetype |
string |
truckingservices |
string |
invoice |
string |
podetails |
[...] |
}
Responses
Code |
Description |
Links |
200 |
Success |
No links |