POST api/User/Me

Persists/updates the information in the model to the current user's profile.

Request Information

URI Parameters

None.

Body Parameters

Trifolia.Web.Models.Account.UserProfile
NameDescriptionTypeAdditional information
UserName

string

None.

FirstName

string

None.

LastName

string

None.

Phone

string

None.

Email

string

None.

OkayToContact

boolean

None.

Organization

string

None.

OrganizationType

string

None.

AuthToken

string

None.

OpenIdConfigUrl

string

None.

UMLSApiKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Phone": "sample string 4",
  "Email": "sample string 5",
  "OkayToContact": true,
  "Organization": "sample string 7",
  "OrganizationType": "sample string 8",
  "AuthToken": "sample string 9",
  "OpenIdConfigUrl": "sample string 10",
  "UMLSApiKey": "sample string 11"
}

application/xml, text/xml

Sample:
<UserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trifolia.Web.Models.Account">
  <AuthToken>sample string 9</AuthToken>
  <Email>sample string 5</Email>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <OkayToContact>true</OkayToContact>
  <OpenIdConfigUrl>sample string 10</OpenIdConfigUrl>
  <Organization>sample string 7</Organization>
  <OrganizationType>sample string 8</OrganizationType>
  <Phone>sample string 4</Phone>
  <UMLSApiKey>sample string 11</UMLSApiKey>
  <UserName>sample string 1</UserName>
</UserProfile>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.

URI parameters
=
Headers | Add header
: Delete
Body
Samples:
Status
Headers
Body