msnp-wiki/docs/services/abservice/abcontactupdate.md
yellows111 f096fe907f
[0.1.3] ABGroup(Contact)*, parts of *Member (CSS)
rework XML stuff a bit, right now it's wildly inconsistent, but all the AB stuff should be fine

more ContactUpdate out of known because i didn't even KNOW that was an operation in sharingservice and noticed it looked weird being in known.

Add a SOAP template too.
2024-10-30 21:33:59 +00:00

56 lines
1.9 KiB
Markdown

# 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.
## ABContactUpdate
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>` 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.
* `<isMessengerUser>`: If this is set to `false`, this user is to be treated as a
e-mail contact instead of an Instant Messaging Contact.
##### propertiesChanged
This element only contains the space delimited list of updated items in `<contactInfo>`.
The valid values are the following:
* `DisplayName`
* `IsMessengerUser`
* `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`.