Ask Learn Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
To add new records by using OData, you need to publish an object that allows record creation. If you want to create new customer records, you need to publish the Customer Card object as an OData web service because the card has the InsertAllowed and ModifyAllowed properties set to true. You can use this object to create new records by using OData, but only when the object allows for inserts or modifications.
To create new records, you need to send a POST request to the Business Central web service with the record as a JSON document in the body of the request.
Please sign in to use this experience.
Sign in