Using the api to update the Opportunity Entity. One of the fields, a date field, will not update with a PUT. Narrowed it down to the following:
PUT body: {"fieldFirst": "2022-03-01", "fieldSecond": "2022-03-01"}
PUT Status returned: 200
Record returned: { ... "fieldFirst": "2022-03-01", "fieldSecond":null, ...}
fieldSecond is audited, and conditionally required. There are no formulas or hooks that involve fieldSecond.
fieldFirst is a built in field for the Opportunity Entity, fieldSecond is a field that was added to the Opportunity Entity.
fieldSecond can be edited on the form successfully it can also be imported successfully from the Espocrm Administration Import.
fieldSecond can be set directly in mySql with basic UPDATE syntax.
No errors in the log file.
What else could prevent the field from being updated from the API?
PUT body: {"fieldFirst": "2022-03-01", "fieldSecond": "2022-03-01"}
PUT Status returned: 200
Record returned: { ... "fieldFirst": "2022-03-01", "fieldSecond":null, ...}
fieldSecond is audited, and conditionally required. There are no formulas or hooks that involve fieldSecond.
fieldFirst is a built in field for the Opportunity Entity, fieldSecond is a field that was added to the Opportunity Entity.
fieldSecond can be edited on the form successfully it can also be imported successfully from the Espocrm Administration Import.
fieldSecond can be set directly in mySql with basic UPDATE syntax.
No errors in the log file.
What else could prevent the field from being updated from the API?
Comment