msnp-wiki/docs/services/abservice/abcontactupdate.md

1.7 KiB

Introduction

ABContactUpdate is one of the SOAP actions the Address Book Service provides.

Modifies information about a contact from the Forward List (FL). For modifying a contact's information from any other list, see the Contact Sharing Service.

Client/Request

The template used in this action is described on the Address Book Service main page.

ABContactDelete

This element has only one attribute:

  • xmlns: Is always set to http://www.msn.com/webservices/AddressBook.

abId

This element contains your Address Book Service GUID.

contacts

This element contains one or multiple <Contact> elements.

Contact

This element has only one attribute:

  • xmlns: Is always set to http://www.msn.com/webservices/AddressBook.
contactId

This element only contains the GUID of the contact you would like to modify.

contactInfo

For more information about this element, read the <contactInfo> article.

The most relevant children are:

  • <displayName>: The new display name for this contact.
propertiesChanged

This element only contains the space delimited list of updated items in <contactInfo>. The valid values are the following:

  • DisplayName
  • ContactFirstName
  • ContactLastName
  • Comment
  • MiddleName
  • ContactPrimaryEmailType
  • ContactEmail
  • ContactLocation
  • ContactPhone
  • ContactWebSite
  • Annotation

Server/Response

The template used in this action is described on the Address Book Service main page.

ABContactUpdate

This empty element has only one attribute:

  • xmlns: Is always set to http://www.msn.com/webservices/AddressBook.