POST API/Users/Post

Registers a user with the specified information.

Request Information

URI Parameters

None.

Body Parameters

Open ID user information

OpenIdUserRequestViewModel
NameDescriptionTypeAdditional information
UserId

User ID (Email Address)

string

Required

Password

Password

string

Required

Matching regular expression pattern: ^((?=.*[a-z])(?=.*[A-Z])(?=.*\d)|(?=.*[a-z])(?=.*[A-Z])(?=.*[^A-Za-z0-9])|(?=.*[a-z])(?=.*\d)(?=.*[^A-Za-z0-9])|(?=.*[A-Z])(?=.*\d)(?=.*[^A-Za-z0-9]))([A-Za-z\d@#$%^&*\-_+=[\]{}|\\:',?/`~"();!]|\.(?!@)){8,16}$

UserName

User name

string

Required

Request Formats

application/json

Sample:
{
  "UserId": "sample string 1",
  "Password": "sample string 2",
  "UserName": "sample string 3"
}

text/json

Sample:
{
  "UserId": "sample string 1",
  "Password": "sample string 2",
  "UserName": "sample string 3"
}

application/xml

Sample:
<OpenIdUserRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.OpenIdUser">
  <Password>sample string 2</Password>
  <UserId>sample string 1</UserId>
  <UserName>sample string 3</UserName>
</OpenIdUserRequestViewModel>

text/xml

Sample:
<OpenIdUserRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.OpenIdUser">
  <Password>sample string 2</Password>
  <UserId>sample string 1</UserId>
  <UserName>sample string 3</UserName>
</OpenIdUserRequestViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Registration Result

OpenIdUserViewModel
NameDescriptionTypeAdditional information
UserId

User ID (Email Address)

string

None.

UserName

User Name

string

None.

CreatedDateTime

Date Created

date

None.

OpenId

OpenID

string

None.

Response Formats

application/json

Sample:
{
  "UserId": "sample string 1",
  "UserName": "sample string 2",
  "CreatedDateTime": "2025-01-05T03:30:25.343936+00:00",
  "OpenId": "sample string 3"
}

text/json

Sample:
{
  "UserId": "sample string 1",
  "UserName": "sample string 2",
  "CreatedDateTime": "2025-01-05T03:30:25.343936+00:00",
  "OpenId": "sample string 3"
}

application/xml

Sample:
<OpenIdUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.OpenIdUser">
  <CreatedDateTime>2025-01-05T03:30:25.343936+00:00</CreatedDateTime>
  <OpenId>sample string 3</OpenId>
  <UserId>sample string 1</UserId>
  <UserName>sample string 2</UserName>
</OpenIdUserViewModel>

text/xml

Sample:
<OpenIdUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JP.DataHub.ApiWeb.Models.OpenIdUser">
  <CreatedDateTime>2025-01-05T03:30:25.343936+00:00</CreatedDateTime>
  <OpenId>sample string 3</OpenId>
  <UserId>sample string 1</UserId>
  <UserName>sample string 2</UserName>
</OpenIdUserViewModel>