Hello Suzdar, GET:SalesOrderDto data model is for reading the data from Sales Order Endpoint that is corresponding with Sales Order Module (ScreenId=SO301000) in the Financials ERP UI. For POST operations and its DTO, you should look at POST : saleOrderUpdateDto We'd recommend you first checking the Sales Order document in the Financials ERP UI to determine what field you'd like to interact via the API then you can build your API payload based on transaction need. You should only include the fields in the JSON that you'd like to set a value otherwise please exclude those fields from your payload. Here is an example POST Sales Order JSON:
{
"orderType": {
"value": "SO"
},
"hold": {
"value": false
},
"date": {
"value": "2020-02-17"
},
"customerRefNo": {
"value": "AAA#6111"
},
"customer": {
"value": "10023"
},
"currency": {
"value": "NOK"
},
"lines": [
{
"operation": "Insert",
"lineNbr": {
"value": 1
},
"inventoryId": {
"value": "5"
},
"warehouse": {
"value": "1"
},
"uom": {
"value": "STK"
},
"quantity": {
"value": 1
},
"unitPrice": {
"value": 111.2
},
"lineDescription": {
"value": "TEST SO"
}
}
]
}
... View more