Examples of Using SOAP and REST Interfaces with the SQL Data Services

[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.]

When you develop applications using Microsoft® SQL Data Services (SDS), both SOAP and REST interfaces are supported. The operations that use the service include the following:

  • Creating authorities
  • Creating and deleting containers
  • Creating, updating, and deleting entities

Examples of using the SOAP and REST interfaces are provided in the following topics:

Examples of Using SOAP Interface with the SQL Data Services

Examples of Using REST Interface with the SQL Data Services

Most of the examples use the simple concept of storing book information. The examples create appropriate authorities, containers and store book entities.

Note

SDS supports application/x-ssds+xml content type for storing all Flexible Entities (all entities except blob entities). When you specify queries in the browser, the browser needs to be aware of this content type. For additional information, see Guidelines and Limitations.

The service also supports storing blobs. For more information, Handling Blobs.

See Also

Concepts

Getting Ready to Use SQL Data Services
SDS Data Model Overview (Authorities, Containers, Entities and Flexible Entities)
Version Support and Conditional Operations
Handling Blobs