Gets files related information for all or a subset of the documents in the scope:
-
Document name
-
Locales with status information for deliverable
URL
(GET) /persons/{id}
PARAMETERS
The message body contains a JSON object:
|
uid |
Unique Id of person of that we want get informations. |
RESULTS
The message body contains a JSON object:
|
company |
A company objects. |
|
person |
A person objects |
The item company has these properties:
|
id |
Company id. |
|
name |
The company name. |
|
address |
The company address. |
The item person have these properties:
|
id |
Integer. Person id. |
|
firstname |
String. Person firstname. |
|
lastname |
String. Person lastname. |
|
code |
String. Person code. |
|
role |
String. Person role. |
|
phone |
String. Person phone. |
|
phoneMobile |
String. Person phone mobile. |
|
|
String. Person email (null if the person as configured email to private) |
|
emailIsPrivate |
Boolean. True if the person as configured email to private else False. |
|
isActive |
Boolean. if the person is active or not in the platform. |
|
picture |
String. Relative url to access of the person picture. |
|
link |
String. Url to access of the person page. |
|
profile |
String. Person profile. |
|
labels |
An array of label object |
|
workActivities |
An activity object |
|
comments |
String: the person comments. |
The item activity have these properties:
|
standard |
Number of standard task active. |
|
codyt |
Number of codyt task active. |
Each item in labels has these properties:
|
... |
|
|
... |
EXAMPLES
See this example:
{
"company": {
"id": 1,
"name": "Wordbee",
"address": "Wordbee"
},
"person": {
"id": 1,
"firstname": "Claude",
"lastname": "Pont",
"code": "CP",
"role": null,
"phone": "",
"phoneMobile": null,
"email": "user@provider.com",
"emailIsPrivate": false,
"isActive": true,
"picture": "/api/media/persons/1/icon",
"link": "http://xxx/a/devel/Company/Account.aspx?x=xxxxxxxxxx",
"labels": [],
"profile": "Administrator",
"workActivity": {
"standard": 0,
"codyt": 0
},
"comments": "",
"customFields": [{
"type": 1,
"title": "Status",
"value": null
}, {
"type": 2,
"title": "Hobby",
"value": null
}, {
"type": 5,
"title": "Checkbox",
"value": null
}
]
}
}