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>

ElementDescriptionData TypeAddUpdate
AddressThe address of the user.AddressRequiredOptional
ContactByPhoneA 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.booleanOptionalOptional
ContactByPostalMailA 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.booleanOptionalOptional
EmailThe 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.

Note: 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.
stringRequiredOptional
EmailFormatThe 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 Value SetOptionalOptional
FaxThe fax telephone number of the user. The telephone number can contain a maximum of 100 characters.stringOptionalOptional
HomePhoneThe home telephone number of the user. The telephone number can contain a maximum of 100 characters.stringOptionalOptional
IdThe system generated identifier of the object.longRead-onlyRequired
MobileThe mobile telephone number of the user. The telephone number can contain a maximum of 100 characters.stringOptionalOptional
Phone1The primary telephone number of the user. The telephone number can contain a maximum of 100 characters.stringRequiredOptional
Phone2An alternate telephone number for the user. The telephone number can contain a maximum of 100 characters.stringOptionalOptional

CustomerManagementService.svc v9

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

User

Show: