Hello everybody,
I have a resource list in XCAP server. And i want to add new entry for the list (rcs_pnb_chat_blockedusers). When i sent following xpath and put xml body content, rcs_pnb_chat_blockedusers is modifying with <entry uri="test@bjk.com.tr"/> . I don't want to modify existing entry, i want to add a new entry. Is there a something wrong with my xpath request ?
PUT "$XPATH_ROOT/John/resource-list/~~/resource-lists/list%5B@name=%22rcs_pnb_chat_blockedusers%22%5D/entry"
..
Content-Type: application/xml-fragment-body
..
..
<entry uri="test@bjk.com.tr"/>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists">
<!-- The list of blocked contacts -->
<list name="rcs_blockedcontacts">
<display-name>My blocked contacts</display-name>
</list>
<list name="rcs_pnb_chat_blockedusers">
<display-name>My chat blacklist</display-name>
<entry uri="tel:+123456"/>
</list>
<list name="rcs_pnb_ft_blockedusers">
<display-name> My file transfer blacklist </display-name>
</list>
</resource-lists>
Best Regards