Retrieving Information of an Additional Service

The get operation is used to retrieve information of a custom option of service plans (additional service).

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet retrieving information about additional services includes the get operation node:

<packet version="1.6.3.1">
<plan-item>
   <get>
   ...
   </get>
</plan-item>
</packet>

 

The get node does not have a separate data type, it is nested within the complex type (plan_item.xsd). The get node has the following graphics representation:

getInput

 

Response Packet Structure

The get node of the output XML packet is structured as follows:

getOutput

 

Samples

This packet retrieves information of an additional service plan-item.

<packet>
<plan-item>
   <get>
      <filter>
         <name>plan-item</name>
      </filter>
   </get>
</plan-item>
</packet>

Response:

<packet>
<plan-item>
   <get>
      <result>
         <status>ok</status>
         <name>plan-item</name>
         <uuid>5f3ddf7f-5cca-02ab-7a61-fd8eb662a9eb</uuid>
         <class>Plan_Item_Custom</class>
         <visible>true</visible>
         <applicable-to>
            <subscription>true</subscription>
            <site>true</site>
            <email>true</email>
         </applicable-to>
         <label>Additional Service</label>
         <tooltip>Additional service description.</tooltip>
         <url>http://domain.com</url>
         <internal>true</internal>
         <url-components>
            <dom-id>true</dom-id>
            <dom-name>true</dom-name>
            <ftp-user>true</ftp-user>
            <ftp-pass>true</ftp-pass>
            <cl-id>false</cl-id>
            <cname>false</cname>
            <pname>false</pname>
            <email>false</email>
         </url-components>
         <image-http-path>filename.png</image-http-path>
      </result>
   </get>
</plan-item>
</packet>