{
"body": {
"conditions": {
"code": {
"conditionType": "KEYWORD",
"value": "SO-20240728-HW-001"
}
},
"paging": {
"start": 0,
"length": 10
}
}
}
curl --location --request POST '/api/open/v3/salesOrders/query' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"conditions": {
"code": {
"conditionType": "KEYWORD",
"value": "SO-20240728-HW-001"
}
},
"paging": {
"start": 0,
"length": 10
}
}
}'
{
"code": 0,
"message": "",
"data": {
"list": [
{
"id": 0,
"code": "",
"orderStatus": "",
"staffCode": "",
"director": "",
"createTime": 0,
"customerCode": "",
"customerName": "",
"addressLabel": "",
"orderDeliveryAddressView": {
"label": "",
"country": "",
"province": "",
"city": "",
"district": "",
"address": "",
"contacts": "",
"callingCode": "",
"mobile": "",
"phone": "",
"fax": "",
"createTime": "",
"updateTime": ""
},
"dueDate": 0,
"currency": "",
"exchangeRate": 0.0,
"comments": "",
"orderProcess": {
"name": "",
"nodes": [
{
"name": "",
"status": 0
}
]
},
"cpsExtendFieldDTOList": [
{
"id": 0,
"name": "",
"entityId": 0,
"value": {},
"defaultValue": "",
"dataType": 0,
"orderNum": 0
}
],
"baseExtendFieldDTOList": [
{
"id": 0,
"fieldId": 0,
"name": "",
"value": {},
"valueId": 0,
"fieldType": 0,
"required": 0,
"sort": 0
}
],
"records": [
{
"id": 0,
"sort": 0,
"itemCode": "",
"itemName": "",
"saleUnit": "",
"quantity": 0.0,
"price": 0.0,
"taxRate": 0.0,
"deadline": 0,
"comment": "",
"cpsExtendFieldDTOList": [
{
"id": 0,
"name": "",
"entityId": 0,
"value": {},
"defaultValue": "",
"dataType": 0,
"orderNum": 0
}
],
"baseExtendFieldDTOList": [
{
"id": 0,
"fieldId": 0,
"name": "",
"value": {},
"valueId": 0,
"fieldType": 0,
"required": 0,
"sort": 0
}
]
}
]
}
],
"start": 0,
"length": 0,
"recordsTotal": 0
}
}