Project

General

Profile

Provisioning Management » History » Version 2

Eric Vieillevigne, 05/12/2015 03:13 PM

1 1 Eric Vieillevigne
{{>toc}}
2
3
h1. Provisioning Management
4 2 Eric Vieillevigne
5
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. 
6
7
h2. Search User - _provsearch_
8
9
This method returns the accountId of a Valid user by Identifiers (email, login or MSISDN)
10
11
By sending an HTTP request http://devserver/api/prov/search?identifier=test@gmaiol.com
12
13
*Parameters*:
14
15
|*Name*|*Type*|*Description*|
16
|email|String|Email identifier|
17
|MSISDN|String|internationalized 10 digits number|
18
|login|String|login of a valid account|
19
20
*Response*:
21
<pre><code class="javascript">
22
{
23
  "a01":{
24
    "r":{
25
      "r":"12345"
26
    },
27
    "cn":"provsearch"
28
  }
29
}
30
</code></pre>
31
The Method response is a *Long* which represents the _AccountId_ of the account searched. 
32
33
In case, the method encounter any error, the response is an exception with specific parameters detailed below.
34
35
*Error*:
36
37
|*Error Code*|*Type*|*Value*|*Description*|
38
|FizApiAccIdentifierInvalidException |Ex|21|User does not exist|