http://msdn.microsoft.com/en-us/library/bb463982.aspx

The Windows Live Contacts API defines a set of Web services that enables customers to programmatically access the Windows Live Contacts Address Book database.

The Windows Live Contacts Web service is exposed to clients in a HTTP/GET request interface with XML response.

This API is intended for customers and partners who want to take advantage of the Address Book service known as Windows Live Contacts. An example of an application that may be built on this API is described in About the Windows Live Contacts API.

Using REST with the Windows Live Contacts API

Method Usage

GET

Retrieves whatever information is identified by the request Universal Resource Identifier (URI). When a GET request succeeds, the response contains the data that is requested. For more information, see Windows Live Contacts API Methods: GET.

POST

Inserts the data that is enclosed in the request body as a child of the element or elements identified by the request URI. When a POST request succeeds, the response code is the "201 Created" status code, and the response contains a Location header that points to the newly-created object or objects. For more information, see request.

PUT

Updates the object that is identified by the request URI with the data that is supplied in the request body. When a PUT request succeeds, the response code is the "204 No Content" status code, and no content is returned. For more information, see Windows Live Contacts API Methods: PUT.

DELETE

Removes the data object that is identified by the request URI. When a DELETE request succeeds, the response code is the "204 No Content" status code, and no content is returned. For more information, see Windows Live Contacts API Methods: DELETE.

The request URI identifies the object or the class to be manipulated by the method. Additionally, the request URI effectively describes the path through the data hierarchy to the object or objects. An example request URI might be:

/LiveContacts/Contacts/Contact(ContactID)/Locations/Location(LocationID)/CompanyName

相关文章:

  • 2021-10-29
  • 2021-08-17
  • 2022-01-07
  • 2021-07-09
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-28
  • 2021-09-27
  • 2021-04-17
  • 2021-09-23
  • 2021-08-18
  • 2021-05-05
  • 2022-02-02
相关资源
相似解决方案