Forum Post: RE: JSON parsing error on update

  • Thread starter Thread starter Roland de Pijper
  • Start date Start date
Status
Not open for further replies.
R

Roland de Pijper

Guest
Hi Edsel, belows is the logging of the request/response. As you can see the balance field is 000. It looks like this is interpreted as integer while we expect a decimal: [2014-09-10 16:02:32,044] ttCustomer: Filter: CustNum=12 [2014-09-10 16:02:32,046] http://localhost:8980/Customer/rest/Customer/btCustomer?filter=CustNum%3D12 [2014-09-10 16:02:32,052] ttCustomer: Response: Chars: 393, a117: 1 [2014-09-10 16:02:40,071] ttCustomer: Filter: CustNum=12 [2014-09-10 16:02:40,073] http://localhost:8980/Customer/rest/Customer/btCustomer?filter=CustNum%3D12 [2014-09-10 16:02:40,080] ttCustomer: Response: Chars: 393, a117: 1 [2014-09-10 16:02:40,083] Update ttCustomer: request {"dsCustomer":{"ttCustomer":[{"Phone": "(51) 254 2180", "Comments": null, "Contact": "Veikko Lehtisoini", "Fax": null, "Terms": "Net30", "CustNum": 12, "Country": "Finland", "City": "Salo", "CustId": null, "Name": "Surf Lautaveikkoset", "PostalCode": "24240", "State": "Varsinais-Suomi", "Address2": null, "Address": "Venemestarinkatu 36", "EmailAddress": null, "SalesRep": "DKP", "Discount": 35, "Balance": 000, "CreditLimit": 650}]}} [2014-09-10 16:02:40,096] Communication error:{"_errors":[{"_errorMsg":"ERROR condition: Incomplete Client aanvraag. (8020) (7211)","_errorNum":8020}]}

Continue reading...
 
Status
Not open for further replies.
Back
Top