Export (0) Print
Expand All

ContactInfo Data Object

Defines the contact information for a user.


<xs:complexType name="ContactInfo">
  <xs:sequence>
    <xs:element minOccurs="0" name="Address" nillable="true" type="tns:string" />
    <xs:element minOccurs="0" name="ContactByPhone" nillable="true" type="xsd:boolean" />
    <xs:element minOccurs="0" name="ContactByPostalMail" nillable="true" type=" xsd:boolean " />
    <xs:element minOccurs="0" name="Email" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="EmailFormat" nillable="true" type="tns:EmailFormat" />
    <xs:element minOccurs="0" name="Fax" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="HomePhone" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="Id" nillable="true" type="xsd:long" />
    <xs:element minOccurs="0" name="Mobile" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="Phone1" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="Phone2" nillable="true" type="xsd:string" />
  </xs:sequence>
</xs:complexType>

Elements

Element

Description

Data Type

Add

Update

Address

The address of the user.

Address

Required

Optional

ContactByPhone

A value that determines whether the user should be contacted by telephone. If true, the telephone number specified in the Phone1 element is used to contact the user.

boolean

Optional

Optional

ContactByPostalMail

A value that determines whether the user should be contacted by postal mail. If true, correspondence is sent to the address specified in the Address element.

boolean

Optional

Optional

Email

The email address is used to send the account activation notification to the user, and can contain a maximum of 100 characters.

If the user should be contacted by email, set the EmailFormat element to a valid format value.

System_CLiX_noteNote

The contact info email address may differ from the email address corresponding to the authenticated Microsoft Account. For more information, see the IsMigratedToMicrosoftAccount and UserName elements of the User Data Object.

string

Required

Optional

EmailFormat

The format of the body of an email message to use when correspondence is sent to the user (this does not apply to the activation notification email message).

You must set this element if you want the user contacted via email.

EmailFormat

Optional

Optional

Fax

The fax telephone number of the user. The telephone number can contain a maximum of 100 characters.

string

Optional

Optional

HomePhone

The home telephone number of the user. The telephone number can contain a maximum of 100 characters.

string

Optional

Optional

Id

The system generated identifier of the object.

long

Read-only

Required

Mobile

The mobile telephone number of the user. The telephone number can contain a maximum of 100 characters.

string

Optional

Optional

Phone1

The primary telephone number of the user. The telephone number can contain a maximum of 100 characters.

string

Required

Optional

Phone2

An alternate telephone number for the user. The telephone number can contain a maximum of 100 characters.

string

Optional

Optional

If you want correspondence, such as alerts, sent to the user, you must set one or more of the following elements:

  • ContactByPhone

  • ContactByPostalMail

  • EmailFormat

Requirements

CustomerManagementService.svc v9

Namespace: https://bingads.microsoft.com/Customer/v9

See Also

Reference

User Data Object

Community Additions

ADD
Show:
© 2015 Microsoft