Difference between revisions of "API/RetailServices/UsersByUserName"

From Emersion
Jump to: navigation, search
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
   
 
   
 
'''Inputs'''
 
'''Inputs'''
  <soapenv:Header/>
+
  <nowiki><soapenv:Header/>
 
   <soapenv:Body>
 
   <soapenv:Body>
 
       <ret:UsersByUserName>
 
       <ret:UsersByUserName>
Line 10: Line 10:
 
       </ret:UsersByUserName>
 
       </ret:UsersByUserName>
 
   </soapenv:Body>
 
   </soapenv:Body>
 
+
</nowiki>
 
'''Output'''
 
'''Output'''
   <SOAP-ENV:Body>
+
   <nowiki><SOAP-ENV:Body>
 
       <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>
   </SOAP-ENV:Body>
+
   </SOAP-ENV:Body></nowiki>
  
  

Latest revision as of 14:48, 27 October 2016

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