Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Insert decimal input into CRM 365

I'm working with CRM REST Builder to build my requests. I'm creating a web resource from it, I'm inserting a record with Decimal input. when entering a number from decimal input, this error is displayed:

Cannot convert a value to target type 'Edm.Decimal' because of conflict between input format string/number and parameter 'IEEE754Compatible' false/true.

Please help.

like image 324
ODE Avatar asked Apr 27 '17 14:04

ODE


1 Answers

I found that when submitting a json message to CRM Rest API, if the value is a string it gives me this error.

{ unitprice : "1234.00" }

You need to convert it to a number before hand so that it resolves like this:

{ unitprice : 1234.00 }
like image 81
Niel Zeeman Avatar answered Sep 22 '22 03:09

Niel Zeeman