Retrieve user profile

URL

https://api.foxdox.de/user/profile

Method

POST

Parameter

userName (String)The user name

Return

IsTrusted (boolean)

Flag, if the identity of the user is confirmed.

Address (String)

Street house number, etc.

CellPhone (String)

The telephone number of the mobile phone.

City (String)

City

CompanyName (String)

Company

Country (String)

Country/Region

EmailAddress (String)

E-mail address

FirstName (String)

First name

LastName (String)

Last name

Province (String)

State/Region etc.

Telephone (String)

The phone number

ZipCode (String)

Zip/Postal Code

UserName (String)

User name

About (String)

A short descriptive text of the person.

Birthday (String)

Date of birth

ContactStatus (Integer)

The contact status of the found user:

0 = No contact, no open request,

1 = Contact confirmed,

2 = Waiting for confirmation,

3 = found user is waiting for confirmation

Title (Integer)

The title of the user (0 = Not specified, 1 = Ms, 2 = Mr, 3 = Company)

SID (String)

SID of the user

Status (Integer)

see Status codes

StatusMsg (String)

Localized description of the error

Error (Integer)

see Error codes

POST https://api.foxdox.de/user/profile HTTP/1.1
Host: api.foxdox.de
Connection: keep-alive
Content-Length: 20
Content-Type: application/x-www-form-urlencoded
X-DEVID: [...]
X-APPID: [...]
X-APPVER: 0.1
X-LANG: de
X-TOKEN: [...]
 
username=m.mustermann

Answer

{
        "UserName": "m.mustermann",
        "Title": 2,
        "IsTrusted": false,
        "EmailAddress":"m.mustermann@contoso.de",
        "Telephone": "+49 1234 56789-11",
        "CellPhone": "+49 123 88994578",
        "CompanyName": "Contoso GmbH",
        "FirstName": "Max",
        "LastName": "Mustermann",
        "Address": "Sample street no. 5",
        "ZipCode": "12345",
        "City": "Sample city",
        "Province": "Sample state",
        "Country": "276",
        "Birthday": "Wed, 09 Jan 1980 00:00:00 GMT",
        "About":"I am Max. And I save my documents in foxdox!",
        "ContactStatus": 2,
        "SID": "U-9798d789-253f-4817-89ea-c98b4cc36127",
        "Status" :200,
        "StatusMsg": "",
        "Error": 0
}