Project

General

Profile

Provisioning Management » History » Revision 2

Revision 1 (Eric Vieillevigne, 05/12/2015 03:03 PM) → Revision 2/26 (Eric Vieillevigne, 05/12/2015 03:13 PM)

{{>toc}} 

 h1. Provisioning Management 

 Provisionning Management allows a thirdParty Application to create, update, delete an account of FamilyWall, Set the member profile right, set member premium type and select/update the services enable for such user.  

 h2. Search User - _provsearch_ 

 This method returns the accountId of a Valid user by Identifiers (email, login or MSISDN) 

 By sending an HTTP request http://devserver/api/prov/search?identifier=test@gmaiol.com 

 *Parameters*: 

 |*Name*|*Type*|*Description*| 
 |email|String|Email identifier| 
 |MSISDN|String|internationalized 10 digits number| 
 |login|String|login of a valid account| 

 *Response*: 
 <pre><code class="javascript"> 
 { 
   "a01":{ 
     "r":{ 
       "r":"12345" 
     }, 
     "cn":"provsearch" 
   } 
 } 
 </code></pre> 
 The Method response is a *Long* which represents the _AccountId_ of the account searched.  

 In case, the method encounter any error, the response is an exception with specific parameters detailed below. 

 *Error*: 

 |*Error Code*|*Type*|*Value*|*Description*| 
 |FizApiAccIdentifierInvalidException |Ex|21|User does not exist|