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

54 lines
1.7 KiB
Markdown
Raw Normal View History

# Introduction
`ABContactUpdate` is one of the SOAP actions the [Address Book Service](../abservice.md) 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](../sharingservice.md).
# Client/Request
The template used in this action is described on the [Address Book Service](../abservice.md) 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](../abservice.md) GUID.
### contacts
This element contains one or multiple [`<Contact>`](#contact-elements) 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>`](contactinfo.md) 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](../abservice.md) main page.
## ABContactUpdate
This empty element has only one attribute:
* `xmlns`: Is always set to `http://www.msn.com/webservices/AddressBook`.