GET API/Users?userId={userId}

指定されたユーザーID(メールアドレス)のユーザー情報を返します。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

ユーザーID

string

Required

Body Parameters

None.

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": "2019-11-22T10:45:57.2503426+00:00"
}

text/json

Sample:
{
  "UserId": "sample string 1",
  "UserName": "sample string 2",
  "CreatedDateTime": "2019-11-22T10:45:57.2503426+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>2019-11-22T10:45:57.2503426+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>2019-11-22T10:45:57.2503426+00:00</CreatedDateTime>
  <UserId>sample string 1</UserId>
  <UserName>sample string 2</UserName>
</OpenIdUserViewModel>