AccountUpdated
Smile emits this message when an account is updated.
Message header
The following table lists the parameters in the AccountUpdated message header.
Parameter | Type | Values |
---|---|---|
sid | integer | The service ID |
accountUsn | string | The unique ID for the account |
company | integer | The company ID of the account |
smileMessageType | string | "AccountUpdated" |
Message body
The message body contains the <Account> element and has the following
format:
{http://xml.inomial.com/smile/2.xsd}Account
Example: The <Account> element
This example shows an Account XML document that contains the <Account> element.
<Account xmlns="http://xml.inomial.com/smile/2.xsd">
<USN>2142421540</USN>
<AccountType key="1">Standard Account</AccountType>
<InvoicingCycle>
<CycleType>Anniversary</CycleType>
<CycleDay>31</CycleDay>
</InvoicingCycle>
<RatingCycle>
<CycleType>Anniversary</CycleType>
<CycleDay>31</CycleDay>
</RatingCycle>
<Timezone key="13">Australia/Melbourne</Timezone>
<AccountTerms key="326">Exception terms</AccountTerms>
<Properties>
<Object>
<String name="abn"/>
<String name="billAddress"/>
<String name="billBuildingName"/>
<String name="billCountry"/>
<String name="billFloorNumber"/>
<String name="billLotNumber"/>
<String name="billName"/>
<String name="billNumber"/>
<String name="billPostCode"/>
<String name="billPostalDeliveryType"/>
<String name="billState"/>
<String name="billSubUnit"/>
<String name="billSuburb"/>
<String name="billType"/>
<String name="comments"/>
<String name="companyPosition"/>
<String name="contactFamily"/>
<String name="contactGiven"/>
<String name="contactTitle"/>
<String name="emailAddress"/>
<String name="fax"/>
<String name="homePhone"/>
<String name="jabberAddress"/>
<String name="mobilePhone"/>
<String name="name"/>
<String name="secretAnswer"/>
<String name="secretQuestion"/>
<String name="sex"/>
<String name="streetAddress"/>
<String name="streetBuildingName"/>
<String name="streetCountry"/>
<String name="streetFloorNumber"/>
<String name="streetLotNumber"/>
<String name="streetName"/>
<String name="streetNumber"/>
<String name="streetPostalDeliveryType"/>
<String name="streetPostcode"/>
<String name="streetState"/>
<String name="streetSubUnit"/>
<String name="streetSuburb"/>
<String name="streetType"/>
<String name="tradingName"/>
<String name="workPhone"/>
<String name="username">2142421540</String>
<String name="alternateAccountNumber"/>
<Integer name="preferredHomeContactTime"/>
<Integer name="preferredMobileContactTime"/>
<Integer name="preferredWorkContactTime"/>
<Boolean name="billPrintName">false</Boolean>
<Boolean name="streetPrintName">true</Boolean>
<Timestamp name="dob">2019-08-02T00:00:00.000+10:00</Timestamp>
</Object>
</Properties>
</Account>