CreditLimitOkay

Smile emits this message when an account that had exceeded its credit limit is within the limit again.

Message header

The following table lists the parameters in the CreditLimitOkay message header.

Table 1. CreditLimitOkay header parameters
Parameter Type Values
sid integer The service ID
usn string The unique subscription ID number for the subscription
creditLimit string The credit limit for the subscription or account
balance string The balance of the account associated with the subscription
currency string The ISO 4217 currency code of the account associated with the
 subscription
smileMessageType string "CreditLimitOkay"

Message body

The message body contains the <Subscription> element and has the following format:
{http://xml.inomial.com/smile/2.xsd}Subscription

Example: The <Subscription> element

This example shows a Subscription XML document that contains the <Subscription> element.

<Subscription xmlns="http://xml.inomial.com/smile/2.xsd">
  <USN>2142426838</USN>
  <SID>286</SID>
  <ServiceName>Test service 286</ServiceName>
  <Parent>2142426820</Parent>
  <Properties>
    <Object>
      <String name="username">joe.smith@example.com</String>
      <Boolean name="billPrintName">false</Boolean>
      <Boolean name="streetPrintName">true</Boolean>
    </Object>
  </Properties>
  <ProvisionStatus>Provisioned</ProvisionStatus>
  <SuspendStatus>Active</SuspendStatus>
  <ActivateStatus>Activated</ActivateStatus>
  <EnableStatus>Enabled</EnableStatus>
  <InvoicingCycle>
    <CycleType>Anniversary</CycleType>
    <CycleDay>24</CycleDay>
  </InvoicingCycle>
  <RatingCycle>
    <CycleType>Anniversary</CycleType>
    <CycleDay>24</CycleDay>
  </RatingCycle>
  <Timezone key="19">Australia/Sydney</Timezone>
  <CostCentre key="1">Example cost centre</CostCentre>
</Subscription>