Get URIs from a collection of contacts
Added by IBM contributorAnna G O'Neal | Edited by Claudia R Elbourn on June 26, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Get the Uniform Resource Locators (URI) of a collection of contacts.

Table 1. API details

Method Request URL

The following code provides a sample implementation of the API. For details about using the API in your own development environment, see the Internet Engineering Task Force (IETF) Request for Comments (RFC) resources at the end of this topic.

Sample request

<?xml version=”1.0” encoding=”UTF-8”?>

<A:propfind xmlns:A=”DAV:”>


<B:addressbook-home-set xmlns:B=”urn:ietf:params:xml:ns:carddav”/>

<B:directory-gateway xmlns:B=”urn:ietf:params:xml:ns:carddav”/>


<C:email-address-set xmlns:C=””/>







Sample response

<?xml version=”1.0” encoding=”UTF-8” standalone=”yes”?>

<multistatus xmlns=”DAV:” xmlns:ns2=”urn:ietf:params:xml:ns:carddav” xmlns:ns3=””>








<status>HTTP/1.1 200 OK</status>









<status>HTTP/1.1 404 Not Found</status>





Related Resources

HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)