Table of Contents
Target Namespace |
http://4psa.com/ResellerMessages.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/ResellerMessages.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/ResellerMessagesInfo.xsd/2.0.0 |
xs
|
http://www.w3.org/2001/XMLSchema |
resellerData
|
http://4psa.com/ResellerData.xsd/2.0.0 |
Schema Component Representation
<
xs:schema
targetNamespace="
http://4psa.com/ResellerMessages.xsd/2.0.0"
elementFormDefault="
qualified"
id="
ResellerMessages">
<xs:import
namespace="http://4psa.com/ResellerData.xsd/2.0.0" schemaLocation="ResellerData.xsd"/>
<xs:import
namespace="http://4psa.com/ResellerMessagesInfo.xsd/2.0.0" schemaLocation="ResellerMessagesInfo.xsd"/>
<xs:import
namespace="http://4psa.com/Common.xsd/2.0.0" schemaLocation="../Common.xsd"/>
...
</
xs:schema>
Name |
AddResellerRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Add reseller: request |
XML Instance Representation
<AddResellerRequest>
<!-- '
clientData:ClientInfo
' super type was not found in this schema. Some elements and attributes may be missing. -->
Start Choice [1]
<channelRuleID>
common:positiveInteger
</channelRuleID>
[0..1]
'Outgoing routing rules group ID. Only for charging plan disabled'
Start Choice [1]
<chargingPlanIdentifier>
common:string
</chargingPlanIdentifier>
[0..1]
'Charging plan identifier'
End Choice
End Choice
Start Choice [1]
<parentIdentifier>
common:string
</parentIdentifier>
[0..1]
'Owner identifier'
End Choice
<verbose>
common:boolean
</verbose>
[0..1]
'Response verbosity. Set 1 to receive detailed information on newly created account'
<notifyOnly>
xs:decimal </notifyOnly>
[0..1]
'Mask of 4 bits to setup notification preferences ARCE (ADMIN{0/1}, RESELLER{0/1}, CLIENT{0/1}, EXTENSION{0/1})'
<scope>
common:string
</scope>
[0..1]
'Scope identifier for the enrollment server. Scope:automation is reserved for VoipNow Automation'
</AddResellerRequest>
Schema Component Representation
<
xs:element
name="
AddResellerRequest">
<
xs:complexType>
<
xs:complexContent>
<
xs:extension
base="
resellerData:ResellerInfo
">
<
xs:sequence>
<
xs:choice>
<
xs:element
name="
parentIdentifier"
type="
common:string
"
minOccurs="
0"/>
</
xs:choice>
<
xs:element
name="
verbose"
type="
common:boolean
"
default="
0"
minOccurs="
0"/>
<
xs:element
name="
notifyOnly"
type="
xs:decimal
"
minOccurs="
0"/>
<
xs:element
name="
scope"
type="
common:string
"
minOccurs="
0"/>
</
xs:sequence>
</
xs:extension>
</
xs:complexContent>
</
xs:complexType>
</
xs:element>
Name |
AddResellerResponse |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Add reseller: response |
XML Instance Representation
<AddResellerResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<template>
common:string
</template>
[0..1]
'Reseller template'
</AddResellerResponse>
Schema Component Representation
<
xs:element
name="
AddResellerResponse">
<
xs:complexType>
<
xs:complexContent>
<
xs:extension
base="
messagesInfo:GetResellerDetailsResponseType
">
<
xs:sequence>
<
xs:element
name="
result"
minOccurs="
0">
<
xs:simpleType>
<
xs:restriction
base="
xs:string
">
<xs:enumeration
value="success"/>
<xs:enumeration
value="partial"/>
<xs:enumeration
value="failure"/>
</
xs:restriction>
</
xs:simpleType>
</
xs:element>
<
xs:element
name="
notice"
type="
common:notice
"
minOccurs="
0"
maxOccurs="
unbounded"/>
<
xs:element
name="
template"
type="
common:string
"
minOccurs="
0"/>
</
xs:sequence>
</
xs:extension>
</
xs:complexContent>
</
xs:complexType>
</
xs:element>
Name |
DelResellerRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Delete reseller: request |
XML Instance Representation
<DelResellerRequest>
Start Choice [1]
<identifier>
common:string
</identifier>
[1..*]
'Reseller identifiers'
End Choice
</DelResellerRequest>
Schema Component Representation
<
xs:element
name="
DelResellerRequest">
<
xs:complexType>
<
xs:choice>
<
xs:element
name="
identifier"
type="
common:string
"
maxOccurs="
unbounded"/>
</
xs:choice>
</
xs:complexType>
</
xs:element>
Name |
DelResellerResponse |
Type |
common:delObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Delete reseller: response |
XML Instance Representation
<DelResellerResponse>
<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'
</DelResellerResponse>
Name |
EditResellerRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Edit reseller: request |
XML Instance Representation
<EditResellerRequest>
<!-- '
clientData:ClientInfo
' super type was not found in this schema. Some elements and attributes may be missing. -->
Start Choice [1]
<channelRuleID>
common:positiveInteger
</channelRuleID>
[0..1]
'Outgoing routing rules group ID. Only for charging plan disabled'
Start Choice [1]
<chargingPlanIdentifier>
common:string
</chargingPlanIdentifier>
[0..1]
'Charging plan identifier'
End Choice
End Choice
Start Choice [1]
<identifier>
common:string
</identifier>
[0..1]
'Reseller identifier'
End Choice
</EditResellerRequest>
Schema Component Representation
<
xs:element
name="
EditResellerRequest">
<
xs:complexType>
<
xs:complexContent>
</
xs:complexContent>
</
xs:complexType>
</
xs:element>
Name |
EditResellerResponse |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Edit reseller: response |
XML Instance Representation
<EditResellerResponse>
<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]
'User unique identifier'
</EditResellerResponse>
Schema Component Representation
<
xs:element
name="
EditResellerResponse">
<
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 |
GetResellerDetailsRequest |
Type |
Locally-defined complex type |
Nillable |
yes |
Abstract |
no |
Documentation |
Get details reseller data: request |
XML Instance Representation
<GetResellerDetailsRequest>
Start Choice [1]
<identifier>
common:string
</identifier>
[0..1]
'Reseller identifier'
End Choice
</GetResellerDetailsRequest>
Schema Component Representation
<
xs:element
name="
GetResellerDetailsRequest"
nillable="
true">
<
xs:complexType>
<
xs:choice>
<
xs:element
name="
identifier"
type="
common:string
"
minOccurs="
0"/>
</
xs:choice>
</
xs:complexType>
</
xs:element>
XML Instance Representation
<GetResellerDetailsResponse>
</GetResellerDetailsResponse>
Name |
GetResellerPLRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Get reseller preferences and limits: request |
XML Instance Representation
<GetResellerPLRequest>
Start Choice [1]
<identifier>
common:string
</identifier>
[1]
'Reseller identifier'
End Choice
</GetResellerPLRequest>
Schema Component Representation
<
xs:element
name="
GetResellerPLRequest">
<
xs:complexType>
</
xs:complexType>
</
xs:element>
XML Instance Representation
<GetResellerPLResponse>
</GetResellerPLResponse>
Name |
GetResellersRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Get resellers: request |
XML Instance Representation
<GetResellersRequest>
<serverID>
common:string
</serverID>
[0..1]
'Set CTRLPANEL to filter only account added from 4PSA VoipNow control panel'
<filter>
common:string
</filter>
[0..1]
'Filter resellers list after name, company, email, login'
<scope>
common:string
</scope>
[0..1]
'Scope identifier for the enrollment server. Scope:automation is reserved for VoipNow Automation'
Start Choice [1]
<parentIdentifier>
common:string
</parentIdentifier>
[0..1]
'Owner identifier'
End Choice
</GetResellersRequest>
Schema Component Representation
<
xs:element
name="
GetResellersRequest">
<
xs:complexType>
<
xs:sequence>
<
xs:element
name="
serverID"
type="
common:string
"
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="
parentIdentifier"
type="
common:string
"
minOccurs="
0"/>
</
xs:choice>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
XML Instance Representation
<GetResellersResponse>
</GetResellersResponse>
Name |
SetResellerCpAccessRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Change reseller control panel access:request |
XML Instance Representation
<SetResellerCpAccessRequest>
Start Choice [1]
<identifier>
common:string
</identifier>
[1]
'Reseller identifier'
End Choice
</SetResellerCpAccessRequest>
Schema Component Representation
<
xs:element
name="
SetResellerCpAccessRequest">
<
xs:complexType>
<
xs:sequence>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
Name |
SetResellerCpAccessResponse |
Type |
common:updateObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Change reseller control panel access: response |
XML Instance Representation
<SetResellerCpAccessResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<notice>
notice
</notice>
[0..*]
</SetResellerCpAccessResponse>
Name |
SetResellerPLRequest |
Type |
resellerData:ResellerPLInfo
|
Nillable |
no |
Abstract |
no |
Documentation |
Update reseller preferences and limits: request |
XML Instance Representation
<SetResellerPLRequest>
<!-- '
clientData:ClientPLInfo
' super type was not found in this schema. Some elements and attributes may be missing. -->
<clientManag>
common:boolean
</clientManag>
[0..1]
'Client Management'
<stackedManag>
common:boolean
</stackedManag>
[0..1]
'See Stacked Phone Numbers'
Start Choice [1]
<identifier>
common:string
</identifier>
[1]
'Reseller identifier'
End Choice
</SetResellerPLRequest>
Name |
SetResellerPLResponse |
Type |
common:updateObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Update reseller references and limits: response |
XML Instance Representation
<SetResellerPLResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<notice>
notice
</notice>
[0..*]
</SetResellerPLResponse>
Name |
SetResellerStatusRequest |
Type |
Locally-defined complex type |
Nillable |
no |
Abstract |
no |
Documentation |
Change reseller status:request |
XML Instance Representation
<SetResellerStatusRequest>
<phoneStatus>
xs:string (value comes from list: {'1'|'16'|'32'|'64'}) </phoneStatus>
[0..1]
'Reseller phone status. Default value:1.'
<scope>
common:string
</scope>
[0..1]
'Scope identifier for the enrollment server. Scope:automation is reserved for VoipNow Automation'
Start Choice [1]
<identifier>
common:string
</identifier>
[1]
'Reseller identifier'
End Choice
</SetResellerStatusRequest>
Schema Component Representation
<
xs:element
name="
SetResellerStatusRequest">
<
xs:complexType>
<
xs:sequence>
<
xs:element
name="
status"
type="
common:boolean
"
minOccurs="
0"/>
<
xs:element
name="
phoneStatus"
default="
1"
minOccurs="
0">
<
xs:simpleType>
<
xs:restriction
base="
xs:string
">
<xs:enumeration
value="1"/>
<xs:enumeration
value="16"/>
<xs:enumeration
value="32"/>
<xs:enumeration
value="64"/>
</
xs:restriction>
</
xs:simpleType>
</
xs:element>
<
xs:element
name="
scope"
type="
common:string
"
default="
automation"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
</
xs:element>
Name |
SetResellerStatusResponse |
Type |
common:updateObject
|
Nillable |
no |
Abstract |
no |
Documentation |
Change reseller status: response |
XML Instance Representation
<SetResellerStatusResponse>
<result>
xs:string (value comes from list: {'success'|'partial'|'failure'}) </result>
[0..1]
'Operation result'
<notice>
notice
</notice>
[0..*]
</SetResellerStatusResponse>