Submit Registration

Registration is used to establish a member's account for the first time. This endpoint will create the user's login credentials to access WellVia's apps and portals.


Request

POST /user/v1/member/registration

Query Parameters


No parameters

Payload Properties


MemberId boolean: required

The unique identifier assigned to the member by WellVia or the client.


LastName string: required

The last name of the member as it appears in WellVia's system.


DateOfBirth date: required

The member's date of birth.


EmailAddress string: required

The member's email address.


PhoneNumber string: optional

The member's mobile phone number.


Password string: required

The member's chosen password.


Example


curl -XPOST 'https://platform.wellviasolutions.com/user/v1/member/registration' \
    -u 'Bearer:{your_token}'
    -d 'MemberId=abc123'
    -d 'LastName=Doe'
    -d 'DateOfBirth=05/12/1972'
    -d 'PhoneNumber='
    -d 'Password=myC0mpl3Xcrd2@'
POST https://platform.wellviasolutions.com/user/v1/member/registration HTTP/1.1

{
    "MemberId": "abc123",
    "LastName": "Doe",
    "DateOfBirth": "05/12/1972",
    "EmailAddress": "[email protected]",
    "PhoneNumber": null,
    "Password": "myC0mpl3Xcrd2@"
}
using WellViaSDK.Member;
using WellViaSDK.Core.Dictionaries;

// Config and credentials outlined in earlier examples
var _memClient = new WellViaMemberServiceClient(config, credentials);

var regRequest = new RegistrationCreate(memberId: "abc123", lastName: "Doe", dateOfBirth: "05/12/1972", emailAddress: "[email protected]", phoneNumber: null, password: "myC0mpl3Xcrd2@");
var regResult = await _memClient.RegistrationAsync(request: regRequest);

Response


A Registration object if a valid request was provided.