I’m trying to POST an order from a CRM shopping website but keeping getting this error of date format. I’m using the “Erp.BO.SalesOrderSvc” service to create the order.
Here’s the error I’m getting
{
error: {
code: '',
message: 'The request is invalid.',
innererror: {
message: "entity : Cannot convert a value to target type 'Edm.Decimal' because of conflict between input format string/number and parameter 'IEEE754Compatible' false/true.\r\n",
type: '',
stacktrace: ''
}
}
}
Below is my PayLoad
{
Company: '',
PONum: 'xxxxxxxxxxx',
OrderNum: '65526dfcs',
CustNum: 68233432,
CurrencyCode: 'USD',
OrderDate: '2022-06-28T15:48:17.289Z',
OrderStatus: 'completed',
TotalDiscount: '0.00',
CCTotal: '2665.00',
ShipToAddressList: 'address.',
ShipToContactName: 'xxxxxx',
CustomerName: 'xxx',
EnableCreditCard: true,
ECCPaymentMethod: 'goe',
OrderDtls: [
{
Company: 'xxx',
OrderNum: '65526',
OrderLine: 4,
PartNum: 'xxxx',
SellingQuantity: 2,
UnitPrice: 820
}
]
}