Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 937 Bytes

File metadata and controls

42 lines (28 loc) · 937 Bytes

Create, Update, Delete

Common write operations use POST, PATCH, and DELETE.

Create Record

POST /api/data/v9.2/accounts Content-Type: application/json

{ "name": "Contoso Health", "telephone1": "03 9000 0000" }

Update Record

PATCH /api/data/v9.2/accounts(GUID) Content-Type: application/json

{ "telephone1": "03 9555 1234" }

Delete Record

DELETE /api/data/v9.2/accounts(GUID)

Practical Advice

  • validate ownership and permissions
  • capture created record IDs safely
  • use PATCH only for changed fields
  • be careful when deleting records in shared environments

Language Examples

For practical write-operation examples in code, see: