Add details for a user

Learn about the AllocateUserDetailsForService endpoint in the ExternalUser collection.

This API lets you add details for an existing end user.

API request

Sample

POST {{ServerURL}}/api/ExternalUser/AllocateUserDetailsForService

Body

{
"serviceName": "John Doe",
"serviceUserId": 23422543
}

Parameters

Parameter
Description

serviceName

Name of the user.

serviceUserId

Unique identifier of the user.

API response

Sample

{
    "result": {
        "foreign_ID": "21e7c4df-3c26-40a4-b931-c08be6def207",
        "service_Name": "John Doe",
        "language": "English",
        "last_active": "2024-11-23T15:24:54.465Z"
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}

Attributes

Attribute
Description

id

Unique identifier for the user

userId

An identifying label for the user, for reference

foreign_ID

An alternate identifying label for the user, if available, for reference

service_Name

Name of the user

language

Language used by the user when interacting with the platform

last_session_id

Unique identifier of the user's last interaction session with the platform.

last_active

Exact time and date of the user's last interaction with the platform.

Last updated

Was this helpful?