Difference between revisions of "API/RetailServices/UsersByUserName"

From Emersion
Jump to: navigation, search
Line 15: Line 15:
 
       <ns1:UsersByUserNameResponse>
 
       <ns1:UsersByUserNameResponse>
 
         <ns1:ComplexUser>
 
         <ns1:ComplexUser>
  <ns1:account_id>1</ns1:account_id>
+
    <ns1:account_id>1</ns1:account_id>
  <ns1:service_id>1</ns1:>
+
    <ns1:service_id>1</ns1:>
  <ns1:service_subscription_id>1</ns1:service_subscription_id>
+
    <ns1:service_subscription_id>1</ns1:service_subscription_id>
  <ns1:account_name>1</ns1:account_name>
+
    <ns1:account_name>1</ns1:account_name>
  <ns1:fnn>1</ns1:fnn>
+
    <ns1:fnn>1</ns1:fnn>
  <ns1:username>1</ns1:username>
+
    <ns1:username>1</ns1:username>
  <ns1:password>1</ns1:password>
+
    <ns1:password>1</ns1:password>
  <ns1:reply_attributes>1</ns1:reply_attributes>
+
    <ns1:reply_attributes>1</ns1:reply_attributes>
  <ns1:ip_address>1</ns1:ip_address>
+
    <ns1:ip_address>1</ns1:ip_address>
  <ns1:framed_route>1</ns1:framed_route>
+
    <ns1:framed_route>1</ns1:framed_route>
  <ns1:shaping_attributes>1</ns1:shaping_attributes>
+
    <ns1:shaping_attributes>1</ns1:shaping_attributes>
  <ns1:service_name>1</ns1:service_name>
+
    <ns1:service_name>1</ns1:service_name>
  <ns1:total_period_upload_data>1</ns1:total_period_upload_data>
+
    <ns1:total_period_upload_data>1</ns1:total_period_upload_data>
  <ns1:total_period_download_data>1</ns1:total_period_download_data>
+
    <ns1:total_period_download_data>1</ns1:total_period_download_data>
  <ns1:total_allowance>1</ns1:total_allowance>
+
    <ns1:total_allowance>1</ns1:total_allowance>
  <ns1:usage_period_start>1</ns1:usage_period_start>
+
    <ns1:usage_period_start>1</ns1:usage_period_start>
  <ns1:usage_period_end>1</ns1:usage_period_end>
+
    <ns1:usage_period_end>1</ns1:usage_period_end>
 
</ns1:ComplexUser>
 
</ns1:ComplexUser>
 
       </ns1:UsersByUserNameResponse>
 
       </ns1:UsersByUserNameResponse>

Revision as of 17:58, 10 September 2014

Purpose

The UsersByUserName function allows you get RADIUS information about a particular user.

Inputs

<soapenv:Header/>
  <soapenv:Body>
     <ret:UsersByUserName>
     <ret:username>name</ret:username>
     </ret:UsersByUserName>
  </soapenv:Body>	

Output

 <SOAP-ENV:Body>
     <ns1:UsersByUserNameResponse>
        <ns1:ComplexUser>

<ns1:account_id>1</ns1:account_id> <ns1:service_id>1</ns1:> <ns1:service_subscription_id>1</ns1:service_subscription_id> <ns1:account_name>1</ns1:account_name> <ns1:fnn>1</ns1:fnn> <ns1:username>1</ns1:username> <ns1:password>1</ns1:password> <ns1:reply_attributes>1</ns1:reply_attributes> <ns1:ip_address>1</ns1:ip_address> <ns1:framed_route>1</ns1:framed_route> <ns1:shaping_attributes>1</ns1:shaping_attributes> <ns1:service_name>1</ns1:service_name> <ns1:total_period_upload_data>1</ns1:total_period_upload_data> <ns1:total_period_download_data>1</ns1:total_period_download_data> <ns1:total_allowance>1</ns1:total_allowance> <ns1:usage_period_start>1</ns1:usage_period_start> <ns1:usage_period_end>1</ns1:usage_period_end> </ns1:ComplexUser>

     </ns1:UsersByUserNameResponse>
  </SOAP-ENV:Body>


Error String

205. Invalid or Missing account id

206. Invalid or Missing username

207. Records not found '. $username