The Personal RichProfile API allows you - through your website - to access profile information of an Orange France customer. This API allows you to retrieve more customer profile information than the Personal Profile API, new attributes include customer’s photo, office information, interests, and many more. Altogether, about thirty attributes are available via the Personal RichProfile API.
Make sure you are familiar with the Personal APIs privacy management process.
This process protects Orange users by preventing third parties from accessing their personal data without their permission
Replace PersonalRichProfileV1URL in the documentation by the following:
| Environment | Endpoint |
|---|---|
|
Production
|
https://alpha-api.orange.fr/PersonalRichProfile/V1
|
|
Integration
|
https://alpha-api.orange.fr/int/PersonalRichProfile/V1
|
This method retrieves the profile information of an Orange user.
[PersonalRichProfileV1URL]?action=getPersonalRichProfile&infos=[information]&token=[user token]
Parameters details available here >
| Request parameter | Description | ||||
|---|---|---|---|---|---|
|
infos
|
|
||||
|
token
|
|
||||
Response 1: your service requested the firstname, lastname and usertype of an Orange user and the latter has granted access to all the attributes.
Response 2: your service requested the firstname, lastname and usertype of an Orange user but the latter has prevented you from accessing their usertype.
Parameters details available here >
| Response parameter | Description | ||||
|---|---|---|---|---|---|
|
<Firstname>
|
|
||||
|
<Lastname>
|
|
||||
|
<DisplayNme>
|
|
||||
|
<UserEMail>
|
|
||||
|
<Gender>
|
|
||||
|
<DateOfBirth>
|
|
||||
|
<NDP>
|
|
||||
|
<HomePhone>
|
|
||||
|
<MobilePhone>
|
|
||||
|
<OfficeFax>
|
|
||||
|
<OfficeMobileNumber>
|
|
||||
|
<OfficePhone>
|
|
||||
|
<MobileDeviceTac>
|
|
||||
|
<MobileDeviceModel>
|
|
||||
|
<MobileDeviceBrand>
|
|
||||
|
<PreferredLanguage>
|
|
||||
|
<HomeAddress>
|
|
||||
|
<OfficeAddress>
|
|
||||
|
<ProfileModificationDate>
|
|
||||
|
<ProfileCreationDate>
|
|
||||
|
<UserType>
|
|
||||
|
<PictureTagTinyURL>
|
|
||||
|
<PictureTagSmallURL>
|
|
||||
|
<PictureTagLargeURL>
|
|
||||
|
<PictureTagMediumURL>
|
|
||||
|
<CentersOfInterests>
|
|
||||
When an error occurs, the response is in the following format:
The table below describes the error codes that are specific to this API.
Please note that the descriptions given here are high level. If you want detailed error descriptions for certain codes, please contact us at developers@orange.com
| Code | Description |
|---|---|
|
102, 103
|
Error correlated to the user's account
|
|
203, 204, 205, 501, 503, 504, 505, 900
|
Internal error
|
Before getting started, make sure you are familiar with the Personal APIs privacy management process.
The process protects Orange users by preventing third parties from accessing their personal data without their permission
retrieving profile information
Firstly, retrieve a user token using the Authentication API. This user token will be used as the "token" parameter in the Personal Rich Profile API call.
For more information, see how to authenticate user section.
You will then be able to call the following request:
[PersonalRichProfileV1URL]?action=getPersonalRichProfile&infos=Gender,Firstname,Lastname,DateOfBirth,HomeAddress,UserEMail,HomePhone&token=Hjlkzjlfkzef23423kjlkjr
Below is an example of response you could have if the user has already accepted the privacy:
Loading...