| POST | /users | Create a new External User |
|---|
"use strict";
export class CreateUserResponse {
/** @param {{userId?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description Unique Identifier of the User created in Booster */
userId;
}
export class CreateUser {
/** @param {{email?:string,firstName?:string,lastName?:string,culture?:string,countryId?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description User E-mail */
email;
/**
* @type {string}
* @description User First Name */
firstName;
/**
* @type {string}
* @description User Last Name */
lastName;
/**
* @type {string}
* @description User Culture */
culture;
/**
* @type {string}
* @description Country Id */
countryId;
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /users HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"email":"String","firstName":"String","lastName":"String","culture":"String","countryId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"userId":"00000000000000000000000000000000"}