GET api/Person/{id}
Fast method to get person by id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiPersonName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
first_name | string |
None. |
|
middle_name | string |
None. |
|
last_name | string |
None. |
|
string |
None. |
||
gender | integer |
None. |
|
last_activity | date |
None. |
|
last_login | date |
None. |
|
phone | string |
None. |
|
outer_id | string |
None. |
|
is_disabled | boolean |
None. |
|
pwd | string |
None. |
|
permission | ApiPersonPermission |
None. |
|
orgboardPositions | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "first_name": "sample string 2", "middle_name": "sample string 3", "last_name": "sample string 4", "email": "sample string 5", "gender": 1, "last_activity": "2024-11-16T05:05:29.6692305+00:00", "last_login": "2024-11-16T05:05:29.6692305+00:00", "phone": "sample string 6", "outer_id": "sample string 7", "is_disabled": true, "pwd": "sample string 9", "permission": { "owner": true }, "orgboardPositions": {} }
application/xml, text/xml
Sample:
<ApiPerson xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <first_name>sample string 2</first_name> <middle_name>sample string 3</middle_name> <last_name>sample string 4</last_name> <email>sample string 5</email> <gender>1</gender> <last_activity>2024-11-16T05:05:29.6692305+00:00</last_activity> <last_login>2024-11-16T05:05:29.6692305+00:00</last_login> <phone>sample string 6</phone> <outer_id>sample string 7</outer_id> <is_disabled>true</is_disabled> <pwd>sample string 9</pwd> <permission> <owner>true</owner> </permission> <orgboardPositions /> </ApiPerson>