POST API/Users

指定されたユーザー情報でユーザーを登録します。

Request Information

URI Parameters

None.

Body Parameters

ユーザー情報

OpenIdUserRequestViewModel
NameDescriptionTypeAdditional information
UserId

ユーザーID(電子メールアドレス)

string

Required

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

表示名

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

登録結果

OpenIdUserViewModel
NameDescriptionTypeAdditional information
UserId

ユーザーID(電子メールアドレス)

string

None.

UserName

表示名

string

None.

CreatedDateTime

作成日時

date

None.

Response Formats

application/json

Sample:
{
  "UserId": "sample string 1",
  "UserName": "sample string 2",
  "CreatedDateTime": "2020-09-24T12:18:35.1231188+00:00"
}

text/json

Sample:
{
  "UserId": "sample string 1",
  "UserName": "sample string 2",
  "CreatedDateTime": "2020-09-24T12:18:35.1231188+00:00"
}

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>2020-09-24T12:18:35.1231188+00:00</CreatedDateTime>
  <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>2020-09-24T12:18:35.1231188+00:00</CreatedDateTime>
  <UserId>sample string 1</UserId>
  <UserName>sample string 2</UserName>
</OpenIdUserViewModel>