Skip to content

getUserDetailsByAdminAPIKey ​

Retrieves a single User's profile including some connection-related info given a valid UserId and API Key

Request ​

http
GET /rest/company/admin/profiles/single

Headers ​

HeaderRequiredDescription
x-nextinteract-company-api-keyYesAdmin-specific API key UUID provided to company

Parameters ​

Possible query parameters : Request must only pass "one" of the parameters below otherwise an error is thrown:

ParameterTypeRequiredDescription
userIdNumberNoUserId of a connection's user profile to retrieve.
emailString[255]NoEmail Address of a connection's user profile to retrieve.
externalIdString[50]NoExternalId of a connection's Contact record relating to the profile to retrieve. More for enabling V1 VEEVA integration.

Response ​

200 OK ​

json
{
    "user": {
        "fieldsToNull": [],
        "uTitleId": null,
        "uTitle": null,
        "uGenderCode": null,
        "uGenderName": null,
        "uEmail": "aaron.mcmullen@hypermedia.com.au",
        "uFirstName": "Joe",
        "uLastName": "Bloggs",
        "uCountryCode": null,
        "uCountryName": null,
        "uPrimaryMobile": null,
        "uDateOfBirth": null,
        "uInterests": null,
        "uDietaryRequirements": null,
        "uPhoto": null,
        "uEnableLocation": "N",
        "uEnableNotifications": "N",
        "uAllowAllEmails": "Y",
        "uAllowNewsletterEmail": "Y",
        "uProfessionId": null,
        "uProfessionName": null,
        "uSpecialtyId": null,
        "uSpecialtyName": null,
        "uOtherTitle": null,
        "uOtherProfession": null,
        "uOtherSpecialty": null,
        "uFacebookId": null,
        "uTwitterId": null,
        "uLinkedinId": null,
        "uLinkedinUrl": null,
        "uTimezoneId": null,
        "addresses": [],
        "uIdentifiers": [],
        "uId": 8
    },
    "connectionStatus": {
        "userId": 8,
        "externalId": null,
        "inviteStatusCode": "A",
        "inviteStatusName": "Accepted",
        "dInvited": 1533235880000,
        "dExpires": null,
        "dAccepted": null,
        "dRejected": null,
        "dCancelled": null
    }
}

Errors ​

ExceptionDescription
WSInvalidParameterExceptionSee Error Definitions
WSRecordNotFoundExceptionSee Error Definitions
WSCompanyApiKeyNotActiveExceptionSee Error Definitions
WSCompanyNotActiveExceptionSee Error Definitions
WSUserNotFoundExceptionSee Error Definitions
WSUserNotActiveExceptionSee Error Definitions
WSConnectionStatusNotActiveExceptionSee Error Definitions
WSAdminAPIServiceExceptionSee Error Definitions
WSIncorrectApiKeyTypeExceptionSee Error Definitions