Create User

Introduction

This endpoint handles the workflow orchestration between the integration services (such as Auth0, Gigya, SSOR, and Firefly) and Subscribe Registration API to create a user.

Comparison

Note:

  1. The old model is in PascalCase, while the new model is in CamelCase.

  2. Cookie tokens will not be returned by the UsersOrchestrator API.

  3. For custom fields, use Metadata.

User API
Users Orchestrator API

URL

/User

/v4/Users

Method

POST

POST

Request

Response


Create User

POST /v4/Users

This endpoint is used to create a user.

Note: The parameters marked with an asterisk (*) are mandatory and must be included in the input model.

Headers

Name
Type
Description

Authorization*

String

JSON Web Token used for security purposes

X-SourceSystem*

String

To identify the consumer or the Source System

X-ClientCode*

String

Client Code of the Tenant

X-PaperCode*

String

Paper Code of the Tenant

X-ClientGroupCode*

String

Client Group Code of the Tenant

Request Body

Name
Type
Description

Email

String

Subscriber’s email.

Metadata

Object

Metadata must be an object in camelCase format.

LastName

String

Subscriber’s last name.

FirstName

String

Subscriber’s first name.

IgnoreProvider

Boolean

If the IgnoreProvider flag is false, it executes a Create operation through the ThirdParty system (Integration).

If the IgnoreProvider flag is true, it executes a Create operation through the SubscribeRegistration API (Subscribe).

ReturnUrl

String

URL to which users must be redirected after they have successfully verified their registration.

VerifyEmail

Boolean

Default false.

If True is provided, then the registration will not be created right away. Naviga would wait until the user confirmed the registration by clicking the link in the verification email.

Password

String

Subscriber’s password.

EncryptedCustomerRegistrationid

String

Encrypted unique identifier for the user in authentication system.

CustomerRegistrationId

String

Unique identifier for the user in the authentication provider

{
  "message":{
      "code": "UsersOrchestrator_S200_06",
      "text": "Create completed.",
      "type": "Success"
  },
  "data": {
      "customerRegistrationId": "string",
      "encryptedCustomerRegistrationId": "string"     
  }
}

Events

Note:– The associated Event IDs for the Event Type Codes are specified in parentheses (i.e., EventTypeCode (EventID)) in the table below.

Current
New
Note

GETUSER (73)

AUTHSYSTEM_USER_GET (4601)

Renamed.

This event retrieves a User by Id from AuthSystem.

CREATELOGIN (68)

  • AUTHSYSTEM_USER_CREATE (4602)

  • SUBSCRIBE_USER_CREATE (4002)

  • For each CREATELOGIN old event, we now create two events. One is for the call to the third-party system, and the other is for the call to our database.

  • SUBSCRIBE_USER_CREATE is responsible for sending the email.

Last updated

Logo

COPYRIGHT © 2024 NAVIGA