Table of Contents
Target Namespace |
http://4psa.com/BillingMessages.xsd/2.0.0
|
Element and Attribute Namespaces |
- Global element and attribute declarations belong to this schema's target namespace.
- By default, local element declarations belong to this schema's target namespace.
- By default, local attribute declarations have no namespace.
|
Schema Composition |
- This schema imports schema(s) from the following namespace(s):
|
Declared Namespaces
Prefix |
Namespace |
Default namespace
|
http://4psa.com/BillingMessages.xsd/2.0.0
|
common
|
http://4psa.com/Common.xsd/2.0.0 |
xml
|
http://www.w3.org/XML/1998/namespace |
messagesInfo
|
http://4psa.com/BillingMessagesInfo.xsd/2.0.0 |
xs
|
http://www.w3.org/2001/XMLSchema |
BillingData
|
http://4psa.com/BillingData.xsd/2.0.0 |
Schema Component Representation
<
xs:schema
targetNamespace="
http://4psa.com/BillingMessages.xsd/2.0.0"
elementFormDefault="
qualified"
id="
BillingMessages">
<xs:import
namespace="http://4psa.com/BillingData.xsd/2.0.0" schemaLocation="BillingData.xsd"/>
<xs:import
namespace="http://4psa.com/BillingMessagesInfo.xsd/2.0.0" schemaLocation="BillingMessagesInfo.xsd"/>
<xs:import
namespace="http://4psa.com/Common.xsd/2.0.0" schemaLocation="../Common.xsd"/>
...
</
xs:schema>
Name |
AddChargingPackageRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Add free minutes package: request. |
XML Instance Representation
<AddChargingPackageRequest>
</AddChargingPackageRequest>
Schema Component Representation
<
xs:element
name="
AddChargingPackageRequest">
<
xs:complexType>
<
xs:complexContent>
</
xs:complexContent>
</
xs:complexType>
</
xs:element>
Name |
AddChargingPackageResponse |
Type |
common:updateObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Add free minutes package: response. |
XML Instance Representation
<AddChargingPackageResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<notice>
notice
</notice>
[0..*]
</AddChargingPackageResponse>
Name |
AddChargingPlanRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Add charging plan: request |
XML Instance Representation
<AddChargingPlanRequest>
<default>
common:boolean
</default>
[0..1]
'Set default charging plan'
<allowIn>
common:boolean
</allowIn>
[0..1]
'Allow incoming calls. Default value: 0 on add operation'
<allowOut>
common:boolean
</allowOut>
[0..1]
'Allow outgoing external calls. Default value: 0 on add operation'
<allowExtended>
common:boolean
</allowExtended>
[0..1]
'Allow outgoing extended local calls. Default value: 0 on add operation'
<planType>
common:string
</planType>
[0..1]
'Charging plan type: prepaid or postpaid. Default prepaid.'
<includedCreditOut>
common:unlimitedUFloat
</includedCreditOut>
[0..1]
'Limit for external outgoing calls'
<externalUsageRule>
[0..1]
'External outgoing over usage: {mulFactor} x {externalMin} included outgoing minutes + {addFactor} minutes'
</externalUsageRule>
<externalMin>
[0..*]
'Available outgoing external minutes: {minutes} in time interval {intervalID}'
</externalMin>
<chargeOut>
common:integer
</chargeOut>
[0..1]
'Charge outgoing indivisible for the first {chargeOut} seconds. Default: 60 seconds.'
<thenChargeOut>
common:integer
</thenChargeOut>
[0..1]
'Then charge every {thenChargeOut} seconds. Default: 10 seconds.'
<chargeIn>
common:integer
</chargeIn>
[0..1]
'Charge external incoming indivisible for the first {chargeIn} seconds. Default: 60 seconds.'
<thenChargeIn>
common:integer
</thenChargeIn>
[0..1]
'Then charge every {thenChargeIn} seconds. Default: 10 seconds.'
<chargeMethod>
xs:string (value comes from list: {'fixed'|'inherit'}) </chargeMethod>
[0..1]
'Charge method. Default value: fixed.'
Start Choice [1]
'Either of'
<fixedCharge>
[0..1]
'Fixed prices charge method. Send only if {chargeMethod} value is fixed'
<directCalls>
xs:float </directCalls>
[0..1]
'Charge direct calls'
<external>
[0..*]
'Charge external outgoing calls : {charge} /second in time interval {intervalId}'
<charge>
xs:float </charge>
[1]
</external>
<externalIncoming>
xs:float </externalIncoming>
[0..1]
'Charge external incoming calls'
<outsideInterval>
xs:float </outsideInterval>
[0..1]
'External charge outside time intervals'
</fixedCharge>
<inheritedCharge>
[0..1]
'Relative to call cost charge method. Send only if {chargeMethod} value is inherited'
<directCalls>
[0..1]
'Charge direct calls: {mulFactor} x call cost + {adjustment} /second'
<mulFactor>
xs:float </mulFactor>
[1]
<adjustment>
xs:float </adjustment>
[1]
</directCalls>
<external>
[0..1]
'Charge external outgoing calls: {mulFactor} x call cost + {adjustment} /second'
<mulFactor>
xs:float </mulFactor>
[1]
<adjustment>
xs:float </adjustment>
[1]
</external>
<externalIncoming>
[0..1]
'Charge external incoming calls: {mulFactor} x call cost + {adjustment} /second'
<mulFactor>
xs:float </mulFactor>
[1]
<adjustment>
xs:float </adjustment>
[1]
</externalIncoming>
</inheritedCharge>
End Choice
<soundID>
common:positiveInteger
</soundID>
[0..1]
'Custom sound file played when outgoing access is blocked'
Start Choice [1]
<userIdentifier>
common:string
</userIdentifier>
[0..1]
'Charging plan owner identifier'
<userLogin>
common:string
</userLogin>
[0..1]
'Charging plan owner login'
End Choice
<forceChannelRule>
common:boolean
</forceChannelRule>
[0..1]
'Create charging plan with default outgoing routing rules group if channelRuleID is not valid'
<exception>
[0..*]
'Destination exceptions'
<charge>
[0..1]
<initialAmount>
xs:float </initialAmount>
[0..1]
'For fixed charging plans ONLY'
<initialInterval>
common:integer
</initialInterval>
[0..1]
'For fixed charging plans ONLY'
<amount>
xs:float </amount>
[1]
<setupAmount>
xs:float </setupAmount>
[0..1]
'For inherited charging plans ONLY'
</charge>
<package>
[0..1]
'Free minutes package'
<minutes>
xs:float </minutes>
[1]
</package>
</exception>
<scope>
common:string
</scope>
[0..1]
'Scope identifier for the enrollment server. Scope:automation is reserved for VoipNow Automation'
</AddChargingPlanRequest>
Schema Component Representation
<
xs:element
name="
AddChargingPlanRequest">
<
xs:complexType>
<
xs:complexContent>
<
xs:extension
base="
BillingData:ChargingPlanInfo
">
<
xs:sequence>
<
xs:choice>
<
xs:element
name="
userIdentifier"
type="
common:string
"
minOccurs="
0"/>
<
xs:element
name="
userLogin"
type="
common:string
"
minOccurs="
0"/>
</
xs:choice>
<
xs:element
name="
forceChannelRule"
type="
common:boolean
"
default="
1"
minOccurs="
0"/>
<
xs:element
name="
exception"
minOccurs="
0"
maxOccurs="
unbounded">
<
xs:complexType>
<
xs:sequence>
<
xs:element
name="
areaCode"
type="
common:string
"
minOccurs="
0"/>
<
xs:element
name="
description"
type="
common:string
"
minOccurs="
0"/>
<
xs:element
name="
charge"
minOccurs="
0">
<
xs:complexType>
<
xs:sequence>
<
xs:element
name="
initialAmount"
type="
xs:float
"
minOccurs="
0"/>
<
xs:element
name="
initialInterval"
type="
common:integer
"
minOccurs="
0"/>
<
xs:element
name="
amount"
type="
xs:float
"/>
<
xs:element
name="
setupAmount"
type="
xs:float
"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
<
xs:element
name="
package"
minOccurs="
0">
<
xs:complexType>
<
xs:sequence>
<
xs:element
name="
minutes"
type="
xs:float
"/>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
<
xs:element
name="
scope"
type="
common:string
"
minOccurs="
0"/>
</
xs:sequence>
</
xs:extension>
</
xs:complexContent>
</
xs:complexType>
</
xs:element>
Name |
AddChargingPlanResponse |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Add charging plan: response |
XML Instance Representation
<AddChargingPlanResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<notice>
notice
</notice>
[0..*]
<identifier>
common:string
</identifier>
[0..1]
'Unique client identifier'
</AddChargingPlanResponse>
Schema Component Representation
<
xs:element
name="
AddChargingPlanResponse">
<
xs:complexType>
<
xs:complexContent>
<
xs:extension
base="
common:updateObject
">
<
xs:sequence>
<
xs:element
name="
identifier"
type="
common:string
"
minOccurs="
0"/>
</
xs:sequence>
</
xs:extension>
</
xs:complexContent>
</
xs:complexType>
</
xs:element>
Name |
AddDestinationExceptionRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Add destination exception charge: request. |
XML Instance Representation
<AddDestinationExceptionRequest>
</AddDestinationExceptionRequest>
Schema Component Representation
<
xs:element
name="
AddDestinationExceptionRequest">
<
xs:complexType>
<
xs:sequence>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
Name |
AddDestinationExceptionResponse |
Type |
common:updateObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Add destination exception charge: response. |
XML Instance Representation
<AddDestinationExceptionResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<notice>
notice
</notice>
[0..*]
</AddDestinationExceptionResponse>
Name |
DelChargingPackageRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Remove free minutes package: request. |
XML Instance Representation
<DelChargingPackageRequest>
</DelChargingPackageRequest>
Schema Component Representation
<
xs:element
name="
DelChargingPackageRequest">
<
xs:complexType>
<
xs:sequence>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
Name |
DelChargingPackageResponse |
Type |
common:delObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Remove free minutes package: response. |
XML Instance Representation
<DelChargingPackageResponse>
<items>
xs:integer </items>
[0..1]
'Number of affected items'
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
</DelChargingPackageResponse>
Name |
DelChargingPlanRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Delete charging plans: request. |
XML Instance Representation
<DelChargingPlanRequest>
<timeIntervalRemoval>
common:boolean
</timeIntervalRemoval>
[0..1]
'Remove also time intervals used by this charging plan'
Start Choice [1]
<identifier>
common:string
</identifier>
[1..*]
'Charging plan identifier'
End Choice
</DelChargingPlanRequest>
Schema Component Representation
<
xs:element
name="
DelChargingPlanRequest">
<
xs:complexType>
<
xs:sequence>
<
xs:element
name="
timeIntervalRemoval"
type="
common:boolean
"
minOccurs="
0"/>
<
xs:choice>
<
xs:element
name="
identifier"
type="
common:string
"
maxOccurs="
unbounded"/>
</
xs:choice>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
Name |
DelChargingPlanResponse |
Type |
common:delObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Delete charging plans: response. |
XML Instance Representation
<DelChargingPlanResponse>
<items>
xs:integer </items>
[0..1]
'Number of affected items'
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
</DelChargingPlanResponse>
Name |
DelDestinationExceptionRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Remove destination exception charge: request. |
XML Instance Representation
<DelDestinationExceptionRequest>
</DelDestinationExceptionRequest>
Schema Component Representation
<
xs:element
name="
DelDestinationExceptionRequest">
<
xs:complexType>
<
xs:sequence>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
Name |
DelDestinationExceptionResponse |
Type |
common:delObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Remove destination exception charge: response. |
XML Instance Representation
<DelDestinationExceptionResponse>
<items>
xs:integer </items>
[0..1]
'Number of affected items'
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
</DelDestinationExceptionResponse>
Schema Component Representation
<
xs:element
name="
DelDestinationExceptionResponse"
type="
common:delObject
"/>
Name |
DelMonthlyLimitRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Delete recharge monthly limit: request. |
XML Instance Representation
<DelMonthlyLimitRequest>
Start Choice [1]
<userIdentifier>
common:string
</userIdentifier>
[1]
'User identifier'
End Choice
</DelMonthlyLimitRequest>
Schema Component Representation
<
xs:element
name="
DelMonthlyLimitRequest">
<
xs:complexType>
</
xs:complexType>
</
xs:element>
Name |
DelMonthlyLimitResponse |
Type |
common:delObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Delete recharge monthly limit: response. |
XML Instance Representation
<DelMonthlyLimitResponse>
<items>
xs:integer </items>
[0..1]
'Number of affected items'
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
</DelMonthlyLimitResponse>
Name |
EditChargingPackageRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Edit free minutes package: request. |
XML Instance Representation
<EditChargingPackageRequest>
</EditChargingPackageRequest>
Schema Component Representation
<
xs:element
name="
EditChargingPackageRequest">
<
xs:complexType>
<
xs:complexContent>
</
xs:complexContent>
</
xs:complexType>
</
xs:element>
Name |
EditChargingPackageResponse |
Type |
common:updateObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Edit free minutes package: response. |
XML Instance Representation
<EditChargingPackageResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<notice>
notice
</notice>
[0..*]
</EditChargingPackageResponse>
Name |
EditChargingPlanRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Edit charging plan: request |
XML Instance Representation
<EditChargingPlanRequest>
<default>
common:boolean
</default>
[0..1]
'Set default charging plan'
<allowIn>
common:boolean
</allowIn>
[0..1]
'Allow incoming calls. Default value: 0 on add operation'
<allowOut>
common:boolean
</allowOut>
[0..1]
'Allow outgoing external calls. Default value: 0 on add operation'
<allowExtended>
common:boolean
</allowExtended>
[0..1]
'Allow outgoing extended local calls. Default value: 0 on add operation'
<planType>
common:string
</planType>
[0..1]
'Charging plan type: prepaid or postpaid. Default prepaid.'
<includedCreditOut>
common:unlimitedUFloat
</includedCreditOut>
[0..1]
'Limit for external outgoing calls'
<externalUsageRule>
[0..1]
'External outgoing over usage: {mulFactor} x {externalMin} included outgoing minutes + {addFactor} minutes'
</externalUsageRule>
<externalMin>
[0..*]
'Available outgoing external minutes: {minutes} in time interval {intervalID}'
</externalMin>
<chargeOut>
common:integer
</chargeOut>
[0..1]
'Charge outgoing indivisible for the first {chargeOut} seconds. Default: 60 seconds.'
<thenChargeOut>
common:integer
</thenChargeOut>
[0..1]
'Then charge every {thenChargeOut} seconds. Default: 10 seconds.'
<chargeIn>
common:integer
</chargeIn>
[0..1]
'Charge external incoming indivisible for the first {chargeIn} seconds. Default: 60 seconds.'
<thenChargeIn>
common:integer
</thenChargeIn>
[0..1]
'Then charge every {thenChargeIn} seconds. Default: 10 seconds.'
<chargeMethod>
xs:string (value comes from list: {'fixed'|'inherit'}) </chargeMethod>
[0..1]
'Charge method. Default value: fixed.'
Start Choice [1]
'Either of'
<fixedCharge>
[0..1]
'Fixed prices charge method. Send only if {chargeMethod} value is fixed'
<directCalls>
xs:float </directCalls>
[0..1]
'Charge direct calls'
<external>
[0..*]
'Charge external outgoing calls : {charge} /second in time interval {intervalId}'
<charge>
xs:float </charge>
[1]
</external>
<externalIncoming>
xs:float </externalIncoming>
[0..1]
'Charge external incoming calls'
<outsideInterval>
xs:float </outsideInterval>
[0..1]
'External charge outside time intervals'
</fixedCharge>
<inheritedCharge>
[0..1]
'Relative to call cost charge method. Send only if {chargeMethod} value is inherited'
<directCalls>
[0..1]
'Charge direct calls: {mulFactor} x call cost + {adjustment} /second'
<mulFactor>
xs:float </mulFactor>
[1]
<adjustment>
xs:float </adjustment>
[1]
</directCalls>
<external>
[0..1]
'Charge external outgoing calls: {mulFactor} x call cost + {adjustment} /second'
<mulFactor>
xs:float </mulFactor>
[1]
<adjustment>
xs:float </adjustment>
[1]
</external>
<externalIncoming>
[0..1]
'Charge external incoming calls: {mulFactor} x call cost + {adjustment} /second'
<mulFactor>
xs:float </mulFactor>
[1]
<adjustment>
xs:float </adjustment>
[1]
</externalIncoming>
</inheritedCharge>
End Choice
<soundID>
common:positiveInteger
</soundID>
[0..1]
'Custom sound file played when outgoing access is blocked'
Start Choice [1]
<identifier> ... </identifier>
[1]
'Charging plan identifier'
End Choice
</EditChargingPlanRequest>
Schema Component Representation
<
xs:element
name="
EditChargingPlanRequest">
<
xs:complexType>
<
xs:complexContent>
</
xs:complexContent>
</
xs:complexType>
</
xs:element>
Name |
EditChargingPlanResponse |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Edit charging plan: response |
XML Instance Representation
<EditChargingPlanResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<notice>
notice
</notice>
[0..*]
<identifier>
common:string
</identifier>
[0..1]
'Unique client identifier'
</EditChargingPlanResponse>
Schema Component Representation
<
xs:element
name="
EditChargingPlanResponse">
<
xs:complexType>
<
xs:complexContent>
<
xs:extension
base="
common:updateObject
">
<
xs:sequence>
<
xs:element
name="
identifier"
type="
common:string
"
minOccurs="
0"/>
</
xs:sequence>
</
xs:extension>
</
xs:complexContent>
</
xs:complexType>
</
xs:element>
Name |
EditDestinationExceptionRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Edit destination exception charge: request. |
XML Instance Representation
<EditDestinationExceptionRequest>
<charge>
[0..1]
<initialAmount>
xs:float </initialAmount>
[0..1]
'For fixed charging plans ONLY'
<initialInterval>
common:integer
</initialInterval>
[0..1]
'For fixed charging plans ONLY'
<amount>
xs:float </amount>
[0..1]
<setupAmount>
xs:float </setupAmount>
[0..1]
'For inherited charging plans ONLY'
</charge>
</EditDestinationExceptionRequest>
Schema Component Representation
<
xs:element
name="
EditDestinationExceptionRequest">
<
xs:complexType>
<
xs:complexContent>
</
xs:complexContent>
</
xs:complexType>
</
xs:element>
Name |
EditDestinationExceptionResponse |
Type |
common:updateObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Edit destination exception charge: response. |
XML Instance Representation
<EditDestinationExceptionResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<notice>
notice
</notice>
[0..*]
</EditDestinationExceptionResponse>
Name |
GetChargingPackagesRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Get free minutes packages: request. |
XML Instance Representation
<GetChargingPackagesRequest>
<chargingPlanID> ... </chargingPlanID>
[1]
'Charging plan ID'
<filter> ... </filter>
[0..1]
'Filter destination exception charges list after areaCode, description'
</GetChargingPackagesRequest>
Schema Component Representation
<
xs:element
name="
GetChargingPackagesRequest">
<
xs:complexType>
<
xs:sequence>
<xs:element
name="chargingPlanID"/>
<xs:element
name="filter" minOccurs="0"/>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
XML Instance Representation
<GetChargingPackagesResponse>
<package>
[0..*]
'Free minutes package list'
</package>
</GetChargingPackagesResponse>
Name |
GetChargingPlanDetailsRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Get charging plan details: request |
XML Instance Representation
<GetChargingPlanDetailsRequest>
Start Choice [1]
<identifier>
common:string
</identifier>
[0..1]
'Charging plan identifier'
End Choice
</GetChargingPlanDetailsRequest>
Schema Component Representation
<
xs:element
name="
GetChargingPlanDetailsRequest">
<
xs:complexType>
<
xs:choice>
<
xs:element
name="
identifier"
type="
common:string
"
minOccurs="
0"/>
</
xs:choice>
</
xs:complexType>
</
xs:element>
XML Instance Representation
<GetChargingPlanDetailsResponse>
<chargingPlan>
[0..1]
'A charging plans list on success'
<default>
common:boolean
</default>
[0..1]
'Set default charging plan'
<allowIn>
common:boolean
</allowIn>
[0..1]
'Allow incoming calls. Default value: 0 on add operation'
<allowOut>
common:boolean
</allowOut>
[0..1]
'Allow outgoing external calls. Default value: 0 on add operation'
<allowExtended>
common:boolean
</allowExtended>
[0..1]
'Allow outgoing extended local calls. Default value: 0 on add operation'
<planType>
common:string
</planType>
[0..1]
'Charging plan type: prepaid or postpaid. Default prepaid.'
<includedCreditOut>
common:unlimitedUFloat
</includedCreditOut>
[0..1]
'Limit for external outgoing calls'
<externalUsageRule>
[0..1]
'External outgoing over usage: {mulFactor} x {externalMin} included outgoing minutes + {addFactor} minutes'
</externalUsageRule>
<externalMin>
[0..*]
'Available outgoing external minutes: {minutes} in time interval {intervalID}'
</externalMin>
<chargeOut>
common:integer
</chargeOut>
[0..1]
'Charge outgoing indivisible for the first {chargeOut} seconds. Default: 60 seconds.'
<thenChargeOut>
common:integer
</thenChargeOut>
[0..1]
'Then charge every {thenChargeOut} seconds. Default: 10 seconds.'
<chargeIn>
common:integer
</chargeIn>
[0..1]
'Charge external incoming indivisible for the first {chargeIn} seconds. Default: 60 seconds.'
<thenChargeIn>
common:integer
</thenChargeIn>
[0..1]
'Then charge every {thenChargeIn} seconds. Default: 10 seconds.'
<chargeMethod>
xs:string (value comes from list: {'fixed'|'inherit'}) </chargeMethod>
[0..1]
'Charge method. Default value: fixed.'
Start Choice [1]
'Either of'
<fixedCharge>
[0..1]
'Fixed prices charge method. Send only if {chargeMethod} value is fixed'
<directCalls>
xs:float </directCalls>
[0..1]
'Charge direct calls'
<external>
[0..*]
'Charge external outgoing calls : {charge} /second in time interval {intervalId}'
<charge>
xs:float </charge>
[1]
</external>
<externalIncoming>
xs:float </externalIncoming>
[0..1]
'Charge external incoming calls'
<outsideInterval>
xs:float </outsideInterval>
[0..1]
'External charge outside time intervals'
</fixedCharge>
<inheritedCharge>
[0..1]
'Relative to call cost charge method. Send only if {chargeMethod} value is inherited'
<directCalls>
[0..1]
'Charge direct calls: {mulFactor} x call cost + {adjustment} /second'
<mulFactor>
xs:float </mulFactor>
[1]
<adjustment>
xs:float </adjustment>
[1]
</directCalls>
<external>
[0..1]
'Charge external outgoing calls: {mulFactor} x call cost + {adjustment} /second'
<mulFactor>
xs:float </mulFactor>
[1]
<adjustment>
xs:float </adjustment>
[1]
</external>
<externalIncoming>
[0..1]
'Charge external incoming calls: {mulFactor} x call cost + {adjustment} /second'
<mulFactor>
xs:float </mulFactor>
[1]
<adjustment>
xs:float </adjustment>
[1]
</externalIncoming>
</inheritedCharge>
End Choice
<soundID>
common:positiveInteger
</soundID>
[0..1]
'Custom sound file played when outgoing access is blocked'
<identifier>
common:string
</identifier>
[0..1]
'Charging plan identifier'
</chargingPlan>
</GetChargingPlanDetailsResponse>
Name |
GetChargingPlansRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Get charging plans: request |
XML Instance Representation
<GetChargingPlansRequest>
<default>
common:boolean
</default>
[0..1]
'Set to filter default charging plan'
<filter>
common:string
</filter>
[0..1]
'Filter charging plan list by charging plan name. Ignored when default filter in on.'
<scope>
common:string
</scope>
[0..1]
'Scope identifier for the enrollment server. Scope:automation is reserved for VoipNow Automation'
Start Choice [1]
<userIdentifier>
common:string
</userIdentifier>
[0..1]
'Charging plan owner identifier'
End Choice
</GetChargingPlansRequest>
Schema Component Representation
<
xs:element
name="
GetChargingPlansRequest">
<
xs:complexType>
<
xs:sequence>
<
xs:element
name="
default"
type="
common:boolean
"
minOccurs="
0"/>
<
xs:element
name="
filter"
type="
common:string
"
minOccurs="
0"/>
<
xs:element
name="
scope"
type="
common:string
"
minOccurs="
0"/>
<
xs:choice>
<
xs:element
name="
userIdentifier"
type="
common:string
"
minOccurs="
0"/>
</
xs:choice>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
XML Instance Representation
<GetChargingPlansResponse>
</GetChargingPlansResponse>
Name |
GetDestinationExceptionsRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Get destination exception charges: request. |
XML Instance Representation
<GetDestinationExceptionsRequest>
<chargingPlanID> ... </chargingPlanID>
[1]
'Charging plan ID'
<filter> ... </filter>
[0..1]
'Filter destination exception charges list after areaCode, description'
</GetDestinationExceptionsRequest>
Schema Component Representation
<
xs:element
name="
GetDestinationExceptionsRequest">
<
xs:complexType>
<
xs:sequence>
<xs:element
name="chargingPlanID"/>
<xs:element
name="filter" minOccurs="0"/>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
XML Instance Representation
<GetDestinationExceptionsResponse>
<exception>
[0..*]
'Destination exception charge'
<minutes>
common:integer
</minutes>
[0..1]
'Included free minutes'
<initialAmount>
xs:float </initialAmount>
[0..1]
<amount>
xs:float </amount>
[0..1]
<chargingPackage>
common:string
</chargingPackage>
[0..1]
'Free minutes package name'
</exception>
</GetDestinationExceptionsResponse>
Name |
GetRechargesRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Get user list of charging limits/credits: request |
XML Instance Representation
<GetRechargesRequest>
Start Choice [1]
<userIdentifier>
common:string
</userIdentifier>
[0..1]
'User identifier'
End Choice
</GetRechargesRequest>
Schema Component Representation
<
xs:element
name="
GetRechargesRequest">
<
xs:complexType>
<
xs:choice>
<
xs:element
name="
userIdentifier"
type="
common:string
"
minOccurs="
0"/>
</
xs:choice>
</
xs:complexType>
</
xs:element>
XML Instance Representation
<GetRechargesResponse>
Start Choice [1]
<credit>
[0..*]
<!-- '
Credits
' super type was not found in this schema. Some elements and attributes may be missing. -->
<crDate>
xs:dateTime </crDate>
[0..1]
'Creation date'
</credit>
End Choice
<planType>
xs:string (value comes from list: {'prepaid'|'postpaid'}) </planType>
[0..1]
'Charging plan type'
</GetRechargesResponse>
Name |
RechargeRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Add charging limits/credits to charging plan:request |
XML Instance Representation
<RechargeRequest>
Start Choice [1]
'Either of'
<limit>
BillingData:Limits
</limit>
[1]
'Charging plan limit definition: for postpaid charging plan'
<credit>
BillingData:Credits
</credit>
[1]
'Charging plan credit definiton: for prepaid charging plan'
End Choice
Start Choice [1]
<userIdentifier>
common:string
</userIdentifier>
[1]
'User for which the recharge is made'
End Choice
</RechargeRequest>
Schema Component Representation
<
xs:element
name="
RechargeRequest">
<
xs:complexType>
<
xs:sequence>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
Name |
RechargeResponse |
Type |
common:updateObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Add charging limits/credits to charging plan: response |
XML Instance Representation
<RechargeResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<notice>
notice
</notice>
[0..*]
</RechargeResponse>