It took me a while to figure out what the problem is but I think I have narrowed it down to decimals. It is the same with all fields I’ve tried to update in all modules. An integer works fine, but I get a 400 error when I try to update a decimal. Usually I would assume I am doing something wrong but this seems like something is not working right.
This works:
https://192.168.1.52/SuiteCRM/Api/V8/module
{“data”:{“type”:“Opportunity”,“id”:“38cac79d-b3dd-3bf4-a9cd-5c56da62666f”,“attributes”:{“description”:“test”,“amount”:4444}}}
This doesn’t
https://192.168.1.52/SuiteCRM/Api/V8/module
{“data”:{“type”:“Opportunity”,“id”:“38cac79d-b3dd-3bf4-a9cd-5c56da62666f”,“attributes”:{“description”:“test”,“amount”:4444.55}}}
ProtocolErrorThe remote server returned an error: (400) Bad Request
This doesn’t
https://192.168.1.52/SuiteCRM/Api/V8/module
{“data”:{“type”:“Opportunity”,“id”:“38cac79d-b3dd-3bf4-a9cd-5c56da62666f”,“attributes”:{“description”:“test”,“amount”:“4444.55”}}}
ProtocolErrorThe remote server returned an error: (400) Bad Request.