- Created by Former user, last modified by Joseph Ioannou (Unlicensed) on Jan 12, 2018
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 3 Current »
Available from CRM.COM R8.0.0
This method returns information related with a User. A single user is returned by each call
Resource URL
Parameters
Name | Type | Description | |||||||||
token | String | The token retrieved from the login method | |||||||||
user_identifier (mandatory) | Identifier | The identifier of the user that should be returned as a result. The allowed user identifier fields are the following:
| |||||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved user |
username | String | The username of the retrieved user |
active | Boolean | Indicates whether the user's account is active or not |
domain | String | The user's domain |
developer | Boolean | Indicates whether the user is a developer or not |
super_user | Boolean | Indicates whether the user is a superuser or not |
system_user | Boolean | Indicates whether the user is a system user or not Available from CRM.COM R15.0.0 |
person_name | String | The user's person name |
cti_enabled | Boolean | Indicates whether the user's account is CTI enabled or not |
cti_phone_extension_number | String | The extension number of the phone device of this user and only if the user's account is CTI enabled |
ip_address | String | The user's IP address |
String | The user's email | |
udf_string_1 | String | User Defined Field of type String |
udf_string_2 | String | User Defined Field of type String |
udf_string_3 | String | User Defined Field of type String |
udf_string_4 | String | User Defined Field of type String |
udf_string_5 | String | User Defined Field of type String |
udf_string_6 | String | User Defined Field of type String |
udf_string_7 | String | User Defined Field of type String |
udf_string_8 | String | User Defined Field of type String |
udf_float_1 | Float | User Defined Field of type Float |
udf_float_2 | Float | User Defined Field of type Float |
udf_float_3 | Float | User Defined Field of type Float |
udf_float_4 | Float | User Defined Field of type Float |
udf_date_1 | Date | User Defined Field of type Date |
udf_date_2 | Date | User Defined Field of type Date |
udf_date_3 | Date | User Defined Field of type Date |
udf_date_4 | Date | User Defined Field of type Date |
contact_information | Contact Information Object | The user's related Contact Information |
Log Information Object | The log information related with the retrieved user | |
security_profile | Security Profile Object | The user's Security Profile |
units_set | Set of User Units Objects | The set of Units to which the user belongs to |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved contact information |
type | String | The type of the retrieved contact information which can be PERSON or COMPANY |
life_cycle_state | String | The lifecycle state of the retrieved contact information which can be MARKETING or FINANCIAL |
name | String | The full name of the retrieved contact information |
first_name | String | The first name of the retrieved contact information |
middle_name | String | The middle name of the retrieved contact information |
last_name | String | The last name of the retrieved contact information |
title | String | The title of the retrieved contact information |
company_name | Sting | The company name of the retrieved contact information |
Demographics Object | The demographics information of the retrieved contact information | |
Company profile object | The company profile of the retrieve contact information |
Referred Objects Response Data
Name | Type | Description |
gender | String | The gender of the retrieved contact information which can be MALE or FEMALE |
id_number | String | The ID number of the retrieved contact information |
id_number_expiration_date | Date | The ID number's expiration date of the retrieved contact information Available from CRM.COM R14.0.0 |
passport_number | String | The passport number of the retrieved contact information |
passport_number_expiration_date | Date | The passport's expiration date of the retrieved contact information Available from CRM.COM R14.0.0 |
social_security_number | String | The social security number of the retrieved contact information |
Date of Birth Object | The date of birth of the retrieved contact information | |
Name Day Object | The name day of the retrieved contact information | |
Country Object | The country of residence of the retrieved contact information | |
Country Object | The ID issued country of retrieved contact information | |
Country Object | The passport issued country of retrieved contact information | |
Industry Object | The industry of retrieved contact information | |
Industry sector Object | The sector of retrieved contact information |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
day | Integer | The day of the retrieved date of birth |
month | Integer | The month of the retrieved date of birth |
year | Integer | The year of the retrieved date of birth |
Name | Type | Description |
---|---|---|
day | Integer | The day of the retrieved name day |
month | Integer | The month of the retrieved name day |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved country |
name | String | The name of the retrieved country |
alternative_code | String | The alternative code of the retrieved country |
dialing_code | String | The dialing code of the retrieved country Available from CRM.COM R15.1.0 |
two_character_code | String | The two character code of the retrieved country |
three_character_code | String | The three character code of the retrieved country |
country_flag | Image Object | The flag of the retrieved country Available from CRM.COM R15.1.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved country flag |
file | File Object | The information of the attached file |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
file_name | String | The name of the file |
file_content_url | String | The url that can be used to access the actual content of the file |
file_mime_type | String | The mime type of the attached file |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry |
name | String | The name of the retrieved industry |
code | String | The code of the retrieved industry |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry sector |
name | String | The name of the retrieved industry sector |
alternative_code | String | The alternative code of the retrieved industry sector |
Name | Type | Description |
profile_year | Number | The profile year of the retrieved contact information |
annual_turnover | Number | The annual turnover of the retrieved contact information |
established_date | Date | The established date of the retrieved contact information |
number_of_employees | Number | The number of employees of the retrieved contact information |
registration_number | String | The registration number of the retrieved contact information |
vat_registration_number | String | The vat registration number of the retrieved contact information |
vat_registered_by | String | The vat registration by of the retrieved contact information |
vat_registration_date | Date | The vat registration date of the retrieved contact information |
tax_reference_number | String | The tax referenece number of the retrieved contact information |
Country Object | The country of residence of the retrieved contact information | |
Industry Object | The industry of retrieved contact information | |
Industry sector Object | The sector of retrieved contact information |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved country |
name | String | The name of the retrieved country |
alternative_code | String | The alternative code of the retrieved country |
dialing_code | String | The dialing code of the retrieved country Available from CRM.COM R15.1.0 |
two_character_code | String | The two character code of the retrieved country |
three_character_code | String | The three character code of the retrieved country |
country_flag | Image Object | The flag of the retrieved country Available from CRM.COM R15.1.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved country flag |
file | File Object | The information of the attached file |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
file_name | String | The name of the file |
file_content_url | String | The url that can be used to access the actual content of the file |
file_mime_type | String | The mime type of the attached file |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry |
name | String | The name of the retrieved industry |
code | String | The code of the retrieved industry |
Name | Type | Description |
---|---|---|
id | String | The id of the retrieved industry sector |
name | String | The name of the retrieved industry sector |
alternative_code | String | The alternative code of the retrieved industry sector |
Name | Type | Description |
created_date | Date | The date that the retrieved record was created |
updated_date | Date | The last date that the retrieved record was updated |
Unit Object | The unit that created the retrieved record From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled Deprecated from CRM.COM R18.0.0 | |
Unit Object | The unit that created the retrieved record From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled Available from CRM.COM R18.0.0 | |
User Object | The user that created the retrieved record From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled | |
Unit Object | The last unit that updated the retrieved record From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled Deprecated from CRM.COM R18.0.0 | |
Unit Object | The last unit that updated the retrieved record Available from CRM.COM R18.0.0 | |
User Object | The last user that updated the retrieved record From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved unit |
name | String | The name of the retrieved unit |
group_name | String | The name of the group that the retrieved unit belongs to |
community_name | String | The name of the community that the retrieved unit belongs to |
alternative_code | String | The alternative code of the retrieved unit |
description | String | The description of the retrieved unit |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved business unit |
name | String | The name of the retrieved business unit |
code | String | The code of the retrieved business unit |
unified_code | String | The unified code of the retrieved business unit |
description | String | The description of the retrieved business unit |
parent_business_unit_name | String | The name of the parent business unit that the retrieved business unit belongs to |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved user |
username | String | The user name of the retrieved user |
person_name | String | The full name of the retrieved user |
String | The email of the retrieved user |
Name | Type | Description |
---|---|---|
id | String | The id of the security profile |
name | String | The name of the retrieved security profile |
description | String | The description of the retrieved security profile |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved user unit |
default | Boolean | Identifies if the retrieved user unit is the default unit for that user or not |
Unit Object | The description of the retrieved unit Deprecated from CRM.COM R18.0.0 | |
Business Unit Object | The description of the retrieved business unit Available from CRM.COM R18.0.0 |
Referred Objects Response Data
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved unit |
name | String | The name of the retrieved unit |
group_name | String | The name of the group that the retrieved unit belongs to |
community_name | String | The name of the community that the retrieved unit belongs to |
alternative_code | String | The alternative code of the retrieved unit |
description | String | The description of the retrieved unit |
Name | Type | Description |
---|---|---|
id | String | The ID of the retrieved business unit |
name | String | The name of the retrieved business unit |
code | String | The code of the retrieved business unit |
unified_code | String | The unified code of the retrieved business unit |
description | String | The description of the retrieved business unit |
parent_business_unit_name | String | The name of the parent business unit that the retrieved business unit belongs to |
Examples
HTTP Method: GET
Request:
Response:
{ "status": { "message": "", "description": "", "code": "OK" }, "data": { "cti_phone_extension_number": "1351351", "domain": "crm.com", "active": true, "udf_float_1": null, "udf_float_2": null, "udf_float_3": null, "udf_float_4": null, "developer": true, "udf_string_1": null, "udf_string_2": null, "contact_information": { "last_name": "Lannister", "middle_name": null, "life_cycle_state": "FINANCIAL", "company_profile": null, "title": "Mr", "first_name": "Marios", "type": "PERSON", "name": "Lannister Marios", "id": "F60EF6A65658F86B3DFADA3809BD85C4", "company_name": null, "demographics": { "gender": "MALE", "passport_issued_by_country": null, "social_security_number": null, "passport_number": null, "industry_sector": null, "country_of_residence": { "three_character_code": "CMR", "two_character_code": "CM", "id": "164", "name": "CAMEROON", "alternative_code": null }, "name_day": { "month": 5, "day": 1 }, "date_of_birth": { "month": 5, "day": 1, "year": 1963 }, "id_number": "593664", "industry": null, "id_issued_by_country": { "three_character_code": "CYP", "two_character_code": "CY", "id": "181", "name": "CYPRUS", "alternative_code": null } } }, "udf_string_3": null, "udf_string_4": null, "super_user": true, "udf_string_5": null, "udf_string_6": null, "udf_string_7": null, "units_set": [ { "default": false, "unit": { "community_name": "Internal Community", "id": "6F5406E9B7ED04E9A37320C0BF1CF858", "name": "Vehicle Operators SB2", "group_name": "Sales Branch 2", "description": null, "alternative_code": "VOSB2" }, "id": "1B82B407A9534C1EA571FE363957D248" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "1A73F4569FFA76E1C657C73C41D1FDB0", "name": "Call Operators SB1", "group_name": "Sales Branch 1", "description": null, "alternative_code": "COSB1" }, "id": "2321B5FAA0DE4C6491B7BF17CBFAF0C1" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "A4E5BE88FC1C57D96E8E78F5BCCC22FE", "name": "Installation Team 1", "group_name": "Nicosia", "description": null, "alternative_code": "IT1" }, "id": "E8FA42BC877949C9A97BACCF615632B6" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "E0A073A1B2E6E3EA67C9D10539984F61", "name": "Operators SB2", "group_name": "Sales Branch 2", "description": null, "alternative_code": "OSB2" }, "id": "F5AD08D0F4CB4EC6BCCC20BA308608DE" }, { "default": true, "unit": { "community_name": "Internal Community", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "name": "Admin Unit", "group_name": "Main Group", "description": "r1 Test Description for resource request tab.Test Description for resource request tab.", "alternative_code": "MG" }, "id": "1" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "1795ACB6244178C2D150C247C553927C", "name": "Team Leaders SB2", "group_name": "Sales Branch 2", "description": null, "alternative_code": "TLSB2" }, "id": "CD76373EF9C94682837DB86624159C80" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "5D14BC340AE9EA3DF44EA8A6FC85DF55", "name": "Team Leaders FG", "group_name": "Finance Group", "description": null, "alternative_code": "TLFG" }, "id": "7CA2C89551F144DBB1602CC2ED8566D6" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "38DF81795D0609C774AA2B9ABFD4C081", "name": "Operators AG", "group_name": "Admin Group", "description": null, "alternative_code": "OAG" }, "id": "C557AA6A7AE642C9A8DF3296BF82AED8" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "4677F5B24AC600DF7476F003DA185FAE", "name": "Operators SB1", "group_name": "Sales Branch 1", "description": null, "alternative_code": "OSB1" }, "id": "28F02A22A34B466AB8390DC97ED7E771" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "B7D80173820BC82969C457490B24D7AE", "name": "Operators MG", "group_name": "Managers Group", "description": null, "alternative_code": "OMG" }, "id": "00371C68F7E24C5CAB36FCB66B8D0790" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "F6F1100A8A406EA107437A1EAC606D44", "name": "Call Operators SB2", "group_name": "Sales Branch 2", "description": null, "alternative_code": "COSB2" }, "id": "335A709AFA8C48BFAE108CA762745120" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "3C3F783D316D68AD55EFAC92810C2FE8", "name": "Operators FG", "group_name": "Finance Group", "description": null, "alternative_code": "OFG" }, "id": "F59D165CC69043D9AB0B6ED1E8B2D5F4" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "121F5DC8A9B89F9AF47EEDBBC6CEC062", "name": "Team Leaders MG", "group_name": "Managers Group", "description": null, "alternative_code": "TLMG" }, "id": "11698895CB48403FAEF00946EBC578FB" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "A058654A5282570BE8568BFCE36EED7C", "name": "Installation Team 2", "group_name": "Nicosia", "description": null, "alternative_code": "IT2" }, "id": "69C3A9DCB6454DAC85CFF4B14FEF6F9B" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "3ACCF03FDAC4A1E8210C9FC245CE71B6", "name": "Team Leaders SMG", "group_name": "Sales Manager Group", "description": null, "alternative_code": "TLSMG" }, "id": "5B06341970314496B24C87718DEDEE78" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "E8DAE159413FCD179984F6F0F2DEB833", "name": "Team Leaders AG", "group_name": "Admin Group", "description": null, "alternative_code": "TLAG" }, "id": "6C5342B6CA05423F84D39FF15DC8C69C" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "63D3B281BC143375076C0773DBB1581D", "name": "Team Leaders SB1", "group_name": "Sales Branch 1", "description": null, "alternative_code": "TLSB1" }, "id": "0DFEF23064DE42F0A437084293ED9C37" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "0CB56EE4B70A3052B5AE02A36FA61772", "name": "Vehicle Operators SB1", "group_name": "Sales Branch 1", "description": null, "alternative_code": "VOSB1" }, "id": "F3158ED13A9C4D988E6050E53E6AD383" }, { "default": false, "unit": { "community_name": "Internal Community", "id": "D2995BB6CB6A73C7E67EDC9841F77072", "name": "Operators SMG", "group_name": "Sales Manager Group", "description": null, "alternative_code": "OSMG" }, "id": "634ECCC060124B0697B87F6E6F356241" } ], "udf_string_8": null, "username": "MPAdministrator", "cti_enabled": true, "id": "1", "email": "sakkascy1986@hotmail.com", "ip_address": null, "udf_date_1": null, "udf_date_2": null, "security_profile": { "id": "0C61DE1F3012D926A31BC22A7D804EC9", "name": "Administrators", "description": "Administrators security profile" }, "udf_date_3": null, "udf_date_4": null, "log_information": { "updated_date": "2015-09-10T16:34:41", "created_date": "2013-06-10T12:28:19", "created_by_unit": null, "updated_by_unit": { "community_name": "Internal Community", "id": "48305F8849E3C18B227C5BE3A27BA6DF", "name": "Admin Unit", "group_name": "Main Group", "description": "r1 Test Description for resource request tab.Test Description for resource request tab.", "alternative_code": "MG" }, "created_by_user": { "person_name": "Marios Lannister", "username": "MPAdministrator", "id": "1", "email": "sakkascy1986@hotmail.com" }, "updated_by_user": { "person_name": "Marios Lannister", "username": "MPAdministrator", "id": "1", "email": "sakkascy1986@hotmail.com" } }, "person_name": "Marios Lannister" } }
- No labels