Creating a record through PHP/REST using create2 API does not assign or increment an Auto-Number field for the new record. Shouldn't an auto-number be automatically assigned to all new records, regardless of how they were created?
It should, if no value is passed. Do you pass any value for auto-number field?
No I don't include the auto-number field in my parameters.
Do I need to include the field name with no value? (ie.. &autonum=)
OK, I'll check this. It would help if you submit support request with your zone, object, and sample URL you're using to pass data.
No, don't do this.
I will send a support ticket.
One possibility why it's not working is that I just created the AutoNumber field (about 30 minutes ago) and it may not be available to use in REST updates yet. I have a similar issue with another field I just removed the "Required in all forms" restriction and when I try to Create a new record with REST create2, I still get back "closing_date is a required field" even though I removed the Required in all forms option.
Thanks
Yes, this may be an issue. I'll try to fix that.
Looks to be working now. Thanks.