List Queries

List queries return information about service types, normalizers, product offers, price components, and rate tables.

GET /objects/ServiceTypeList/default shows the GET operation for the service type list.
Table 1. GET /objects/ServiceTypeList/default
URL
GET http://localhost:8080/matrixx/data/objects/ServiceTypeList/default
Response
<ServiceTypeList>    
    <ServiceType>     
        <ID>{Long}</ID>
        <REVISION>{Long}</REVISION>       
        <CORRECTION>{Long}</CORRECTION>        
        <EXTERNAL_ID>{String}</EXTERNAL_ID>
        <NAME>{String}</NAME>
        <DESC>{String}</DESC>          
    </ServiceType>
    ....
</ServiceTypeList>
Example
<ServiceTypeList>
    <ServiceType id='0-0'>
        <ID>0</ID>
        <REVISION>0</REVISION>
        <CORRECTION>0</CORRECTION>
        <EXTERNAL_ID />
        <NAME>usage</NAME>
        <DESC>usage</DESC>
    </ServiceType>
    <ServiceType id='1-0'>
        <ID>1</ID>
        <REVISION>0</REVISION>
        <CORRECTION>0</CORRECTION>
        <EXTERNAL_ID />
        <NAME>messaging</NAME>
        <DESC>messaging</DESC>
    </ServiceType>
    <ServiceType id='2-0'>
        <ID>2</ID>
        <REVISION>0</REVISION>
        <CORRECTION>0</CORRECTION>
        <EXTERNAL_ID />
        <NAME>gprs</NAME>
        <DESC>gprs</DESC>
    </ServiceType>
    <ServiceType id='3-0'>
        <ID>3</ID>
        <REVISION>0</REVISION>
        <CORRECTION>0</CORRECTION>
        <EXTERNAL_ID />
        <NAME>voice</NAME>
        <DESC>voice</DESC>
    </ServiceType>
    ....
</ServiceTypeList>
GET /objects/NormalizerList/default shows the GET operation for the Normalizer list.
Table 2. GET /objects/NormalizerList/default
URL
GET http://localhost:8080/matrixx/data/objects/NormalizerList/default
Response
<NormalizerList>    
    <Normalizer>        
        <ID>{Long}</ID>        
        <REVISION>{Long}</REVISION>        
        <CORRECTION>{Long}</CORRECTION>        
        <EXTERNAL_ID>{String}</EXTERNAL_ID>    
    </Normalizer>
    ....
</NormalizerList>
Example
<NormalizerList>
    <Normalizer id='2-0'>
        <ID>2</ID>
        <REVISION>0</REVISION>
        <CORRECTION>47</CORRECTION>
        <EXTERNAL_ID />
    </Normalizer>
    <Normalizer id='903-0'>
        <ID>903</ID>
        <REVISION>0</REVISION>
        <CORRECTION>1</CORRECTION>
        <EXTERNAL_ID />
    </Normalizer>
    ....
</NormalizerList>
GET /objects/OfferList/default shows the GET operation for the Offer list.
Table 3. GET /objects/OfferList/default
URL
GET http://localhost:8080/matrixx/data/objects/OfferList/default
Response
<OfferList>    
    <Offer>        
        <ID>{Long}</ID>        
        <REVISION>{Long}</REVISION>        
        <CORRECTION>{Long}</CORRECTION>        
        <EXTERNAL_ID>{String}</EXTERNAL_ID>
        <NAME>{String}</NAME>
        <DESC>{String}</DESC>    
    </Offer>
    ....
</OfferList>
Example
<OfferList>
    <Offer id='1-0'>
        <ID>1</ID>
        <REVISION>0</REVISION>
        <CORRECTION>0</CORRECTION>
        <EXTERNAL_ID>1</EXTERNAL_ID>
        <NAME>Flex_Data</NAME>
        <DESC />
    </Offer>
    <Offer id='2-0'>
        <ID>2</ID>
        <REVISION>0</REVISION>
        <CORRECTION>0</CORRECTION>
        <EXTERNAL_ID>2</EXTERNAL_ID>
        <NAME>Tiered_Voice</NAME>
        <DESC />
    </Offer>
    <Offer id='3-0'>
        <ID>3</ID>
        <REVISION>0</REVISION>
        <CORRECTION>0</CORRECTION>
        <EXTERNAL_ID>3</EXTERNAL_ID>
        <NAME>Basic_Voice</NAME>
        <DESC />
    </Offer>
    ....
</OfferList>
GET /objects/PriceList/default shows the GET operation for the Price list.
Table 4. GET /objects/PriceList/default
URL
GET http://localhost:8080/matrixx/data/objects/PriceList/default
Response
<PriceList>    
    <Price>        
        <ID>{Long}</ID>        
        <REVISION>{Long}</REVISION>        
        <CORRECTION>{Long}</CORRECTION>        
        <EXTERNAL_ID>{String}</EXTERNAL_ID>
        <NAME>{String}</NAME>
    </Price>
    ....
</PriceList>
<PriceComponentList>
    <PriceComponent>
        <ID>14</ID>
        <REVISION>0</REVISION>
        <CORRECTION>9</CORRECTION>
        <EXTERNAL_ID />
        <NAME>C-Voice</NAME>
    </PriceComponent>
    <PriceComponent>
        <ID>15</ID>
        <REVISION>0</REVISION>
        <CORRECTION>10</CORRECTION>
        <EXTERNAL_ID />
        <NAME>C-Text</NAME>
    </PriceComponent>
    ....
</PriceComponentList>
GET /objects/MatrixList/default shows the GET operation for the Matrix list that returns all rate tables (matrices).
Table 5. GET /objects/MatrixList/default
URL
GET http://localhost:8080/matrixx/data/objects/MatrixList/default
Response
<MatrixList>    
    <Matrix>        
        <ID>{Long}</ID>        
        <REVISION>{Long}</REVISION>        
        <CORRECTION>{Long}</CORRECTION>        
        <EXTERNAL_ID>{String}</EXTERNAL_ID> 
        <NAME>{String}</NAME>   
    </Matrix>
    ....
</MatrixList>
Example
<MatrixList>
    <Matrix id='1-0'>
        <ID>1</ID>
        <REVISION>0</REVISION>
        <CORRECTION>6</CORRECTION>
        <EXTERNAL_ID />
        <NAME>Call Charge</NAME>
    </Matrix>
    <Matrix id='2-0'>
        <ID>2</ID>
        <REVISION>0</REVISION>
        <CORRECTION>1</CORRECTION>
        <EXTERNAL_ID />
        <NAME>Call Type</NAME>
    </Matrix>
    <Matrix id='3-0'>
        <ID>3</ID>
        <REVISION>0</REVISION>
        <CORRECTION>1</CORRECTION>
        <EXTERNAL_ID />
        <NAME>Base Charge</NAME>
    </Matrix>
    ....
</MatrixList>