Billing
This page lists the optional parameters, request data and reponse in xml
Retrieve reseller groups [HTTP GET]
https://appapi.dlangemobile.com/xml/billing/{api_key}/resellergroups
URL Parameters
- api_key (Required) - Your API application key.
Example XML Response
<ResellerGroups>
<ResellerGroup>
<ID>3</ID>
<Name>Group 1</Name>
<ClientCount>6</ClientCount>
</ResellerGroup>
<ResellerGroup>
<ID>3</ID>
<Name>Group 2</Name>
<ClientCount>8</ClientCount>
</ResellerGroup>
</ResellerGroups>
Error Codes
- 406 - client_username, group_name and subgroup_name are applicable only to reseller with grouping enabled.
Retrieve reseller subgroups [HTTP GET]
https://appapi.dlangemobile.com/xml/billing/{api_key}/resellergroups?reseller_group_id={reseller_group_id}
URL Parameters
- api_key (Required) - Your API application key.
- reseller_group_id - ID of the reseller group.
Example XML Response
<ResellerSubGroups>
<ResellerSubGroup>
<ID>3</ID>
<GroupID>3</GroupID>
<Name>Subgroup 1</Name>
<ClientCount>6</ClientCount>
</ResellerSubGroup>
<ResellerSubGroup>
<ID>3</ID>
<GroupID>3</GroupID>
<Name>Subgroup 2</Name>
<ClientCount>8</ClientCount>
</ResellerSubGroup>
</ResellerSubGroups>
Error Codes
- 406 - client_username, group_name and subgroup_name are applicable only to reseller with grouping enabled.
Retrieve reseller clients [HTTP GET]
https://appapi.dlangemobile.com/xml/billing/{api_key}/resellergroupclients?group_id={group_id}&subgroup_id={subgroup_id}
URL Parameters
- api_key (Required) - Your API application key.
- group_id (Required) - ID of the reseller group.
- subgroup_id (Optional) - ID of the reseller subgroup.
Example XML Response
<Clients>
<Client>
<APIKey>43242342342342342342c4c</APIKey>
<Username>client1</Username>
<Name>Client 1</Name>
</Client>
<Client>
<APIKey>3453f53453f5343f453</APIKey>
<Username>client2</Username>
<Name>Client 2</Name>
</Client>
</Clients>
Error Codes
- 405 - Group name required.
- 406 - client_username, group_name and subgroup_name are applicable only to reseller with grouping enabled.
- 407 - reseller_group_id is invalid.