2 out of 6 rated this helpful - Rate this topic

Table Service REST API

The Table service offers structured storage in the form of tables. The Table service API is a REST API for working with tables and the data that they contain.

The Table service API is compliant with the REST API provided by WF Data Services, with some differences. The Table service API restricts some functionality that is defined in WCF Data Services. The API also provides some additional functionality that is not available through WCF Data Services. The topics in this section describe where the Table service differs from WCF Data Services. Where the Table service conforms to the Framework specification, you will be directed to the WCF Data Services documentation.

For an overview of the differences between the Table service and WCF Data Services, see Summary of Table Service Functionality.

The.NET Client Library for WCF Data Services provides a convenient library for working with data in the Table service by using .NET objects. For more information about the client library, see Using the .NET Client Library with the Table Service.

The REST API for the Table service includes the operations listed in the following table.

 

Operation Description

Set Table Service Properties

Sets the properties of the Table service.

Get Table Service Properties

Gets the properties of the Table service.

Query Tables

Enumerates the tables in a storage account.

Create Table

Creates a new table within a storage account.

Delete Table

Deletes a table from a storage account.

Query Entities

Queries data in a table.

Insert Entity

Inserts a new entity into a table.

Insert Or Merge Entity

Inserts or merges an entity in a table.

Insert Or Replace Entity

Inserts or replaces an entity in a table.

Update Entity

Updates an existing entity within a table by replacing it.

Merge Entity

Updates an existing entity within a table by merging new property values into the entity.

Delete Entity

Deletes an entity within a table

The Table service supports batch operations for Insert Entity, Update Entity, Merge Entity, and Delete Entity operations. For more information about batch operations, see Performing Entity Group Transactions.

See Also

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Table Service API is OData
The REST API used to access the table service is actually the Open Data Protocol (OData). WCF Data Services (formerly ADO.NET Data Services) is a component of the .NET Framework 4 that you can use to create and deploy your own OData service on Windows Azure. There are now many client libraries that support OData. You can learn more about OData at www.odata.org.