Appearance
getEstimatedUserMetadata
Returns user taxonomy data known by the SAM system about the authenticated user (if anything) and return the information to the caller. NOTE: user taxonomies are internal "guestimated" values about a user that we INTERACT manage so we know who's who without users needing to have entered the info into their user profile.
See link for further details: https://docs.google.com/document/d/11alwVD_i64tv-Cy8J7SCYEZ_J9JjQwG94MWAbKREG40/edit#heading=h.dqrj1oc1tdts
Request
http
GET /rest/user/estimatedMetadataHeaders
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Response
200 OK
Example 1
json
{
"countryCode":”AU”,
"professionId":1,
"specialtyId":4
}json
{
"countryCode":null,
"professionId":1,
"specialtyId":null
}Response Fields
| Field | Type | Description |
|---|---|---|
countryCode | String | Guesstimated ISO country code from users taxonomy data in SAM. If nothing can be ‘guessed’ returns null. Code is that from SAM /rest/refdata/countries API. |
professionId | Number | Guesstimated Profession ID from users taxonomy data in SAM. If nothing can be ‘guessed’ returns null. Code is that from SAM /rest/refdata/professions API. |
specialtyId | Number | Guesstimated Specialty ID from users taxonomy data in SAM. If nothing can be ‘guessed’ returns null. Code is that from SAM /rest/refdata/specialties API. |
Errors
| Exception | Description |
|---|---|
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSTaxonomyServiceException | See Error Definitions |