Updating an Entity Using REST

[This document supports a preliminary release of a software product that may be changed substantially prior to final commercial release. This document is provided for informational purposes only.]

To update an entity, you first must know its URI. If you don't already know the URI, you can obtain it by using a container query. For details about queries, see Querying SQL Data Services.

Note

The update operation replaces the entire entity. Partial updates are not supported in this release.

To update an entity, you send an HTTP request to the service by using the PUT method on the request. After you have completed this operation, the service returns a response with an HTTP status that indicates whether the operation succeeded or failed.

The following topics provide working samples in various programming languages:

Updating an Entity Using REST (C#)

Updating an Entity Using REST (Java)

Updating an Entity Using REST (Ruby)

Updating an Entity Using REST (VB)

See Also

Concepts

Getting Ready to Use SQL Data Services
SDS Data Model Overview (Authorities, Containers, Entities and Flexible Entities)
Examples of Using SOAP and REST Interfaces with the SQL Data Services